1.

Solve : Quota - Windows Server 2003?

Answer» <html><body><p>On a Windows Server 2003 machine that I am administering, some employees have ceased using the system. In the <a href="https://interviewquestions.tuteehub.com/tag/quota-611693" style="font-weight:bold;" target="_blank" title="Click to know more about QUOTA">QUOTA</a> entries for the hard drive on the server, it states that a user has a total of 1.09GB of files on the server.<br/><br/>In their My Documents folder, they have 500MB of files. The rest of their files are spread over the server in many folders.<br/><br/>Is there and easy way in which I can find all the folders and files owned by the user on the server and remove them?Hi,<br/><br/>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)…<br/><br/>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:<br/>fsutil file findbysid <br/><br/>Userid can be the user’s windows login and the <a href="https://interviewquestions.tuteehub.com/tag/path-11833" style="font-weight:bold;" target="_blank" title="Click to know more about PATH">PATH</a> should be the base directory, it will recurse through sub-directories. Script it up a little and you can get a decent <a href="https://interviewquestions.tuteehub.com/tag/report-25448" style="font-weight:bold;" target="_blank" title="Click to know more about REPORT">REPORT</a> of quota usage by path.<br/><br/>There is a whole bunch of file server administrative tasks that can be scripted using FSUtil. Very, very good.<br/><br/><a href="https://interviewquestions.tuteehub.com/tag/also-373387" style="font-weight:bold;" target="_blank" title="Click to know more about ALSO">ALSO</a> There's a small utility that searches based on owner or SID at http://www.grimadmin.com/staticpages/index.php/file-owner  and lets you export what it finds to a comma-separated text file... It is an exact match for your requirement but you need to delete them manually..<br/><br/>Also, <a href="http://www.beyondlogic.org/solutions/delbyowner/delbyowner.htm">this <a href="https://interviewquestions.tuteehub.com/tag/tool-25818" style="font-weight:bold;" target="_blank" title="Click to know more about TOOL">TOOL</a></a> (delybown.exe) looks cool, though i haven’t tried it but if it works as advertised would definitely be useful.<br/><br/><br/>Regards,</p></body></html>


Discussion

No Comment Found