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.
Enforcing disk quota limits is optional. When users reach an enforced disk quota limit, the system responds as though the physical space on the volume were exhausted. When users reach an unenforced limit, their status in the Quota Entries window changes, but they can continue to write to the volume as long as physical space is available.
This tutorial will show you how to enable or disable enforcing
disk quota limits 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 enforcing disk quota limits
CONTENTS:
- Option One: Enable or Disable Enforce Disk Quota Limits for Specific NTFS Drive in Drive Properties
- Option Two: Enable or Disable Enforce Disk Quota Limits for Specific NTFS Drive in Command Prompt
- Option Three: Enable or Disable Enforce Disk Quota Limits for All NTFS Drives in Local Group Policy Editor
- Option Four: Enable or Disable Enforce Disk Quota Limits for All NTFS Drives using a BAT file
EXAMPLE: "Enforced disk quota limit reached" and "Quota Entries"
OPTION ONE
Enable or Disable Enforce Disk Quota Limits for Specific NTFS Drive in Drive Properties
1. If you haven't already, you will need to first
enable disk quotas for the NTFS drive (ex: "G") you want to enable or disable enforcing disk quota limits on.
2. Open
This PC in File Explorer (Win+E).
3. Right click or press and hold on the NTFS drive (ex: "G") you want to enable or disable disk enforcing disk quota limits for, and click/tap on
Properties. (see screenshot below)
4. Click/tap on the
Quota tab, and click/tap on the
Show Quota Settings button. (see screenshot below)
5. Check (enable) or uncheck (disable) the
Deny disk space to users exceeding quota limit box for what you want, and click/tap on
OK. (see screenshot below)
6. Click/tap on
OK. (see screenshot below
step 4)
7. You may also want to:
OPTION TWO
Enable or Disable Enforce Disk Quota Limits for Specific NTFS Drive in Command Prompt
1. If you haven't already, you will need to first
enable disk quotas for the drive (ex: "G") you want to enable or disable enforcing disk quota limits on.
2. Open an
elevated command prompt.
3. Do
step 4 (enable) or
step 5 (disable) below for what you want to do.
4. To Enable Enforce Disk Quota Limits for Specific NTFS Drive
A) Type the command below into the elevated command prompt, press
Enter, and go to
step 6 below. (see screenshots below)
fsutil quota enforce <drive letter>:
Note
Substitute <drive letter> in the command above for the the actual drive letter (ex: "G") of the NTFS volume you want to enable enforcing disk quota limits for.
For example: fsutil quota enforce G:
5. To Disable Disk Quotas and Enforce Disk Quota Limits 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 6 below. (see screenshots below)
fsutil quota disable <drive letter>:
Note
Substitute <drive letter> in the command above for the the actual drive letter (ex: "G") of the NTFS volume you want to disable enforcing disk quota limits for.
For example: fsutil quota disable G:
6. You can now close the elevated command prompt.
7. You may also want to:
OPTION THREE
Enable or Disable Enforce Disk Quota Limits for All NTFS Drives in Local Group Policy Editor
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. If you haven't already, you will need to first
enable disk quotas for all NTFS drives to be able to enable enforcing disk quota limits on them.
2. Open the
Local Group Policy Editor.
3. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)
Computer Configuration\Administrative Templates\System\Disk Quotas
4. In the right pane of
Disk Quotas in Local Group Policy Editor, double click/tap on the
Enforce disk quota limit policy to edit it. (see screenshot above)
5. Do
step 6 (enable),
step 7 (disable), or
step 8 (not configured) below for what you would like to do.
6. To Enable Enforce Disk Quota Limits for All NTFS Drives
Note
A) Select (dot)
Enabled, click/tap on
OK, and go to
step 9 below. (see screenshot below
step 8)
7. To Disable Enforce Disk Quota Limits for All NTFS Drives
Note
A) Select (dot)
Disabled, click/tap on
OK, and go to
step 9 below. (see screenshot below
step 7)
8. To Set Enforce Disk Quota Limit Policy to Not Configured
Note
This is the default setting.
If you do not configure this policy setting, the disk quota limit is not enforced by default, but administrators can change the setting using
Option One or
Option Two.
A) Select (dot)
Not Configured, click/tap on
OK, and go to
step 9 below. (see screenshot below
step 7)
9. When finished, you can close the Local Group Policy Editor if you like.
10. You may also want to:
OPTION FOUR
Enable or Disable Disk Quotas for All NTFS Drives using a BAT file
Note
The downloadable .bat files below will change the registry key and value below.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DiskQuota
Enforce 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 Enforce Disk Quota Limits for All NTFS Drives
Note
A) Click/tap on the Download button below to download the BAT file below, and go to
step 5 below.
Enable_enforce_Disk_Quota_limits_for_all_NTFS_volumes.bat
Download
3. To Disable Enforce Disk Quota Limits for All NTFS Drives
Note
A) Click/tap on the Download button below to download the BAT file below, and go to
step 5 below.
Disable_enforce_Disk_Quota_limits_for_all_NTFS_volumes.bat
Download
4. To Set Enforce Disk Quota Limit Policy to Not Configured
Note
This is the default setting.
If you do not configure this policy setting, the disk quota limit is not enforced by default, but administrators can change the setting 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_enforce_Disk_Quota_limits_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.
9. You may also want to:
That's it,
Shawn