virtualMachine.LoginInGuest not working with vmplayer 3.1

Oct 26, 2011 at 1:53 AM

Hello,

I am using vmplayer 3.1 with a windows xp pro guest (vix & vmware tools installed) and having issues getting vmwaretasks to LoginInGuest(). The guest vm starts up but just stays at the login screen. Am following the examples in the vmwaretask VMWareTasks.chm help file. Here is snippet of my code:

 

virtualMachine.PowerOn();

virtualMachine.WaitForToolsInGuest();

virtualMachine.LoginInGuest("Administrator", "supersecretpass");


 Any ideas as to what could be causing this?

Coordinator
Oct 26, 2011 at 2:40 AM

It logs you in, just not at the session you're looking at. It's not simulating clicks or anything. 

Developer
Dec 25, 2011 at 12:48 AM

Here is a relevant Microsoft support article:

How to turn on automatic logon in Windows XP

http://support.microsoft.com/kb/315231