Page 1 of 1

Explanation solution Ticket #8948

Posted: 25. Aug 2016, 11:14
by Androix
Hello everyone

I need help to fix the following error:
Failed to open a session for the virtual machine Windows 10.

The VM session was closed before any attempt to power it on.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}
I'm using Linux Mint 17.3 as host and Windows 10 as guest which doesn't work anymore after a crash.

I first tried to solve the problem by using the command sudo /etc/init.d/vboxdrv setup but nothing happend. Now I try to fix it with the Step-by-Step Solution from Ticket #8948 which should solve the problem but I don't understand what I've to do. So I'd be very glad if you could support me to solve the error.

1. Edit the settings file to allow the VM to start again.
2. Start the Windows guest
3. Run regedit
4. Go to HKLM\SOFTWARE\Oracle\VirtualBox Guest Additions
5. Create a string key VersionEx (use exactly this spelling)
6. Give it a reasonable value
7. Shut down the VM.
First I need to know where to find the settings file and what I've to do with it.

Re: Explanation solution Ticket #8948

Posted: 25. Aug 2016, 14:42
by scottgus1
The "settings file" appears to be the .vbox file for the guest. It's an XML file with a .vbox extension in the guest's folder, and will be named after the guest: a guest named "MyWackyVM" will have a "MyWackyVM.vbox".

First, congrats on trying to find a solution! Most folks just say "I got an error please fix it" without even mentioning what the error was. The ticket you propose as a solution appears to be five years old, though, way back in 4.0 days. Theoretically it could be possible the error has returned, but let's see first.

You could try the .vbox-prev file, which may be in the same folder as the .vbox file. If there is one, rename the .vbox file to .vboxbad. Make a copy of the .vbox-prev file as a backup, then rename .vbox-prev to .vbox, then try running your guest.

If the above did not work, please find the original .vbox file, now .vboxbad, and the original .vbox-prev file, and the backup copy of .vbox-prev, zip them into a zip folder, then post the zip here as an attachment.