Page 1 of 1

"'VirtualBox' is not a valid short file name." when installed drive letter was changed.

Posted: 11. Mar 2021, 15:54
by Takelus
A dialog with message "'VirtualBox' is not a valid short file name." when installed drive letter was changed.

In past day, I installed VirtualBox as "D:\brabrabra\VirtualBox\VirtualBox.exe".
And recentlly, My PC is not working properly.
So currently drive letter "D:" points my SD card reader and my second SSD assigned as "E:".

In these state, whenever starting VirtualBox and it's installer,
I'm getting a dialog with message "'VirtualBox' is not a valid short file name."

Newer installer VirtualBox-6.1.18-142142-Win.exe behaves so.
Current set up wizard from "Apps & features" windows setting also too.

How can I clean broken configuration?

Re: "'VirtualBox' is not a valid short file name." when installed drive letter was changed.

Posted: 12. Mar 2021, 01:52
by scottgus1
Takelus wrote:I installed VirtualBox as "D:\brabrabra\VirtualBox\VirtualBox.exe".... currently drive letter "D:" points my SD card reader and my second SSD assigned as "E:".
Drive letters are used throughout Windows for installed programs and registered drivers & dll's. Changing the drive letter for a drive containing an installed program will hose that program for sure. And the MSI installation database probably remembers the old drive letter so won't uninstall Virtualbox either.

You'll need to change the drive letter back. Web-search how to do so.

Virtualbox should be installed in the default "C:\Program Files". The VMs can be anywhere.

Re: "'VirtualBox' is not a valid short file name." when installed drive letter was changed.

Posted: 13. Mar 2021, 04:41
by Takelus
Thanks for information and advice!

I restored drive letters and settings.
Now everything works fine.

I have a too tiny partition for "C:" (this was my very first mistake), so I decided mounting my second SSD as C:\mnt\brabrabra.
And I will try to re-install VirtualBox as C:\mnt\brabrabra\VirtualBox.

Anyway, I went back to somewhere I can reconize. Thank you!!