Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · DeviceGuard.admx

DeviceGuard.admx: 2 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Deploy App Control for Business

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

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 keyHKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard
Value nameDeployConfigCIPolicy
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Code Integrity Policy file path:ConfigCIPolicyFilePathREG_SZText, up to 255 characters
What it does (vendor explanation)

Deploy App Control for Business

This policy setting lets you deploy a Code Integrity Policy to a machine to control what is allowed to run on that machine.

If you deploy a Code Integrity Policy, Windows will restrict what can run in both kernel mode and on the Windows Desktop based on the policy. To enable this policy the machine must be rebooted.

The file path must be either a UNC path (for example, \\ServerName\ShareName\SIPolicy.p7b), or a locally valid path (for example, C:\FolderName\SIPolicy.p7b). The local machine account (LOCAL SYSTEM) must have access permission to the policy file.

If using a signed and protected policy then disabling this policy setting doesn't remove the feature from the computer. Instead, you must either:

1) first update the policy to a non-protected policy and then disable the setting, or 2) disable the setting and then remove the policy from each computer, with a physically present user.

Group Policy path: Computer Configuration > Administrative Templates > System > Device Guard > Deploy App Control for Business

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'DeployConfigCIPolicy' -Value 1 -PropertyType DWord -Force
# Code Integrity Policy file path:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'ConfigCIPolicyFilePath' -Value <value> -PropertyType String -Force

Group 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".

Security hardeningADMX: DeviceGuard.admx · policy name ConfigCIPolicy

Turn On Virtualization Based Security

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

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 keyHKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard
Value nameEnableVirtualizationBasedSecurity
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Select Platform Security Level:RequirePlatformSecurityFeatures1 (REG_DWORD) = Secure Boot
3 (REG_DWORD) = Secure Boot and DMA Protection
Virtualization Based Protection of Code Integrity:HypervisorEnforcedCodeIntegrity0 (REG_DWORD) = Disabled
1 (REG_DWORD) = Enabled with UEFI lock
2 (REG_DWORD) = Enabled without lock
3 (REG_DWORD) = Not Configured
Require UEFI Memory Attributes TableHVCIMATRequiredREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
Credential Guard Configuration:LsaCfgFlags0 (REG_DWORD) = Disabled
1 (REG_DWORD) = Enabled with UEFI lock
2 (REG_DWORD) = Enabled without lock
3 (REG_DWORD) = Not Configured
Machine Identity Isolation Configuration:MachineIdentityIsolation0 (REG_DWORD) = Disabled
1 (REG_DWORD) = Enabled in audit mode
2 (REG_DWORD) = Enabled in enforcement mode
3 (REG_DWORD) = Not Configured
Secure Launch Configuration:ConfigureSystemGuardLaunch0 (REG_DWORD) = Not Configured
1 (REG_DWORD) = Enabled
2 (REG_DWORD) = Disabled
Kernel-mode Hardware-enforced Stack Protection:ConfigureKernelShadowStacksLaunch0 (REG_DWORD) = Not Configured
1 (REG_DWORD) = Enabled in enforcement mode
2 (REG_DWORD) = Enabled in audit mode
3 (REG_DWORD) = Disabled
What it does (vendor explanation)

Specifies whether Virtualization Based Security is enabled.

Virtualization Based Security uses the Windows Hypervisor to provide support for security services. Virtualization Based Security requires Secure Boot, and can optionally be enabled with the use of DMA Protections. DMA protections require hardware support and will only be enabled on correctly configured devices.

Virtualization Based Protection of Code Integrity

This setting enables virtualization based protection of Kernel Mode Code Integrity. When this is enabled, kernel mode memory protections are enforced and the Code Integrity validation path is protected by the Virtualization Based Security feature.

The "Disabled" option turns off Virtualization Based Protection of Code Integrity remotely if it was previously turned on with the "Enabled without lock" option.

The "Enabled with UEFI lock" option ensures that Virtualization Based Protection of Code Integrity cannot be disabled remotely. In order to disable the feature, you must set the Group Policy to "Disabled" as well as remove the security functionality from each computer, with a physically present user, in order to clear configuration persisted in UEFI.

The "Enabled without lock" option allows Virtualization Based Protection of Code Integrity to be disabled remotely by using Group Policy.

The "Not Configured" option leaves the policy setting undefined. Group Policy does not write the policy setting to the registry, and so it has no impact on computers or users. If there is a current setting in the registry it will not be modified.

The "Require UEFI Memory Attributes Table" option will only enable Virtualization Based Protection of Code Integrity on devices with UEFI firmware support for the Memory Attributes Table. Devices without the UEFI Memory Attributes Table may have firmware that is incompatible with Virtualization Based Protection of Code Integrity which in some cases can lead to crashes or data loss or incompatibility with certain plug-in cards. If not setting this option the targeted devices should be tested to ensure compatibility.

Warning: All drivers on the system must be compatible with this feature or the system may crash. Ensure that this policy setting is only deployed to computers which are known to be compatible.

Credential Guard

This setting lets users turn on Credential Guard with virtualization-based security to help protect credentials.

