I installed Virtual Box on Windows 7 Ultimate x64 and then I upgraded my system to Windows 10.
VirtualBox did work properly with both versions of Windows and I was able to run everything perfectly.
Today I did the downgrade to Windows 7 again and I can't open VirtualBox anymore because I get this error:
Failed to create COM object
Callee RC: REGDB_E_CLASSNOTREG” (0x80040154)
I tried to reinstall it but I get some error messages telling me that I need to choose a different path and that I cannot uninstall the previous version.
How can I fix it or reinstall it?
Since I wasn't able to uninstall it normally because the path wasn't on C:, I deleted the folder "Virtual Box" with all the files, but I got the same errors
I also did the following procedure:
Run the command:
md `cd D:\Unknown\Users\Administrator\AppData\Local\Temp`
Open %temp%
%temp%\VirtualBox\
but I couldn't find it .%temp%\VirtualBox\VirtualBox-5.0.8-r103449-MultiArch_amd64.msi
file from the second device to the folder D:\Unknown\Users\Administrator\AppData\Local\Temp
on my Win 7 PC;I run the installer for VirtualBox 5.0.14 and finally I succeeded in installing it, but now when I open the new VirtualBox I get this error again
Failed to create COM object
Callee RC: REGDB_E_CLASSNOTREG” (0x80040154)
If running the installer again does not give you the choice to uninstall VirtualBox, let's try to manually remove it (folders, drivers, and registry entries).
Create a system restore point
Close VirtualBox (kill any VirtualBox related processes)
Confirm that you have deleted C:\Program Files\Oracle\VirtualBox
Delete the following files:
In the registry navigate to HKLM\System\CurrentControlSet\Services.
Delete the following keys:
Restart your computer
Download the newest version of VirtualBox
Install VirtualBox
Additional Instructions 1
Run Command Prompt as Administrator Run the following commands
cd "C:\Program Files\Oracle\VirtualBox"
VBoxSVC /ReRegServer
regsvr32 VBoxC.dll
Delete the folder C:\Users\.VirtualBox
Try to run VirtualBox
Additional Instructions 2
Run the command below:
md "C:\users\unknown\appdata\local\temp"
Open %temp%
Delete everything in this folder
Download VirtualBox version 5.0.8 (http://download.virtualbox.org/virtualbox/5.0.8/VirtualBox-5.0.8-103449-Win.exe)
Close all other programs
Run the VirtualBox installer for VERSION 5.0.8. As soon as you get to the first screen that says welcome STOP.
Open %temp%\VirtualBox\
Copy %temp%\VirtualBox\VirtualBox-5.0.8-r103449-MultiArch_amd64.msi to C:\Users\UNKNOWN\AppData\Local\Temp\
Delete the files in %temp%
Now close everything
Run the VirtualBox installer for VERSION 5.0.14
If that fixes the problem, then when it is done and you restart your computer, you can safely delete C:\Users\Unknown. You can delete the files in %temp% again too.
User contributions licensed under CC BY-SA 3.0