Created
August 3, 2021 22:07
-
-
Save qtkite/6871fa37d141479244521f76ac007390 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disabling Hyper-V | |
- bcdedit /set hypervisorlaunchtype off | |
- reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 0 /f | |
# Enabling Hyper-V | |
- bcdedit /set hypervisorlaunchtype auto | |
- reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 1 /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment