安装virtualbox失败 提示WinVerifyTrust failed

安装virtualbox失败 提示WinVerifyTrust failed 

经过查询解决

http://superuser.com/questions/942036/virtualbox-fails-to-start-on-windows-server-2003


对应的导入了张数字证书就可以了


For reasons I cannot disclose, I need to install a Linux server within a VirtualBox host running in Windows Server 2003. Unfortunately, VirtualBox fails to start, giving me an error that seems to indicate it could not build a chain of trust to the executable's certificate.

WinVerifyTrust failed on stub executable: WinVerifyTrust failed with hrc=CERT_E_CHAINING on '\Device\HarddiskVolume1\Program Files\Oracle\VirtualBox\VirtualBox.exe'(rc=-22919)

System details:

  • Operating system: Windows Server 2003 SP 1
  • Last updated: unknown
  • VirtualBox version: 5.0.0

I did do some research on my own, which pointed to a failed update. I attempted to run Windows Update to fix it, but it failed with multiple errors. I tried removing SoftwareDistribution and restarting the Windows Update server to fix this, but the errors persisted.

Another inquiry led me to this, which directed me to install the executable's certificate. I followed the article's instructions, and installed Symantec's certificate (under countersignatures) for good measure. After a reboot, my problem was still not resolved.

Finally, I tried clearing the CRL cache by running certutil -urlcache crl delete in cmd and rebooting. Unfortunately, that did not work either.

-------------------解决方法

The WinVerifyTrust problem seems to occur due to lack of an appropriate CA root certificate installed within the Windows Trusted Root Certification Authorities store.

To solve the issue, you can try installing whichever of the VeriSign Public Primary Certification Authority root certificate(s) apply to you. For example, in my case, I required the VeriSign Class 3 Public Primary Certification Authority - G5 (Root 3) CA certificate. You'll download it as a .pem but to install it, you can change the certificate file's extension to .crt then double-click it and click 'Install Certificate'. It should automatically be installed to the appropriate certificate store.

After installation, VirtualBox 5.0.2 starts up without the WinVerifyTrust error.


### VirtualBox 安装失败的解决方案 #### 卸载并重装 VirtualBox 对于某些情况下,VirtualBox 可能因为安装文件损坏或其他未知因素而无法正常工作。此时建议完全卸载现有版本,并清理所有与之关联的残留文件或注册表项后再重新安装最新版[^1]。 #### 处理 COM 组件注册问题 当遇到“获取 VirtualBox COM 对象失败”的报错时,这通常意味着存在 COM 组件未正确注册的情况或者是运行程序所需权限不够充分所致。针对这类情况可采取相应措施来修复受损的 COM 注册状态或是调整应用程序执行级别以获得更高权限访问资源[^2]。 #### 解决特定环境下的启动异常 有报告指出,在 Genymotion 和 VirtualBox 联合使用的场景里会出现特殊的初始化错误——即 `Failed to instantiate CLSID_VirtualBox with IVirtualBox` 。尽管如此,通过其他接口如 IUnknown 来创建实例却能够成功完成操作;此现象表明可能是 API 实现层面存在问题而非整个产品本身缺陷所引起[^3]。 #### 确保兼容性良好 考虑到 Linux 发行版(例如 CentOS 或 Ubuntu)经常会自动升级其核心组件至最新稳定版本,这就可能导致旧版本的 VirtualBox 与其不再匹配进而引发诸如 kernel panic 这样的严重故障。因此保持两者之间良好的同步非常重要,必要时候应当考虑更新到更近日期发布的 VirtualBox 构建版本以便维持最佳性能表现以及稳定性[^4]。 ```bash # 更新系统包管理器缓存并安装最新的 VirtualBox 版本 (适用于基于 Debian/Ubuntu 的发行版) sudo apt-get update && sudo apt-get install virtualbox ``` #### 用户权限配置不当引起的安装障碍 另外值得注意的一点是在多用户操作系统环境中设置不当也可能阻碍软件的成功部署过程。比如在尝试利用超级管理员身份下发指令期间收到类似 "not in the sudoers file" 提醒,则说明当前登录账户缺乏足够的权利来进行此类敏感动作。这时应该检查相关安全策略并将适当的身份验证机制应用于目标主机之上[^5]。
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值