今天爱分享给大家带来如何解决禁不掉 Hyper-V disable Hyper-V 失败【解决办法】,希望能够帮助到大家。
问题原因
这是微软 Group Ploicy 的原因
Windows 搜索框中输入 System information:, 右下角:
再看下这个链接: https://kb.vmware.com/s/article/2146361
管理员模式打开 CMD, 运行下面的命令:
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
之后再管理员模式运行 CMD:
//To disable:
bcdedit /set hypervisorlaunchtype off