Opened 9 years ago
#15437 new defect
"VBoxManage list runningvms" does not work with the windows taskplaner
Reported by: | Mike446 | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 5.0.20 |
Keywords: | commandline handling | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
Hello, i set up my system (Windows 6.3.9600) that the guest (Ubuntu) is starting after systemstart under the permissions of the user "VM-Helper" If i use the command 'C:\Windows\System32\runas.exe /user:VM-Helper /savecred "VBoxManage startvm Ubuntu --type headless"' (running in the VB dir) i can see the status in the GUI with the command 'C:\Windows\System32\runas.exe /user:"VM-Helper" /savecred "VirtualBox.exe"'. But if i start the task "%programfiles%\Oracle\VirtualBox\VBoxManage startvm Ubuntu --type headless" (running in the VB dir) as VM-Helper the status can't be read out by VirtualBox.exe and VBoxManage.exe list runningvms".
I was very pleased if you can reconstruct it. The VM starts in both cases, the permissions/user are/is right (acc. to taskmanager and log). I have tried detours over batch-files ecetera... If i want to start the VM again over the GUI as VM-Helper with a still running instance, (of course) i'll get the error "E_FAIL (0x80004005)"