VirtualBox

Ticket #6754 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Error with VBoxManage guestcontrol

Reported by: lasagne Owned by:
Priority: minor 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

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

Change History

Changed 4 years ago by lasagne

vbox.log

comment:1 Changed 4 years ago by frank

Confirmed. Hopefully fixed in the next release.

comment:2 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Should be fixed in VBox 3.2.4.

comment:3 Changed 4 years ago by Technologov

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.

www.oracle.com
ContactPrivacy policyTerms of Use