Windows Vista, Windows 7 RunProgramInGuest reaches timeout

Apr 15, 2010 at 4:05 PM
Edited Apr 15, 2010 at 4:12 PM


Has anyone managed to run notepad.exe from the sample code in Vista/Server 2008/Windows 7?

I succeeded in Windows XP 32 and 64 bit after setting autologin behaviour

But Vista and Windows 7 seems to be different...

In Windows 7 Home Premium

at executing 

virtualMachine.RunProgramInGuest("notepad.exe", string.Empty);

I get:

System.TimeoutException : The operation has timed out.
at Vestris.VMWareLib.VMWareJobCallback.WaitForCompletion(Int32 timeoutInMilliseconds)
at Vestris.VMWareLib.VMWareJob.Wait(Object[] propertiesInt32 timeoutInSeconds)
at Vestris.VMWareLib.VMWareVirtualMachine.RunProgramInGuest(String guestProgramNameString commandLineArgsInt32 optionsInt32 timeoutInSeconds)
at Vestris.VMWareLib.VMWareVirtualMachine.RunProgramInGuest(String guestProgramNameString commandLineArgs)
at JetBrains.OsTestsFramework.OsTest.PerformTest() in OsTest.cs: line 16
Apr 15, 2010 at 5:12 PM

This is a good question for VixCOM list.

Apr 15, 2010 at 6:14 PM
Edited Apr 16, 2010 at 9:46 AM

Thanks for the direction.

I have found that program actually program is executed but just not visible at desktop.

A console unit test runner works ok - I get a test run result in file, so everything is cool.