Tuesday, December 20, 2011

Run VirtualBox VM in Background with Microsoft Remote Desktop Access

Following VirtualBox command can be used to run VM in background.  VMName is the name of the VM (NOT the windows host name), --vrde=off turn off the built in virtual remote desktop which may interfere with Microsoft Remote Desktop access.

"C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --startvm VMName --vrde=off

Above VirtualBox command will display a Dos command window until VM shutdown.  A tool called Hidden Start from http://www.ntwind.com/software/hstart.html can hide the dos command window, make the VirtualBox command completely in background and windowless.

"C:\Program Files (x86)\HiddenStart\hstart.exe" /NOCONSOLE ""C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --startvm VMName --vrde=off"

Before running VirtualBox VM in background with above commands, make sure to disable Shared Clipboard for all the VMs.  Otherwise, the windows clipboard function may not function properly.

No comments:

Post a Comment