Virtual Box Installation Error: "Invalid Drive: G: \"

I have been trying to install VirtualBox. However, I keep getting the error "Invalid Drive: G:. I do not have a G: drive.

I tried using subst G: C:\ and different versions of virtualbox but to no avail.

Any suggestions?

Thanks enter image description here]1


Solution 1:

Sorry for the very late reply, but I just had the same issue and was able to fix it.

My issue was that I had a drive labeled H: without a G: drive. What I did to fix it was:

  1. Open Disk Manager
  2. Right click on your drive with the last later. i.e. you have drive C: D: E: and H: click on H:
  3. Select change drive letter then "Change..." then change the letter to G:
  4. Click OK then you should be good to install VBox!

Solution 2:

This could be due to a past or failed install, in which case you will need to run regedit and delete the HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\VirtualBox key.