I created a service in windows to be able to configure my VM in Headless mode, 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 created successfully, but when I start the service with the command:
> net start DailyLubuntu
, this error appears:
System error 2. The system can not find the file specified. For more help, enter NET HELPMSG 2186.