VirtualBox installation fails, says fatal error occurred, but gives no indication what the error is.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
xzlhqed
Posts: 1
Joined: 10. Oct 2017, 13:20

VirtualBox installation fails, says fatal error occurred, but gives no indication what the error is.

Post by xzlhqed »

Installing on Windows 10 64-bit, screenshots attached. Have tried installing as administrator.

Any help as to figuring out what's happening would be greatly appreciated.

EDIT: Just noticed the pictures are in reverse order

EDIT 2: Thought I should also mention that virtualbox was running perfectly fine until yesterday. I treid booting up my work machine and it gave the error "failed to open a session for the virtual machine" and nothing else. I tried reinstalling virtualbox and that is when this happened.
Attachments
00498ae98252f82b78156f7aad3909e5.png
00498ae98252f82b78156f7aad3909e5.png (5.35 KiB) Viewed 3679 times
17bcd808681c910a4e9849b236eb40a7.png
17bcd808681c910a4e9849b236eb40a7.png (102.23 KiB) Viewed 3679 times
dee1d85e7f21a6a7b80700a03151bb1b.png
dee1d85e7f21a6a7b80700a03151bb1b.png (12.2 KiB) Viewed 3679 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox installation fails, says fatal error occurred, but gives no indication what the error

Post by mpack »

Actually, VirtualBox doesn't give you any messages at all during installation on Windows hosts, because VirtualBox isn't even running - the standard Windows installer is (MSI).

I don't have the link handy, but you should Google for how to enable MSI logging, and how to view the logs.

As to what the error might be, well I'd guess that the most common install error is due to not having sufficient priviliges to install device drivers. Try using "Run as administrator".

If the system was working fine until yesterday then I'm puzzled as to why the question concerns installation?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox installation fails, says fatal error occurred, but gives no indication what the error

Post by socratis »

  1. Log on as a local Administrator
    • This has absolutely nothing to do with the installation of VirtualBox, it has to do with logging the installation. It is doable but way more convoluted if you want to do it as a simple user.
  2. Uninstall VirtualBox (if installed)
    • Enable MSI logging
      • Copy-paste the following to a text file and save it as "LogEnable.reg".

        Code: Select all

        Windows Registry Editor Version 5.00
        
        [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
        "Logging"="voicewarmupx" 
        "Debug"=dword:00000007
        
        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace]
        "Flags"=dword:00000016
        "Level"=dword:00000004
        
      • Double-click on the file to merge the information in the registry. Accept the warnings.
      • The last message should be a successful merge information box.
    • Install VirtualBox
      • Right-click on "VirtualBox-5.y.z-#####-Win.exe" and select "Run as Administrator". Even if you are the Administrator. There is a huge difference in Windows between being an Administrator and using "Run as Administrator".
      • Proceed with the full installation.
      • The installation will be slower because we're logging everything.
    • Examine the logs
      • Go to Start, Run..., enter "%temp%". It will open an Explorer window on your Temp directory.
      • There will be a file called "MSI#####.log". It would be easier to find if you sort them by Date. It's the newest one.
      • Copy it to your Desktop for safekeeping. ZIP it and attach it to your response.
    • Disable MSI logging
      • MSI logs are big and they slow down the installation. So, we'll disable MSI logging.
      • Copy-paste the following to a text file and save it as "LogDisable.reg".

        Code: Select all

        Windows Registry Editor Version 5.00
        
        [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
        "Logging"=-
        "Debug"=-
        
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace]
        
      • Double-click on the file to merge the information in the registry. Accept the warnings.
      • The last message should be a successful merge information box.
    Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
    Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
    If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
    socratis
    Site Moderator
    Posts: 27329
    Joined: 22. Oct 2010, 11:03
    Primary OS: Mac OS X other
    VBox Version: PUEL
    Guest OSses: Win(*>98), Linux*, OSX>10.5
    Location: Greece

    Re: VirtualBox installation fails, says fatal error occurred, but gives no indication what the error

    Post by socratis »

    Oh, and another thing. As mpack said, the VirtualBox installer is a standard MSI install file. You should check to see if you have any corrupted MSI database files:
    Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
    Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
    If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
    Post Reply