Enumeration policy for external devices incompatible with Kernel DMA Protection
Supported on: At least Windows Server 2016, Windows 10
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection |
|---|
| Option | Value | Type | Allowed values |
|---|---|---|---|
| Enumeration policy | DeviceEnumerationPolicy | 0 (REG_DWORD) = Block all 1 (REG_DWORD) = Only while logged in (default) 2 (REG_DWORD) = Allow all |
What it does (vendor explanation)
Enumeration policy for external DMA-capable devices incompatible with DMA remapping. This policy only takes effect when Kernel DMA Protection is enabled and supported by the system. Note: this policy does not apply to 1394, PCMCIA or ExpressCard devices.
Group Policy path: Computer Configuration > Administrative Templates > System > Kernel DMA Protection > Enumeration policy for external devices incompatible with Kernel DMA Protection
PowerShell equivalent (generated from the template)
# Enumeration policy
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -Value 0 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".