Solution to the failure of Oracle VM VirtualBox to obtain VirtualBox COM object

1. Related error information

  • The following is the error message when opening VirtualBox
获取 VirtualBox COM 对象失败.
应用程序将被中断.
Failed to instantiate CLSID_VirtualBox w/ IVirtualBox, CLSID_VirtualBox w/ IUnknown works.
PSDispatch looks broken by some installer featuring the broken oleaut32.msm module as a component.
See also https://support.microsoft.com/en-us/kb/316911 .
返回 代码:E_INVALIDARG (0x80070047) 
组件:VirtualBoxClientWrap
界面:IVirtualBoxClient {
    
    d2937a8e-cb8d-4382-90ba-b7da78a74573}

2. Solution

2.1, the easiest way

  • Right-click to open the VirtualBox software as an administrator, and it will usually start successfully. And you can double-click to open it next time.

2.2, the way to modify the registry

2.2.1, open the registry

  • Open the registry: windows+R, enter regedit and press Enter
  • turn up
HKEY_CLASSES_ROOT\CLSID\{
    
    00020420-0000-0000-C000-000000000046}\InprocServer32
HKEY_CLASSES_ROOT\CLSID\{
    
    00020424-0000-0000-C000-000000000046}\InprocServer32
  • Modify its default values ​​to
C:\Windows\system32\oleaut32.dll

E.g:
Insert picture description here

  • At this point, double-click to open the software to start

Guess you like

Origin blog.csdn.net/JISOOLUO/article/details/104198875
Recommended