For Windows 11 21H2 and earlier, the "Disabled" option turns off Credential Guard remotely if it was previously turned on with the "Enabled without lock" option. For later versions, the "Disabled" option turns off Credential Guard remotely if it was previously turned on with the "Enabled without lock" option or was "Not Configured".

The "Enabled with UEFI lock" option ensures that Credential Guard cannot be disabled remotely. In order to disable the feature, you must set the Group Policy to "Disabled" as well as remove the security functionality from each computer, with a physically present user, in order to clear configuration persisted in UEFI.

The "Enabled without lock" option allows Credential Guard to be disabled remotely by using Group Policy. The devices that use this setting must be running at least Windows 10 (Version 1511).

For Windows 11 21H2 and earlier, the "Not Configured" option leaves the policy setting undefined. Group Policy does not write the policy setting to the registry, and so it has no impact on computers or users. If there is a current setting in the registry it will not be modified. For later versions, if there is no current setting in the registry, the "Not Configured" option will enable Credential Guard without UEFI lock.

Machine Identity Isolation

This setting controls Credential Guard protection of Active Directory machine accounts. Enabling this policy has certain prerequisites. The prerequisites and more information about this policy can be found at https://go.microsoft.com/fwlink/?linkid=2251066.

The "Not Configured" option leaves the policy setting undefined. Group Policy does not write the policy setting to the registry, and so it has no impact on computers or users. If there is a current setting in the registry it will not be modified.

The "Disabled" option turns off Machine Identity Isolation. If this policy was previously set to "Enabled in audit mode", no further action is needed. If this policy was previously set to “Enabled in enforcement mode”, the device must be unjoined and rejoined to the domain. More details can be found at the link above.

The "Enabled in audit mode" option copies the machine identity into Credential Guard. Both LSA and Credential Guard will have access to the machine identity. This allows users to validate that "Enabled in enforcement mode" will work in their Active Directory Domain.

The "Enabled in enforcement mode" option moves the machine identity into Credential Guard. This makes the machine identity only accessible to Credential Guard.

Secure Launch

This setting sets the configuration of Secure Launch to secure the boot chain.

The "Not Configured" setting is the default, and allows configuration of the feature by Administrative users.

The "Enabled" option turns on Secure Launch on supported hardware.

The "Disabled" option turns off Secure Launch, regardless of hardware support.

Kernel-mode Hardware-enforced Stack Protection

This setting enables Hardware-enforced Stack Protection for kernel-mode code. When this security feature is enabled, kernel-mode data stacks are hardened with hardware-based shadow stacks, which store intended return address targets to ensure that program control flow is not tampered.

This security feature has the following prerequisites: 1) The CPU hardware supports hardware-based shadow stacks. 2) Virtualization Based Protection of Code Integrity is enabled.

If either prerequisite is not met, this feature will not be enabled, even if an "Enabled" option is selected for this feature. Note that selecting an "Enabled" option for this feature will not automatically enable Virtualization Based Protection of Code Integrity, that needs to be done separately.

Devices that enable this security feature must be running at least Windows 11 (Version 22H2).

The "Disabled" option turns off kernel-mode Hardware-enforced Stack Protection.

The "Enabled in audit mode" option enables kernel-mode Hardware-enforced Stack Protection in audit mode, where shadow stack violations are not fatal and will be logged to the system event log.

The "Enabled in enforcement mode" option enables kernel-mode Hardware-enforced Stack Protection in enforcement mode, where shadow stack violations are fatal.

The "Not Configured" option leaves the policy setting undefined. Group Policy does not write the policy setting to the registry, and so it has no impact on computers or users. If there is a current setting in the registry it will not be modified.

Warning: All drivers on the system must be compatible with this security feature or the system may crash in enforcement mode. Audit mode can be used to discover incompatible drivers. For more information, refer to https://go.microsoft.com/fwlink/?LinkId=2162953.

Group Policy path: Computer Configuration > Administrative Templates > System > Device Guard > Turn On Virtualization Based Security

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'EnableVirtualizationBasedSecurity' -Value 1 -PropertyType DWord -Force
# Select Platform Security Level:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'RequirePlatformSecurityFeatures' -Value 1 -PropertyType DWord -Force
# Virtualization Based Protection of Code Integrity:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'HypervisorEnforcedCodeIntegrity' -Value 0 -PropertyType DWord -Force
# Require UEFI Memory Attributes Table
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'HVCIMATRequired' -Value <value> -PropertyType DWord -Force
# Credential Guard Configuration:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'LsaCfgFlags' -Value 0 -PropertyType DWord -Force
# Machine Identity Isolation Configuration:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'MachineIdentityIsolation' -Value 0 -PropertyType DWord -Force
# Secure Launch Configuration:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'ConfigureSystemGuardLaunch' -Value 0 -PropertyType DWord -Force
# Kernel-mode Hardware-enforced Stack Protection:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard' -Name 'ConfigureKernelShadowStacksLaunch' -Value 0 -PropertyType DWord -Force

Group 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".

Security hardeningADMX: DeviceGuard.admx · policy name VirtualizationBasedSecurity