Increase Disk Quota with Script/Batch file

 Problem Description : 

To modify the quotas of several users within a script or batch file.

 

 

 Resolution : 

To modify the disk quota for several users by using a script or batch file use the following command:

 

fsutil quota modify volume: warning_bytes limit_bytes username

 

The command must be executed from the server or by using psexec.

 

volume: - volume to modify, usually D:

warning_bytes - byte to issue quota warning at. 

limit_bytes - quota in bytes. 250MB = 262144000, e.g. 250*1024*1024

username - user to modify

 

 

 Revision Date : 7/1/2008

 

 

 

 Keywords : Disk