Turn On Virtualization Based Security
Computer Configuration > Administrative Templates > System > Device Guard
VirtualizationBasedSecurity DeviceGuard.admx Windows 11 25H2 3.0 Registry
| Key (computer) | HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard |
|---|---|
| Value name | EnableVirtualizationBasedSecurity |
| Supported on | At least Windows Server 2016, Windows 10 |
| Namespace | Microsoft.Windows.DeviceGuard |
Options
Option Value written Type and range Default Select Platform Security Level: RequirePlatformSecurityFeatures 1 Secure Boot3 Secure Boot and DMA Protection
3 Virtualization Based Protection of Code Integrity: HypervisorEnforcedCodeIntegrity 0 Disabled1 Enabled with UEFI lock2 Enabled without lock3 Not Configured
3 Require UEFI Memory Attributes Table HVCIMATRequired on / off none Credential Guard Configuration: LsaCfgFlags 0 Disabled1 Enabled with UEFI lock2 Enabled without lock3 Not Configured
3 Machine Identity Isolation Configuration: MachineIdentityIsolation 0 Disabled1 Enabled in audit mode2 Enabled in enforcement mode3 Not Configured
3 Secure Launch Configuration: ConfigureSystemGuardLaunch 0 Not Configured1 Enabled2 Disabled
2 Kernel-mode Hardware-enforced Stack Protection: ConfigureKernelShadowStacksLaunch 0 Not Configured1 Enabled in enforcement mode2 Enabled in audit mode3 Disabled
3
What each state writes
Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | EnableVirtualizationBasedSecurity | 1 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | RequirePlatformSecurityFeatures | 3 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | HypervisorEnforcedCodeIntegrity | 3 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | LsaCfgFlags | 3 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | MachineIdentityIsolation | 3 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | ConfigureSystemGuardLaunch | 2 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | ConfigureKernelShadowStacksLaunch | 3 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | EnableVirtualizationBasedSecurity | 0 REG_DWORD |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | RequirePlatformSecurityFeatures | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | HypervisorEnforcedCodeIntegrity | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | HVCIMATRequired | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | LsaCfgFlags | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | MachineIdentityIsolation | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | ConfigureSystemGuardLaunch | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | ConfigureKernelShadowStacksLaunch | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | EnableVirtualizationBasedSecurity | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | RequirePlatformSecurityFeatures | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | HypervisorEnforcedCodeIntegrity | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | HVCIMATRequired | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | LsaCfgFlags | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | MachineIdentityIsolation | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | ConfigureSystemGuardLaunch | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard | ConfigureKernelShadowStacksLaunch | value removed |
In Intune
Microsoft's Policy CSP files (DDFv2Feb2026.zip) have no node for this policy, so the Intune Settings Catalog can't set it. Set it with Group Policy, or write the registry values above with a script (the builder below makes one).
Build it
Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.
Keep it set across your fleet
Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.
Source: Windows 11 2025 Update (25H2), version 3.0, published by Microsoft 2026-02-02. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.
ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.
Your note and the summary below are all that get sent. Your file stays on your machine.