Automatically Starting Oracle VirtualBox VMs on Windows the Quick and Dirty Way (Do Not Use)

Before I start I should put forward that since Oracle VM VirtualBox brought autostart-as-a-service support to Windows the correct way to do this is covered in the official documentation: 9.21.4. Windows: Starting the Autostart Service.

Even before that, more sophisticated and ideologically correct ways to do this were devised in the wider community out of necessity:

But as I retire (thank god) an old Windows VirtualBox server I had to rush many moons ago I am inclined to record this hot tip straight out of the Windows 95 era for posterity. See, back in my day savvy Power Users started their applications by dropping shortcuts in the Start Menu > Startup folder - and while it's not obvious on modern versions of Windows this directory (in fact several of them, scattered in the various locations that are merged into the actively displayed Start Menu) is still alive and kickin'. This method depends on your VirtualBox VM administrator account automatically logging in - i.e.: passwordless. Because if you're going to half-ass a server go all the goddamned way.

  1. In the VirtualBox Manager GUI right-click on the desired virtual machine(s) and select Create Shortcut on Desktop
  2. Open the Run prompt by pressing Meta (Windows) Key + R and entering shell:startup or open an instance of File Explorer and in the address bar type %appdata%\Microsoft\Windows\Start Menu to zip to C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  3. Cut the VM shortcuts from your desktop and paste them into your Statup folder
  4. Crack a beer and land those puppies up on the desk: you are MCSE Material(tm).


There are no comments for this item.