Aufzählungsrichtlinie für externe Geräte, die nicht Kernel-DMA-Schutz kompatibel sind: Registrierungswert DeviceEnumerationPolicyComputerHKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection

Richtlinien-ID
DmaGuardEnumerationPolicy
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016, Windows 10
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › Kernel-DMA-Schutz

Registrierung

DeviceEnumerationPolicy

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Aufzählungsrichtlinie
Optionen
EintragGespeicherter Wert
Alle blockieren0
Nur solange anmeldet (Standard)1
Alle zulassen2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; Alle blockieren
"DeviceEnumerationPolicy"=dword:00000000
; Nur solange anmeldet (Standard)
"DeviceEnumerationPolicy"=dword:00000001
; Alle zulassen
"DeviceEnumerationPolicy"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Alle blockieren
reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 0 /f
:: Nur solange anmeldet (Standard)
reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 1 /f
:: Alle zulassen
reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Force | Out-Null

# Optionen (nur eine verwenden)
# Alle blockieren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# Nur solange anmeldet (Standard)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Alle zulassen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 2 -Force | Out-Null