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

 

posted @ 2020-01-20 10:36  shinedream  阅读(1150)  评论(0编辑  收藏  举报