Skip to content

Instantly share code, notes, and snippets.

@pgkt04
Created August 3, 2021 22:07
Show Gist options
  • Save pgkt04/6871fa37d141479244521f76ac007390 to your computer and use it in GitHub Desktop.
Save pgkt04/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