VirtualBox出现Failed to instantiate CLSID_VirtualBox异常

上周五手欠,使用360把系统优化了一下,结果今天到公司发现virtualbox无法开启,出现以下错误:

1
2
3
4
5
6
Failed to instantiate CLSID_VirtualBox w/ IVirtualBox, but CLSID_VirtualBox w/ IUnknown works.
PSDispatch looks fine. Weird.

返回代码: E_NOINTERFACE (0x80004002)
组件: VirtualBoxClientWrap
界面: IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}

尝试了重启、重装都不行,最后,发现原来是注册表里的信息被破坏了,基本上做如下设定就可以解决问题,不需要重启。

1
2
Win+R
regedit

修改注册表的一下两个配置项:

1
HKEY_CLASSES_ROOT\CLSID\{00020420-0000-0000-C000-000000000046}

修改InprocServer3为: C:\Windows\system32\oleaut32.dll

1
HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}

InprocServer32 修改为C:\Windows\system32\oleaut32.dll

然后,就可以正常打开Virtual Box了。