failed to open a session for the virtual machine [Solved]

Discussions related to using VirtualBox on Windows hosts.
Post Reply
moody2003
Posts: 3
Joined: 8. Feb 2016, 12:57

failed to open a session for the virtual machine [Solved]

Post by moody2003 »

hello there,
i'm having a problem when trying to start vm i got the following error :

Code: Select all

Failed to open a session for the virtual machine centos.

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

Result Code: E_FAIL (0x80004005)
Component: Machine
Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
- the following are steps that i follow in order to solve the problem :
1) downgrade from virtual box 5 to virtual box 4
2) reinstalling virtual box
3) removed any anti-virus program
4) making sure to run either the installer or program as an administrator

- the following are some important information :
OS : windows 7
VirtualBox version : 4.3.36
virtualbox log file have been attached

please all accept my best regards,,
Attachments
VBoxHardening.7z
virtual box log archive
(12 KiB) Downloaded 39 times
Last edited by moody2003 on 8. Feb 2016, 15:09, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: failed to open a session for the virtual machine

Post by mpack »

Have you looked at the "Hardening" topic at the top of this forum? It will list lots of possible reasons for problems like this. Since you have eliminated AV I would suspect a hacked theme or similar being the cause, since the common controls and shell DLLs (COMCTL32.DLL and SHELL32.DLL) seems to be causing a particular problem.
moody2003
Posts: 3
Joined: 8. Feb 2016, 12:57

Re: failed to open a session for the virtual machine

Post by moody2003 »

mpack wrote:Have you looked at the "Hardening" topic at the top of this forum? It will list lots of possible reasons for problems like this. Since you have eliminated AV I would suspect a hacked theme or similar being the cause, since the common controls and shell DLLs (COMCTL32.DLL and SHELL32.DLL) seems to be causing a particular problem.
Hello mpack,
i have reviewed the security hardening topic,
i have turned off windows firewall & uninstalled any suspicious programs
but also nothing solved the problem & the problem still exists
so what do you advice me mpack ?
should i reinstall mentioned DLL files (COMCTL32.DLL and SHELL32.DLL) ?
what about virtualbox error log does it makes any sense ?
please accept my best regards,,,
moody2003
Posts: 3
Joined: 8. Feb 2016, 12:57

Re: failed to open a session for the virtual machine

Post by moody2003 »

Hello mpack,
because i have removed all suspicious programs that may cause this problem but nothing changed
i looked about DLL files, & i found that i have to check system dll files using the following command

Code: Select all

sfc /scannow
after i run the previous command it says that changes willnt activated untill the system restarted
so, after i restarted the system i found two things :
1) windows theme have been reset to basic standard windows theme
2) the problem get fixed

i share this for helping everyone else who faces the same problem
please mpack & all accept my best regards,,
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: failed to open a session for the virtual machine [Solved

Post by mpack »

So it sounds like "hacked theme" was a good guess.
Post Reply