Skip to content

Instantly share code, notes, and snippets.

@qtkite
Created August 3, 2021 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qtkite/6871fa37d141479244521f76ac007390 to your computer and use it in GitHub Desktop.
Save qtkite/6871fa37d141479244521f76ac007390 to your computer and use it in GitHub Desktop.
# 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