Implementing Disk Quotas

Disk Quotas can be configured from the command line or through scripts using the Fsutil administrative command-line tool. In the previous article Disk Quotas we have seen how configure disk quotas using the GUI. Windows 7 rich feature set of command-line utilities include the quota functionality within Fsutil and can be used as follows:

To display quota information about the C: volume at the command prompt, type:

Fsutil quota query C:

To enable disk quotas on the C: volume at the command prompt, type:

Fsutil quota track C:

To disable disk quotas on the C: volume at the command prompt, type:

Fsutil quota disable C:

To enforce disk quota limit, which causes Windows to deny access disk access if a quota is exceeded at the command prompt, type:

Fsutil quota enforce C:

For example, to create a limit of about 5GB for user george and set a warning threshold at about 3GB at the command prompt, type:

Fsutil quota modify C: 3000000000 5000000000 computer\george

Note that quotas never apply to fixed or removable media unless they are formatted with NTFS.

In Active Directory DS domain environment, Disk Quotas are best implemented using Group Policies. The policy settings are located at Computer Configuration\Administrative Templates\System\Disk Quotas. The settings available are the same as those found in the command line utility with additional logging features and a removable media option!

Share