Starting a VM on login in Workstation


Whilst I’ve been considering getting a VPS, I’ve been playing around with Debian in a VM, and I’ve also been using an Ubuntu Server VM to tunnel IRC when I’m at school. Sometimes though, I forget to start the VM before I leave, and a boring lecture becomes even more boring with nothing else to do.

After some searching though, I found a way to start a VM from the command-line, and then threw that in HKCU\….\Run to start up when I log in. It’s surprisingly simple:

"C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" -T ws start "D:\Virtual Machines\Debian\Debian.vmx" nogui

Since I autologin, now I only need to worry about not turning my computer on.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: