Skip to content

Instantly share code, notes, and snippets.

@Xvezda
Last active August 5, 2020 18:43
Show Gist options
  • Save Xvezda/b42a5c81b690c3945b737d2a4d3d3c94 to your computer and use it in GitHub Desktop.
Save Xvezda/b42a5c81b690c3945b737d2a4d3d3c94 to your computer and use it in GitHub Desktop.
Windows 10 VMware Workstation and Device/Credential Guard are not compatible error
:: https://jinyiyu.tistory.com/11
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
bcdedit /set hypervisorlaunchtype off
:: https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
bcdedit /set vsmlaunchtype off
:: Try reboot
shutdown /r
@Xvezda
Copy link
Author

Xvezda commented Jan 6, 2020

Run batch script with administrator privilege to apply.

After reboot, press F3 to each warning to disable settings.

@Xvezda
Copy link
Author

Xvezda commented Aug 5, 2020

After update, this doesn't work anymore.

I had to use Windows Defender Device Guard and Windows Defender Credential Guard hardware readiness tool then,
run only bcdedit /set hypervisorlaunchtype off line with administrator privilege, restart computer and it works again. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment