vboxmanage guestcontrol execute
Posted: 5. Oct 2011, 17:35
Hi!
We're planning to upgrade our VirtualBox from 4.0.8 to the recently released 4.1.4 version.
But I'm having trouble with the new syntax of vboxmanage guestcontrol...
In 4.0.8 the following command was working perfectly:
vboxmanage guestcontrol execute "WinXP" "%SystemRoot%\system32\shutdown.exe" --username xxx --password yyy --arguments "-s -f -t 0"
Now in 4.1.4, this should be
vboxmanage guestcontrol "WinXP" execute --image "%SystemRoot%\system32\shutdown.exe" --username xxx --password yyy -- "-s -f -t 0"
But it doesn't work. With the option --wait-stdout, the shutdown.exe command outputs its syntax. So it seems to be that the arguments aren't passed correctly to the VM.
Anyone an idea how to pass arguments correctly to the Windows XP VM with the new syntax?
Or is there a bug?
Greetings,
We're planning to upgrade our VirtualBox from 4.0.8 to the recently released 4.1.4 version.
But I'm having trouble with the new syntax of vboxmanage guestcontrol...
In 4.0.8 the following command was working perfectly:
vboxmanage guestcontrol execute "WinXP" "%SystemRoot%\system32\shutdown.exe" --username xxx --password yyy --arguments "-s -f -t 0"
Now in 4.1.4, this should be
vboxmanage guestcontrol "WinXP" execute --image "%SystemRoot%\system32\shutdown.exe" --username xxx --password yyy -- "-s -f -t 0"
But it doesn't work. With the option --wait-stdout, the shutdown.exe command outputs its syntax. So it seems to be that the arguments aren't passed correctly to the VM.
Anyone an idea how to pass arguments correctly to the Windows XP VM with the new syntax?
Or is there a bug?
Greetings,