VirtualBox

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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)

VBox.log (38.9 KB ) - added by lasagne 14 years ago.
vbox.log

Download all attachments as: .zip

Change History (4)

by lasagne, 14 years ago

Attachment: VBox.log added

vbox.log

comment:1 by Frank Mehnert, 14 years ago

Confirmed. Hopefully fixed in the next release.

comment:2 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

Should be fixed in VBox 3.2.4.

comment:3 by Technologov, 14 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

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use