Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

RunProgramInGuest program unvisible on windows 2008 r2 64bit os

$
0
0

 

I meet a proble when using  RunProgramInGuest, the program is unvisible on win2008 r2 64 bit os.

 

 

The Esx server version is 3.5i, the VIX is 1.6.2. Below is the sample code,

 

 

Set job = VM.LoginInGuest(userId, userPassword, VixCOM.Constants.VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT, Nothing)

 

 

+Set job = VM.RunProgramInGuest("cmd.exe", "",

VixCOM.Constants.VIX_RUNPROGRAM_ACTIVATE_WINDOW, Nothing, Nothing)+

 

I did use the  VixCOM.Constants.VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT and  VixCOM.Constants.VIX_RUNPROGRAM_ACTIVATE_WINDOW, but the program still can't be visible to the console, I could find it in task manager like "cmd.exe *32". Any advice, thanks

 

 


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>