Published by


Brink's Avatar
Administrator

Posts: 33,168

Show Printable Version 


information   Information
Disk quotas track and control disk space usage for NTFS file system volumes, allowing administrators to control the amount of data that each user can store on a specific NTFS volume. Administrators can optionally configure the system to log an event when users are near their quota, and to deny further disk space to users who exceed their quota. Administrators can also generate reports, and use the event monitor to track quota issues.

This tutorial will show you how to enable or disable disk quotas for specific or all NTFS volumes in Windows 7, Windows 8, and Windows 10.

You must be signed in as an administrator to enable or disable disk quotas.

CONTENTS:
  • Option One: Enable or Disable Disk Quotas for Specific NTFS Drive in Drive Properties
  • Option Two: Enable or Disable Disk Quotas for Specific NTFS Drive in Command Prompt
  • Option Three: Enable or Disable Disk Quotas for All NTFS Drives in Local Group Policy Editor
  • Option Four: Enable or Disable Disk Quotas for All NTFS Drives using a BAT file





Enable or Disable Disk Quotas in Windows OPTION ONE Enable or Disable Disk Quotas in Windows
Enable or Disable Disk Quotas for Specific NTFS Drive in Drive Properties

1. Open This PC in File Explorer (Win+E).

2. Right click or press and hold on the NTFS drive (ex: "G") you want to enable or disable disk quotas for, and click/tap on Properties. (see screenshot below)

Name:  Enable_Disk_Quota-1.jpg
Views: 844
Size:  55.4 KB

3. Click/tap on the Quota tab, and click/tap on the Show Quota Settings button. (see screenshot below)

Name:  Enable_Disk_Quota-2.png
Views: 847
Size:  22.4 KB

4. Do step 5 (enable) or step 6 (disable) below for what you want to do.


 5. To Enable Disk Quotas for this Drive

A) Check the Enable disk quota management box, and click/tap on OK. (see screenshot below)

Name:  Enable_Disk_Quota-3.png
Views: 837
Size:  26.0 KB

B) Click/tap on OK to confirm. (see screenshot below)

Name:  Enable_Disk_Quota-4.png
Views: 831
Size:  16.3 KB

C) You may also want to:

D) Click/tap on OK. (see screenshot below step 3)


 6. To Disable Disk Quotas for this Drive

NOTE: This is the default setting.

A) Uncheck the Enable disk quota management box, and click/tap on OK. (see screenshot below)

Name:  Enable_Disk_Quota-5.png
Views: 828
Size:  25.2 KB

B) Click/tap on OK to confirm. (see screenshot below)

Name:  Enable_Disk_Quota-6.png
Views: 834
Size:  15.9 KB

C) Click/tap on OK. (see screenshot below step 3)






Enable or Disable Disk Quotas in Windows OPTION TWO Enable or Disable Disk Quotas in Windows
Enable or Disable Disk Quotas for Specific NTFS Drive in Command Prompt

1. Open an elevated command prompt.

2. Do step 3 (enable) or step 4 (disable) below for what you want to do.


 3. To Enable Disk Quotas for Specific NTFS Drive

A) Type the command below into the elevated command prompt, press Enter, and go to step 5 below. (see screenshots below)

fsutil quota track <drive letter>:

Note   Note
Substitute <drive letter> in the command above for the the actual drive letter (ex: "G") of the NTFS volume you want to enable disk quotas for.

For example: fsutil quota track G:
Name:  Enable_Disk_Quota-command.png
Views: 822
Size:  8.3 KB


 4. To Disable Disk Quotas for Specific NTFS Drive

NOTE: This is the default setting.

A) Type the command below into the elevated command prompt, press Enter, and go to step 5 below. (see screenshots below)

fsutil quota disable <drive letter>:

Note   Note
Substitute <drive letter> in the command above for the the actual drive letter (ex: "G") of the NTFS volume you want to disable disk quotas for.

For example: fsutil quota disable G:
Name:  Disable_Disk_Quota-command.png
Views: 821
Size:  8.4 KB

5. You can now close the elevated command prompt.

6. If you enabled disk quotas, then you may also want to:






Enable or Disable Disk Quotas in Windows OPTION THREE Enable or Disable Disk Quotas in Windows
Enable or Disable Disk Quotas for All NTFS Drives in Local Group Policy Editor

Note   Note
In Windows 7, the Local Group Policy Editor will only be available in the Professional, Ultimate, and Enterprise editions.

In Windows 8, the Local Group Policy Editor will only be available in the Pro and Enterprise editions.

In Windows 10, the Local Group Policy Editor will only be available in the Pro, Enterprise, and Education editions.

All editions can use Option Four below to set this same policy.

1. Open the Local Group Policy Editor.

2. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)

Computer Configuration\Administrative Templates\System\Disk Quotas

Name:  Enable_Disk_Quota_gpedit-1.jpg
Views: 850
Size:  79.9 KB

3. In the right pane of Disk Quotas in Local Group Policy Editor, double click/tap on the Enable disk quotas policy to edit it. (see screenshot above)

4. Do step 5 (enable), step 6 (disable), or step 7 (not configured) below for what you would like to do.


 5. To Enable Disk Quotas for All NTFS Drives

Note   Note
If you enable this policy setting, disk quota management is turned on, and users cannot turn it off using Option One or Option Two.


 6. To Disable Disk Quotas for All NTFS Drives

Note   Note
If you disable the policy setting, disk quota management is turned off, and users cannot turn it on using Option One or Option Two.

A) Select (dot) Disabled, click/tap on OK, and go to step 8 below. (see screenshot below step 7)


 7. To Set Disk Quotas Policy to Not Configured

Note   Note
This is the default setting.

If this policy setting is not configured, disk quota management is turned off by default, but administrators can turn it on using Option One or Option Two.

A) Select (dot) Not Configured, click/tap on OK, and go to step 8 below. (see screenshot below step 7)

Name:  Enable_Disk_Quota_gpedit-2.jpg
Views: 899
Size:  105.8 KB

8. When finished, you can close the Local Group Policy Editor if you like.






Enable or Disable Disk Quotas in Windows OPTION FOUR Enable or Disable Disk Quotas in Windows
Enable or Disable Disk Quotas for All NTFS Drives using a BAT file

Note   Note
The downloadable .bat files below will change the registry key and value below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DiskQuota

Enable DWORD

(delete) = Not Configured (Default)
0 = Disabled
1 = Enabled

1. Do step 2 (enable), step 3 (disable), or step 4 (not configured) below for what you would like to do.


 2. To Enable Disk Quotas for All NTFS Drives

Note   Note
If you enable this policy setting, disk quota management is turned on, and users cannot turn it off using Option One or Option Two.


 3. To Disable Disk Quotas for All NTFS Drives

Note   Note
If you disable the policy setting, disk quota management is turned off, and users cannot turn it on using Option One or Option Two.

A) Click/tap on the Download button below to download the BAT file below, and go to step 5 below.

Disable_Disk_Quota_for_all_NTFS_volumes.bat

download


 4. To Set Disk Quotas Policy to Not Configured

Note   Note
This is the default setting.

If this policy setting is not configured, disk quota management is turned off by default, but administrators can turn it on using Option One or Option Two.

A) Click/tap on the Download button below to download the BAT file below, and go to step 5 below.

Not_Configured_Disk_Quota_for_all_NTFS_volumes.bat

download

5. Save the .bat file to your desktop.

6. Unblock the .bat file.

7. Right click or press and hold on the downloaded .bat file, and click/tap on Run as administrator.

8. You will now see a command prompt open, apply the registry changes, update group policy, and automatically close.


That's it,
Shawn