Find All Files Owned By A User – Windows Server 2003

If you have quotas enabled on a Windows file server, you may need to locate where all the files a user owns are to work out why their quota just keeps going up and up (and up)…

FSUtil in Windows Server 2003 can do just that (and a lot more). Use the following syntax to find all files owned by a specific user:
fsutil file findbysid <userid> <path>

Userid can be the user’s windows login and the path should be the base directory, it will recurse through sub-directories. Script it up a little and you can get a decent report of quota usage by path.

There is a whole bunch of file server administrative tasks that can be scripted using FSUtil. Very, very good.

Also, this tool (delybown.exe) looks cool, though i haven’t tried it but if it works as advertised would definitely be useful.

Tags: ,

Leave a Reply