カーネル DMA 保護と互換性のない外部デバイスの列挙ポリシー のレジストリ値 DeviceEnumerationPolicyコンピューターHKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection
- ポリシー ID
- DmaGuardEnumerationPolicy
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Server 2016 以降または Windows 10 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- システム › カーネル DMA 保護
レジストリ
DeviceEnumerationPolicy
REG_DWORDコンピューター- 有効時の値
- オプションの値に依存
- 要素
- 列挙ポリシー
| 項目 | 保存される値 |
|---|---|
| すべて禁止 | 0 |
| ログイン状態のときのみ (既定) | 1 |
| すべて許可する | 2 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Kernel DMA Protection] ; 選択項目 (1 つだけ使用) ; すべて禁止 "DeviceEnumerationPolicy"=dword:00000000 ; ログイン状態のときのみ (既定) "DeviceEnumerationPolicy"=dword:00000001 ; すべて許可する "DeviceEnumerationPolicy"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: すべて禁止 reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 0 /f :: ログイン状態のときのみ (既定) reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 1 /f :: すべて許可する reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Force | Out-Null # 選択項目 (1 つだけ使用) # すべて禁止 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 0 -Force | Out-Null # ログイン状態のときのみ (既定) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 1 -Force | Out-Null # すべて許可する New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 2 -Force | Out-Null