[Solved] Virtual Box Error VM Sesssion Was Closed Before Any Attempt to Power It On

For a random reason today when I tried to launch an Ubuntu or Manjaro VM using VirtualBox I was getting the following error

The VM Session was Closed Before Any Attempt to Power it on, VirtualBox Error. Checking the Error details further gave this

The VM Session was aborted, Result Code E_FAIL (0x80004005), Component SessionManage

I tried the following solutions that came up on Google to no avail :

I was about to remove VirtualBox and reinstall when it struck me as to what could be the issue. I dual boot windows 10 and Ubuntu 19.04 and my virutal machines are stored on another internal platter drive. When you are using Windows and then shut down, there are certain times if something goes wrong and it doesnt shut down properly, Windows leaves the internal drive as read only. In that state, under Ubuntu (or any other distro) the drive will mount, but you cant do anything on it - no new files, no new folders, access files etc.

The simplest solution is to boot back in to windows and simply restart. When it shuts down properly, the drive is no longer read-only and Ubuntu along with VirtualBox can then access the VMs again and should now start successfully.

Comments

comments powered by Disqus