既定のクォータ制限および警告レベルを指定する のレジストリ値 Limit ほか 3 件コンピューターHKLM\Software\Policies\Microsoft\Windows NT\DiskQuota

ポリシー ID
DQ_Limit
適用対象
コンピューターの構成
サポートされるバージョン
Windows 2000 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
システム › ディスク クォータ

レジストリ

Limit

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
値
値の種類
REG_DWORD
クライアント拡張機能
{3610eda5-77ef-11d2-8dc5-00c04fa31a66}
必須
true
最大値
1000
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください
"Limit"=dword:<値を入力>
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "Limit" /t REG_DWORD /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

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 '<値を入力>' -Force | Out-Null

LimitUnits

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
単位
オプション
項目保存される値
KB1
MB2
GB3
TB4
PB5
EB6
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 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
:: 選択項目 (1 つだけ使用)

:: 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
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 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_DWORDコンピューター
有効時の値
オプションの値に依存
要素
値
値の種類
REG_DWORD
クライアント拡張機能
{3610eda5-77ef-11d2-8dc5-00c04fa31a66}
必須
true
最大値
1000
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください
"Threshold"=dword:<値を入力>
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

reg add "HKLM\Software\Policies\Microsoft\Windows NT\DiskQuota" /v "Threshold" /t REG_DWORD /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

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 '<値を入力>' -Force | Out-Null

ThresholdUnits

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
単位
オプション
項目保存される値
KB1
MB2
GB3
TB4
PB5
EB6
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 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
:: 選択項目 (1 つだけ使用)

:: 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
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DiskQuota' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 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