Criteri di enumerazione per dispositivi esterni incompatibili con Protezione DMA kernel: valore del Registro di sistema DeviceEnumerationPolicyComputerHKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection
- ID criterio
- DmaGuardEnumerationPolicy
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Server 2016 o Windows 10
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › Protezione DMA kernel
Registro
DeviceEnumerationPolicy
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Criteri di enumerazione
| Voce | Valore memorizzato |
|---|---|
| Blocca tutto | 0 |
| Solo durante l'accesso (impostazione predefinita) | 1 |
| Consenti tutto | 2 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Kernel DMA Protection] ; Opzioni (usarne solo una) ; Blocca tutto "DeviceEnumerationPolicy"=dword:00000000 ; Solo durante l'accesso (impostazione predefinita) "DeviceEnumerationPolicy"=dword:00000001 ; Consenti tutto "DeviceEnumerationPolicy"=dword:00000002
CMD
:: Opzioni (usarne solo una) :: Blocca tutto reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 0 /f :: Solo durante l'accesso (impostazione predefinita) reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 1 /f :: Consenti tutto reg add "HKLM\Software\Policies\Microsoft\Windows\Kernel DMA Protection" /v "DeviceEnumerationPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Force | Out-Null # Opzioni (usarne solo una) # Blocca tutto New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 0 -Force | Out-Null # Solo durante l'accesso (impostazione predefinita) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 1 -Force | Out-Null # Consenti tutto New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Kernel DMA Protection' -Name 'DeviceEnumerationPolicy' -PropertyType DWord -Value 2 -Force | Out-Null