virtualMachine.LoginInGuest not working with vmplayer 3.1

Oct 26, 2011 at 2:53 AM


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.LoginInGuest("Administrator", "supersecretpass");

 Any ideas as to what could be causing this?

Oct 26, 2011 at 3:40 AM

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

Dec 25, 2011 at 1:48 AM

Here is a relevant Microsoft support article:

How to turn on automatic logon in Windows XP