Error "Failed to open a session for the virtual machine..."

Discussions related to using VirtualBox on Windows hosts.

Re: Error "Failed to open a session for the virtual machine..."

Postby mpack » 1. Oct 2016, 10:30

I see you have two antivirus packages installed, Malwarebytes and AVG. I'm suspicious of the latter, but you can try disabling both - see if the problem goes away. IMHO two different AV packages is often a bad idea.

Another thing to try is disabling 3D acceleration, see if the problem goes away. If it does then it's probably an unsigned graphics driver, you should look for updates.
mpack
Site Moderator
 
Posts: 27425
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error "Failed to open a session for the virtual machine..."

Postby motecl » 4. Oct 2016, 06:25

mpack wrote:I see you have two antivirus packages installed, Malwarebytes and AVG. I'm suspicious of the latter, but you can try disabling both - see if the problem goes away. IMHO two different AV packages is often a bad idea.

Another thing to try is disabling 3D acceleration, see if the problem goes away. If it does then it's probably an unsigned graphics driver, you should look for updates.

thanks for the quick reply
I unistall both AV and the 3D but I still have the problem :C
here it the new log
thanks Appreciate your help guys
Attachments
VBoxHardening.rar
new log
(13.02 KiB) Downloaded 18 times
motecl
 
Posts: 2
Joined: 1. Oct 2016, 08:41

Re: Error "Failed to open a session for the virtual machine..."

Postby mpack » 4. Oct 2016, 10:03

Well, the only remaining error I see is "unknown status" loading user32.dll, a critical Windows system DLL. Perhaps you should try running "sfc /scannow" from an admin command line.
mpack
Site Moderator
 
Posts: 27425
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error "Failed to open a session for the virtual machine..."

Postby pxpc2 » 3. Nov 2016, 08:09

I'm also getting the error. I tried removing AVG, but that didn't solve it; been looking for solutions for a few hours now and nothing, also tried installing different versions/running as admin and etc; any help is appreciated! :D
My log file is attached.
Attachments
VBoxHardening.rar
(13.89 KiB) Downloaded 15 times
pxpc2
 
Posts: 2
Joined: 3. Nov 2016, 08:04

Re: Error "Failed to open a session for the virtual machine..."

Postby scottgus1 » 3. Nov 2016, 14:01

pxpc2, it's usually a good idea to start your own new thread, just in case your issue isn't related to the OP or the other folks who have glommed on.

That said, your hardening log also shows an issue over user32.dll. Did you try Mpack's suggestion in the post above yours?
mpack wrote:try running "sfc /scannow" from an admin command line.
running version 5.1.6 & 5.0.24
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
 
Posts: 3455
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: XP SBS2003 Win7

Re: Error "Failed to open a session for the virtual machine..."

Postby pxpc2 » 3. Nov 2016, 18:59

I'm sorry, indeed should've created a new thread. Anyways, I hadn't realized the issue was also with user32.dll, my bad. Mpack's suggestion worked! Thank you all a lot.
pxpc2
 
Posts: 2
Joined: 3. Nov 2016, 08:04

Re: Error "Failed to open a session for the virtual machine..."

Postby mpack » 4. Nov 2016, 10:59

"Failed" is a symptom, not the disease. It can have many causes, and the above discussion hasn't covered them all. Nor could it, without the topic turning into a sprawling mess. So yes it is best to start your own topic and give your exact symptoms and a log file.
mpack
Site Moderator
 
Posts: 27425
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error "Failed to open a session for the virtual machine..."

Postby CaptGreyBeard » 5. Jan 2017, 00:33

I created an account just to say:
Windows defender Real Time scanning was causing my issue. Turned it off. Boom, everything works like magic again.
CaptGreyBeard
 
Posts: 1
Joined: 5. Jan 2017, 00:33

Re: Error "Failed to open a session for the virtual machine..."

Postby socratis » 5. Jan 2017, 00:56

@CaptGreyBeard
That's got to be the first that I remember seeing Windows Defender causing a problem. Interesting...
Can you give specific information about version numbers for the OS and Defender, including if you can even update dates.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 18048
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Error "Failed to open a session for the virtual machine..."

Postby BillG » 5. Jan 2017, 05:57

A bit of a surprise to me too. I have had Defender real-time scanning on ever since Windows 10 came out and have never had a problem with VirtualBox (or any other program) caused by it.
Bill
BillG
Volunteer
 
Posts: 3849
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: Error "Failed to open a session for the virtual machine..."

Postby ZiggyLink » 8. Feb 2017, 18:48

I understand this is an old thread, but in my case the Citrix Streaming Profiler was causing the message referenced by the OP. Uninstalling it resolved the issue for me. Hope this helps someone out there!
ZiggyLink
 
Posts: 1
Joined: 8. Feb 2017, 18:46

Re: Error "Failed to open a session for the virtual machine..."

Postby Renzo73 » 9. Feb 2017, 23:50

same error here. Ubuntu 16 host.
Renzo73
 
Posts: 1
Joined: 9. Feb 2017, 23:49

Re: Error "Failed to open a session for the virtual machine..."

Postby socratis » 10. Feb 2017, 00:09

@Renzo73
Please pay more attention next time. This is the Windows Hosts section. You may have a similar error, but no way it's the same thing. Please open a new thread.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 18048
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Error "Failed to open a session for the virtual machine..."

Postby pchaitat » 4. Mar 2017, 18:14

I have got a similar error too.

My environment:

- Windows 7 (64-bit) Host OS
- Windows 7 (64-bit) Guest OS
- VirtualBox, the latest stable version for Windows Host as of Mar 4, 2017 which is version 5.x (Sorry, I can't remember the exact version as the host is on a remote location and I don't have access to it anymore)

My language: Tinglish

When I tried to start my Guest OS, VirtualBox showed an error dialog box. An error log was created in a file which had "*hardening*" as part of the filename.

After spending some time looking for a solution on the Internet, I tried a different way of starting my Guest OS. I tried, "Detachable Start" and the Guest OS booted up!

Hope that helps.
pchaitat
 
Posts: 2
Joined: 4. Mar 2017, 18:04
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian

Re: Error "Failed to open a session for the virtual machine..."

Postby socratis » 4. Mar 2017, 18:27

pchaitat wrote:I tried, "Detachable Start" and the Guest OS booted up!

That's definitely not a solution, that's a workaround at best. What you have is something that's preventing the guest window from being created on the host by normal means (because it eventually gets created). To me that sounds like an installed hacked theme or some system DLL having being replaced. Both of those could have been seen in that "*hardening*" ... thing.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 18048
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

PreviousNext

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 23 guests