howto service virtualbox widows vista

Feb 03, 2010 I Uncategorized.

by galaxymike » 17. Feb 2009, 07:28

I wish to tell you as I started VirtualBox as service under Windows Vista.

1) run `cmd` and write:
sc create VirtualServer binPath= “%SystemRoot%\System32\srvany.exe” start= auto DisplayName= “Virtual Server”
2) run `regedit` and goto ‘[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VirtualServer]’
2.1) add section ‘Parameters’
2.2) add key ‘Application’ equal ‘C:\Program Files\Sun xVM VirtualBox\VBoxHeadless.exe’ to section ‘Parameters’
2.3) add key ‘AppParameters’ equal ‘startvm -vrdp=off’ to section ‘Parameters’
2.4) add key ‘AppDirectory’ equal ‘C:\Program Files\Sun xVM VirtualBox\’ to section ‘Parameters’
3) run `mmc` and goto ‘Computer Configuration/Windows Settings/Scripts/Shutdown’ and add script with line:
vboxmanage controlvm savestate
4) copy ‘.VirtualBox’ from ‘C:\Users\\’ to ‘C:\Windows\System32\config\systemprofile\’


P.S.: Obtain copy of srvany.exe from the appropriate Windows Resource Kit.galaxymike

Posts: 1
Joined: 17. Feb 2009, 06:48

Comments are closed.