5
I created a windows service to configure my VM in mode Headless, with the command:
sc.exe create DailyLubuntu binpath= "\"C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe\" startvm Daily LUbuntu - Lucas" DisplayName= \"Daily Lubuntu VM" start= "auto"
The service was successfully created, but when I will initialize the service with the command:
> net start DailyLubuntu
, this error appears:
System error 2. The system cannot find the specified file. For more help, type NET HELPMSG 2186.
If you try to start the VM from Virtualbox, it works?
– Leonel Sanches da Silva
When I start with Virtualbox it works
– Livisghton
Just to warn you. At this point there are 3 votes to close your question as out of scope for not being about programming (but none of these votes are mine). Personally, I wouldn’t know if the closure for this reason is valid or not.
– Victor Stafusa