Inventarisatiebeleid voor externe apparaten die niet compatibel zijn met kernel-DMA-beveiliging: registerwaarde DeviceEnumerationPolicyComputerHKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection

Beleids-ID
DmaGuardEnumerationPolicy
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows Server 2016, Windows 10
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Systeem › Kernel-DMA-beveiliging

Register

DeviceEnumerationPolicy

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Inventarisatiebeleid
Opties
ItemOpgeslagen waarde
Alles blokkeren0
Alleen wanneer u bent aangemeld (standaard)1
Alles toestaan2
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Kernel DMA Protection]

; Opties (gebruik er maar één)
; Alles blokkeren
"DeviceEnumerationPolicy"=dword:00000000
; Alleen wanneer u bent aangemeld (standaard)
"DeviceEnumerationPolicy"=dword:00000001
; Alles toestaan
"DeviceEnumerationPolicy"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Alles blokkeren
reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 0 /f
:: Alleen wanneer u bent aangemeld (standaard)
reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 1 /f
:: Alles toestaan
reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Force | Out-Null

# Opties (gebruik er maar één)
# Alles blokkeren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# Alleen wanneer u bent aangemeld (standaard)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Alles toestaan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 2 -Force | Out-Null