Page 1 of 1

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

Posted: 8. Feb 2016, 13:05
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,,

Re: failed to open a session for the virtual machine

Posted: 8. Feb 2016, 14:24
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.

Re: failed to open a session for the virtual machine

Posted: 8. Feb 2016, 14:39
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,,,

Re: failed to open a session for the virtual machine

Posted: 8. Feb 2016, 15:06
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,,

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

Posted: 8. Feb 2016, 17:38
by mpack
So it sounds like "hacked theme" was a good guess.