新版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_MACHINESystemCurrentControlSetControlLSALsaCfgFlags
HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsDeviceGuardLsaCfgFlags
If you also wish to disable virtualization-based security delete the following registry settings:
HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsDeviceGuardEnableVirtualizationBasedSecurity
HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsDeviceGuardRequirePlatformSecurityFeatures
4.PowerShell运行DG_Readiness工具Disable
DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot
5.重启以后会有2次文本界面分别提示按F3关掉“Virtualization-base security” 和 “Device Guard”
按照提示按F3关掉就好了。
主要参考资料