virtual box failed open a session

Discussions related to using VirtualBox on Windows hosts.
Post Reply
newbie144
Posts: 4
Joined: 8. Mar 2020, 06:37

virtual box failed open a session

Post by newbie144 »

Failed to open a session for the virtual machine linux.

The virtual machine 'linux' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\kunal\VirtualBox VMs\linux\Logs\VBoxHardening.log'.

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

my system was hit by a malware, all application became in accessible AV kicked in for disinfection system system restarted and became operational since then i am having
this error .after using the sfc /scannow and dism tool headless start works but normal start is not possible

hardening log file are attached i am no good at understanding the log file please help.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: virtual box failed open a session

Post by mpack »

(A) You obviously have a Windows host, so your question does not belong in the "Linux Hosts" forum. I will move the topic to "Windows Hosts".
(B) You did not attach the logs. Logs should be zipped to ensure they are small enough to attach.

FAQ: Diagnosing VirtualBox Hardening Issues.
newbie144
Posts: 4
Joined: 8. Mar 2020, 06:37

Re: virtual box failed open a session

Post by newbie144 »

I have uploaded in the zip format please take a look at it and suggest the solution.
Attachments
VBoxHardening.zip
(14.36 KiB) Downloaded 8 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: virtual box failed open a session

Post by scottgus1 »

Looks like you have Kaspersky AV installed, which isn't necessary on a Windows 10 PC. 10 already has good AV built-in. Try uninstalling (not just disable) Kaspersky. If Virtualbox starts running, and you can't imagine life without Kaspersky ( :lol: ) try reinstalling Kaspersky. Sometimes a reinstall allows coexistence. Set a complete exception in Kaspersky to not scan any Virtualbox executables, folders or guests. If Virtualbox fails to run, then you won't be able to run Virtualbox under Kaspersky.

Also the 'opengl32.dll' file can't be verified. Read the 'exit code 1' section of the tutorial Mpack posted.
newbie144
Posts: 4
Joined: 8. Mar 2020, 06:37

Re: virtual box failed open a session

Post by newbie144 »

scottgus1 wrote:Looks like you have Kaspersky AV installed, which isn't necessary on a Windows 10 PC. 10 already has good AV built-in. Try uninstalling (not just disable) Kaspersky. If Virtualbox starts running, and you can't imagine life without Kaspersky ( :lol: ) try reinstalling Kaspersky. Sometimes a reinstall allows coexistence. Set a complete exception in Kaspersky to not scan any Virtualbox executables, folders or guests. If Virtualbox fails to run, then you won't be able to run Virtualbox under Kaspersky.

Also the 'opengl32.dll' file can't be verified. Read the 'exit code 1' section of the tutorial Mpack posted.
thank you for advice but it seem that uninstalling the AV haven't done the work i also replaced the DLL file you mention but it still gives same error,also i was able to run in headless start before so i don't think it was the AV causing the issue.

Attached the new logs please take a look
Attachments
VBoxHardening.zip
(12.47 KiB) Downloaded 7 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: virtual box failed open a session

Post by scottgus1 »

AV sometimes doesn't cause trouble, but sometimes it does, so removing it is a good test.

Starting the guest headless is also a good test. Per the tutorial, though in a different exit code section:
If you find that the VM will not start in normal mode, but will start when run in headless mode, then that makes it pretty much certain that your problem is the graphics drivers.
Try a graphics driver update, or a removal and let Windows drivers load, just to see what happens.

All of this may be a bother, but malware does the same things that AV & graphics drivers do, and malware has a tremendously better chance to go whacko on your PC if Virtualbox were an open channel.
newbie144
Posts: 4
Joined: 8. Mar 2020, 06:37

Re: virtual box failed open a session

Post by newbie144 »

i disabled nvdia graphic driver and tried and it worked again enabled the driver and it was working just fine

thank you that really solved my problem
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: virtual box failed open a session

Post by mpack »

? That is a weird outcome. I'm not sure I believe it! Unless there was some kind of corruption in a driver file which the reinstall fixed (I'm assuming that disabling equals uninstalling).
Post Reply