Phantom files?
July 23, 2008 12:43 PM Subscribe
Windows Server 2003 - Best way to see what files (and their locations) disk quotas are counting against a user?
I am running a 30 user 2003 domain using roaming profiles and 2GB disk quotas with XP Pro. All are working well except one user.
For some reason quota entries claim that she has 4GB used in her profile, but I cannot find what the quotas are talking about. Her profile is around 200MB, same on the server. I've searched through the server to find these files (music files from a year ago when the profiles was first started - all were erased from server and station) but I haven't found anything.
My question... What's the best way to list the files quotas are seeing?
There may be something obvious here I'm missing, but I'm a Linux man working with 2003 and nothing I can find online mentions how to list the files attributed to a user in quotas.
I am running a 30 user 2003 domain using roaming profiles and 2GB disk quotas with XP Pro. All are working well except one user.
For some reason quota entries claim that she has 4GB used in her profile, but I cannot find what the quotas are talking about. Her profile is around 200MB, same on the server. I've searched through the server to find these files (music files from a year ago when the profiles was first started - all were erased from server and station) but I haven't found anything.
My question... What's the best way to list the files quotas are seeing?
There may be something obvious here I'm missing, but I'm a Linux man working with 2003 and nothing I can find online mentions how to list the files attributed to a user in quotas.
Best answer: If you prefer the command-line, try something like this in powershell:
PS C:\>get-childitem -recurse | get-acl | where {$_.Owner -match "Your_Username"}
Quotas are based on the files 'owner' so the files could be in any folder on the disk where the user has permission to create files.
posted by Lanark at 2:02 PM on July 23, 2008
PS C:\>get-childitem -recurse | get-acl | where {$_.Owner -match "Your_Username"}
Quotas are based on the files 'owner' so the files could be in any folder on the disk where the user has permission to create files.
posted by Lanark at 2:02 PM on July 23, 2008
Also, in case you don't have R2, Spacemonger is pretty great. Although that website is not.
posted by tracert at 2:11 PM on July 23, 2008
posted by tracert at 2:11 PM on July 23, 2008
Response by poster: unfortunately, not R2 and no need to upgrade. Spacemonger is a seriously cool program but it's not what I'm after.
Powershell did the trick, and well. Thank you.
posted by dozo at 6:35 PM on July 23, 2008
Powershell did the trick, and well. Thank you.
posted by dozo at 6:35 PM on July 23, 2008
This thread is closed to new comments.
posted by tracert at 1:42 PM on July 23, 2008