How to check the Kernel DMA protection status with Powershell or CMD

Rodolfo Pena Cedeno 26 Reputation points

Good Afternoon guys,

I trust this messages finds you very well.

I need to user a script to identify the devices that are compatible with Kernel DMA Protection so that i could use another script to activate this fonctionality.

I am noob with powershell/cmd, and I havent been able to get the DMA status with Powershell even if it is possible to see it with the System Information tool:

Kernel DMA Protection in System Info


Nevertheless, when I use powershell to check the status:

Get-ComputerInfo | Select-Object -ExpandProperty DeviceGuardAvailableSecurityProperties

BaseVirtualizationSupport DMAProtection SecureMemoryOverwrite 5 6 7 8

I just cant find the property right value so that i could verify if Kernel DMA PRotection is available or not.

Can you please help me with this guys?

Thank you and best regards,


Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,431 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Michael Taylor 49,871 Reputation points

    It's possible but not simple. Refer to this Github link that provides the PS code you need to do it. Read the remarks to ensure you understand what the differences are between what you might see in the UI and what you get via the script.

    2 people found this answer helpful.
    0 comments No comments