Friday, February 26, 2010

How to Limit Folder Size (Windows 2003 Server)

You have shared folders in a server that you don't want users to abuse the usage of them by storing huge files like mp3, jpeg, etc that will end up with a hang server because of low disk space. Don't worry, we can limit folder size in Windows 2003 Server R2 Standard and Enterprise.
We need a tool called FSRM (File Server Resource Manager). This Microsoft tool will allow you to set folder size quotas amongst other file server related controls, and has options for alerting and reporting too.

FSRM was introduced with Server 2003 SP2, but not installed by default. How to install:
1. Start>Control Panel>Add or Remove Program
2. Click Add/Remove Windows Program
3. Select Management and Monitoring Tools. Click Details.
4. Click File Server Management and File Server Resource Manager. On installing it we need to copy files from the original CD.

How to set the quota:
1. Start>Administrative Tools>File Server Resource Manager
2. Under Quota Management>Quota right click and select Create Quota.
3. Define the path that is going to be limited and define the quota size.

That's all folks!
Naughty users will get message that no more space if the files in corresponding folder has exceeded the quota.