近来需安装linux虚拟机进行一些学习,选择使用VM VirtualBox安装ubuntu系统。
VirtualBox配置完成之后,在启动时,报错,内容如下:
“Failed to open a session for the virtual machine exit code 1 (0x1) – E_FAIL (0x80004005)”, which refers to the ‘VBoxHardening.log’ for details about the error. But, in ‘VBoxHardening.log’ file, there is not a clear explanation about the problem, except that many DLL files “lacks WinVerifyTrust”.
然后出现下述报错:
Failed to open a session for the virtual machine %VM_Machine_Name%;
Failed to open a session for the virtual machine…Virtual Machine terminated with exit code 1 (0x1)
上网查询无果(大多方法类似于打开虚拟化/多次启动/关闭杀毒软件和windows security,对于解决我这里出现的问题无效),后在一篇国外博客中找到解决方案,现记录分享在此,希望能对求助这个问题的朋友提供一个新的解决思路。
国外博客地址(需fq浏览):
https://www.wintips.org/fix-virtualbox-error-in-supr3hardenedwirespawn-and-hardening-exit-code-1/
完整流程见上述地址,以下仅提供关键步骤(若该关键步骤未奏效,建议按照上文完整流程走一遍):
Change the Start type of VBoxDrv Service (VBoxDrv.inf) to 2 (Auto Load)*
将VBoxDrv服务(VBoxDrv.inf)的启动类型更改为2(自动加载)*
1.打开注册表编辑器
2.导航到下述地址
- HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesVBoxDrv.*
3.双击红色箭头start值
4.将value data从1修改为2,然后点击ok
解释如下:
5.关闭注册表编辑器然后重启电脑
经过以上步骤,我的问题得到了解决,若出现了"Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87"问题,可见原文细节-步骤2。
若有其他问题,欢迎留言讨论~
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)