#6754 closed defect (fixed)
Error with VBoxManage guestcontrol
Reported by: | lasagne | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 3.2.0 |
Keywords: | guestcontrol | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
I was delighted to find that VirtualBox 3.2 added the ability for a host to execute commands on a guest. I upgraded VirtualBox from 3.1.8 to 3.2 this morning on both host (Windows Server 2003 R2 x64) and on guest (Windows 2000 SP4). When I tested out the new VBoxManage guestcontrol command, I got an error:
C:\Documents and Settings\Administrator>vboxmanage guestcontrol execute "Test VM" cmd.exe --username Administrator --verbose Oracle VM VirtualBox Command Line Management Interface Version 3.2.0 (C) 2005-2010 Oracle Corporation All rights reserved. Waiting for guest to start process ... ERROR: The service call failed with error VERR_SYMBOL_NOT_FOUND (E_UNEXPECTED).
I have tried it with the guest logged on and with the guest logged off; with full path to cmd.exe; with/without password; with wait-for specified, all to no avail.
Note that the guest has the following services disabled: Messenger, Schedule, LmHosts, Fax, W3SVC, IISADMIN, Browser. If VBox is using any of those services then that could be the problem.
Attachments (1)
Change History (4)
by , 15 years ago
comment:3 by , 15 years ago
Also the command should be slightly different, like this:
VBoxManage guestcontrol exec "MyVM" "C:\Windows\system32\cmd.exe" --arg "/C" --arg "dir /S 'c:\Windows\System32'" --verbose --wait-for stdout
-Technologov
vbox.log