VirtualBox

Ticket #9632 (new defect)

Opened 3 years ago

Last modified 3 years ago

IGuest ExecuteProcess runs process forever

Reported by: sfoxover Owned by:
Priority: major Component: guest control
Version: VirtualBox 4.1.2 Keywords: IGuest ExecuteProcess
Cc: sfoxover@… Guest type: Windows
Host type: Windows

Description

I am trying to execute a Windows process on the Virtualbox image. I use IGuest.CopyToGuest which works fine. Then IGuest.ExecuteProcess. IProgress.WaitForCompletion waits until I manually kill the process on the remote machine. I tried IProgess.Cancel and this also fails. I am running a Powershell script on a Windows 7 64 bit image. The script works fine but its impossible to kill it via IProgress. Running the same command line manually in the Virtual box image works fine and exits as expected.

Change History

comment:1 Changed 3 years ago by sfoxover

Found a good work around for Windows VM's.  http://technet.microsoft.com/en-us/sysinternals/bb897553

WMI win32_process works great...

comment:2 Changed 3 years ago by frank

  • Component changed from guest additions to guest control
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use