Spécifier la limite de quota et niveau d’avertissement par défaut : valeur de Registre Limit et 3 autresOrdinateurHKLM\Software\Policies\Microsoft\Windows NT\DiskQuota

ID de stratégie
DQ_Limit
Étendue
Configuration ordinateur
Pris en charge sur
Au minimum Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Système › Quotas de disque

Registre

Limit

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Valeur
Type de valeur
REG_DWORD
Extension cliente
{3610eda5-77ef-11d2-8dc5-00c04fa31a66}
Obligatoire
true
Valeur maximale
1000
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DiskQuota]

; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données
"Limit"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données

reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "Limit" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'Limit' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null

LimitUnits

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Unités
Options
EntréeValeur stockée
Ko1
Mo2
Go3
To4
Po5
Eo6
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DiskQuota]

; Options (en utiliser une seule)
; Ko
"LimitUnits"=dword:00000001
; Mo
"LimitUnits"=dword:00000002
; Go
"LimitUnits"=dword:00000003
; To
"LimitUnits"=dword:00000004
; Po
"LimitUnits"=dword:00000005
; Eo
"LimitUnits"=dword:00000006
CMD
:: Options (en utiliser une seule)

:: Ko
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 1 /f
:: Mo
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 2 /f
:: Go
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 3 /f
:: To
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 4 /f
:: Po
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 5 /f
:: Eo
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 6 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null

# Options (en utiliser une seule)
# Ko
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 1 -Force | Out-Null
# Mo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 2 -Force | Out-Null
# Go
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 3 -Force | Out-Null
# To
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 4 -Force | Out-Null
# Po
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 5 -Force | Out-Null
# Eo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 6 -Force | Out-Null

Threshold

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Valeur
Type de valeur
REG_DWORD
Extension cliente
{3610eda5-77ef-11d2-8dc5-00c04fa31a66}
Obligatoire
true
Valeur maximale
1000
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DiskQuota]

; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données
"Threshold"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données

reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "Threshold" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'Threshold' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null

ThresholdUnits

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Unités
Options
EntréeValeur stockée
Ko1
Mo2
Go3
To4
Po5
Eo6
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DiskQuota]

; Options (en utiliser une seule)
; Ko
"ThresholdUnits"=dword:00000001
; Mo
"ThresholdUnits"=dword:00000002
; Go
"ThresholdUnits"=dword:00000003
; To
"ThresholdUnits"=dword:00000004
; Po
"ThresholdUnits"=dword:00000005
; Eo
"ThresholdUnits"=dword:00000006
CMD
:: Options (en utiliser une seule)

:: Ko
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 1 /f
:: Mo
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 2 /f
:: Go
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 3 /f
:: To
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 4 /f
:: Po
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 5 /f
:: Eo
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 6 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null

# Options (en utiliser une seule)
# Ko
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 1 -Force | Out-Null
# Mo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 2 -Force | Out-Null
# Go
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 3 -Force | Out-Null
# To
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 4 -Force | Out-Null
# Po
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 5 -Force | Out-Null
# Eo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 6 -Force | Out-Null