Information
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 IntegrityThis 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 GuardThis 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.
Secure LaunchThis 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 ProtectionThis 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.
Solution
Policy Path: System\Device Guard
Policy Setting Name: Turn On Virtualization Based Security