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?
edit:
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
edit 2:
I also did the following procedure:
- Open command prompt as administrator
Run the command:
md `cd D:\Unknown\Users\Administrator\AppData\Local\Temp`
Open %temp%
- Delete everything I was able to remove in this folder (I couldn't delete FXSAPIDebugLogFile because an error message told me it was already opened in file manager)
- Download VirtualBox version 5.0.8
- Run the VirtualBox installer for VERSION 5.0.8. and I got the errors described previously (see the screenshot) as soon as it opened
- I tried opening
%temp%\VirtualBox\
but I couldn't find it .
edit 3:
- I performed some of the previous steps (3 through 8) by using a second device with Win 8.1 installed to get the .msi file;
- I performed steps 1 through 4 on the PC I'm trying to reinstall VirtualBox;
- I copy-pasted the
%temp%\VirtualBox\VirtualBox-5.0.8-r103449-MultiArch_amd64.msi
file from the second device to the folderD:\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)