引用地址:文章链接
win10中打开了Hyper-v服务后,
VirtualBox中的虚拟机启动时报错:Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_
先到微软官网下载 dgreadiness_v3.6.zip解压
打开目录下的DG_Readiness_Tool_v3.6.ps1,搜索
$OSArch = $(gwmi win32_operatingsystem).OSArchitecture
换成
$OSArch = $((gwmi win32_operatingsystem).OSArchitecture).tolower()
保存文件.
授予powershell运行脚本的权限(默认没有)
按win键打开开始菜单直接输入powershell,以管理员身份运行,执行:
set-ExecutionPolicy RemoteSigned
powershell切换到上面解压好的的readiness tool的目录中,
执行
.\DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot
脚本执行完后会自动重启.
启动时会提示你禁用Windows Defender Credential Guard,按win键或者F3接受.
注意这个脚本会禁用Hyper-V.只要启用Hyper-V就会启动Windows Defender Credential Guard…