Standarddatenträgerkontingent und Warnstufe festlegen: Registrierungswert Limit und 3 weitereComputerHKLM\Software\Policies\Microsoft\Windows NT\DiskQuota

Richtlinien-ID
DQ_Limit
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows 2000
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › Datenträgerkontingente

Registrierung

Limit

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Wert
Werttyp
REG_DWORD
Clienterweiterung
{3610eda5-77ef-11d2-8dc5-00c04fa31a66}
Erforderlich
true
Höchstwert
1000
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten
"Limit"=dword:<Wert eingeben>
CMD
:: Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "Limit" /t REG_DWORD /d "<Wert eingeben>" /f
PowerShell
# Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

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 '<Wert eingeben>' -Force | Out-Null

LimitUnits

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Einheit
Optionen
EintragGespeicherter Wert
KB1
MB2
GB3
TB4
PB5
EB6
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; KB
"LimitUnits"=dword:00000001
; MB
"LimitUnits"=dword:00000002
; GB
"LimitUnits"=dword:00000003
; TB
"LimitUnits"=dword:00000004
; PB
"LimitUnits"=dword:00000005
; EB
"LimitUnits"=dword:00000006
CMD
:: Optionen (nur eine verwenden)

:: KB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 1 /f
:: MB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 2 /f
:: GB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 3 /f
:: TB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 4 /f
:: PB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 5 /f
:: EB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "LimitUnits" /t REG_DWORD /d 6 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null

# Optionen (nur eine verwenden)
# KB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 1 -Force | Out-Null
# MB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 2 -Force | Out-Null
# GB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 3 -Force | Out-Null
# TB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 4 -Force | Out-Null
# PB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 5 -Force | Out-Null
# EB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'LimitUnits' -PropertyType DWord -Value 6 -Force | Out-Null

Threshold

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Wert
Werttyp
REG_DWORD
Clienterweiterung
{3610eda5-77ef-11d2-8dc5-00c04fa31a66}
Erforderlich
true
Höchstwert
1000
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten
"Threshold"=dword:<Wert eingeben>
CMD
:: Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "Threshold" /t REG_DWORD /d "<Wert eingeben>" /f
PowerShell
# Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

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 '<Wert eingeben>' -Force | Out-Null

ThresholdUnits

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Einheit
Optionen
EintragGespeicherter Wert
KB1
MB2
GB3
TB4
PB5
EB6
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; KB
"ThresholdUnits"=dword:00000001
; MB
"ThresholdUnits"=dword:00000002
; GB
"ThresholdUnits"=dword:00000003
; TB
"ThresholdUnits"=dword:00000004
; PB
"ThresholdUnits"=dword:00000005
; EB
"ThresholdUnits"=dword:00000006
CMD
:: Optionen (nur eine verwenden)

:: KB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 1 /f
:: MB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 2 /f
:: GB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 3 /f
:: TB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 4 /f
:: PB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 5 /f
:: EB
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "ThresholdUnits" /t REG_DWORD /d 6 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null

# Optionen (nur eine verwenden)
# KB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 1 -Force | Out-Null
# MB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 2 -Force | Out-Null
# GB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 3 -Force | Out-Null
# TB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 4 -Force | Out-Null
# PB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 5 -Force | Out-Null
# EB
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Name 'ThresholdUnits' -PropertyType DWord -Value 6 -Force | Out-Null