Ticket #9632 (closed defect: obsolete)

Opened 7 years ago

Last modified 21 months 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


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 7 years ago by sfoxover

Found a good work around for Windows VM's.

WMI win32_process works great...

comment:2 Changed 7 years ago by frank

  • Component changed from guest additions to guest control

comment:3 Changed 21 months ago by aeichner

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

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use