Windows 10中使用VirtualBox

新版Windows 10或者安装了新的更新以后,VirtualBox虚拟机就不能用了。

原因是WIndows10里面有个叫Virtualization-base security的安全机制打开了。

关掉的步骤如下

1.检查"Virtualization-base security"是否运行
Run msinfo32 can view the item “Virtualization-base security” is running。

2.禁止Device Guard
gpedit.msc | Administrative templates | system | Device Guard

3.删除几个注册表记录
If you used Group Policy, disable the Group Policy setting that you used to enable Windows Defender Credential Guard (Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security).

Delete the following registry settings:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA\LsaCfgFlags
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceGuard\LsaCfgFlags
If you also wish to disable virtualization-based security delete the following registry settings:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceGuard\EnableVirtualizationBasedSecurity
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceGuard\RequirePlatformSecurityFeatures

4.PowerShell运行DG_Readiness工具Disable
DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot

5.重启以后会有2次文本界面分别提示按F3关掉“Virtualization-base security” 和 “Device Guard”

按照提示按F3关掉就好了。

主要参考资料

https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage

猜你喜欢

转载自www.cnblogs.com/shinedream/p/12216965.html