Created
July 8, 2019 15:38
-
-
Save interference-security/18fdd6f50d71714c9d3283baed2fe74e to your computer and use it in GitHub Desktop.
Disable Device Guard and Virtualization Based Security
This file contains hidden or 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
#SCRIPT TO DISABLE DEVICE GUARD & VIRTUALIZATION BASED SECURITY | |
#https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage | |
mountvol X: /s | |
copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y | |
bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader | |
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi" | |
bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215} | |
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS | |
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X: | |
mountvol X: /d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment