howto service virtualbox widows vista
No response, Feb 03, 2010by galaxymike » 17. Feb 2009, 07:28
Hello,
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
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
4) copy ‘.VirtualBox’ from ‘C:\Users\
Enjoy!
P.S.: Obtain copy of srvany.exe from the appropriate Windows Resource Kit.galaxymike
Posts: 1
Joined: 17. Feb 2009, 06:48