WinAutomation - windows automation software with macro recorder

      How To - Implement Autologin

      In WinAutomation, you can execute a job in the background only if you do not use any interactive actions to build it. Interactive actions include all actions under "Windows" category (e.g "Focus Window", "Close Window" etc) and "Mouse and Keyboard" category (e.g "Move Mouse", "Send Keys" etc). If you do use such actions, you will not be able to run the job in the background (e.g. when there is no user logged in the machine or when the computer is locked). Of course, if your job includes file and folder related actions, or sending emails, zip files, ftp, then you can totally use the machine to execute other tasks while your job is running in the background.

      If you absolutely need to automate the login process, you will have to use the executable that is attached, as well as a job that runs the exe to login and calls the main job. You may test the scenario by following the steps bellow:

      1) Save the attached file "AutoLogin.exe" into the root folder of your c: drive.

      2) Import the attached job "AutoLoginJob.waj" into WinAutomation (File->Import Job)

      3) Edit the job. This job contains a single "Run Application" action that runs "AutoLogin.exe". In the "Command Line Arguments" property of the action replace "UserName" with the appropriate username and "Password" with the appropriate password.

      4) Attach a Schedule trigger to the job so that it will run automatically after a couple of minutes (in the Schedule Trigger dialog choose "Fire Trigger: On Specific Dates" and add the current date and the current time plus a couple of minutes).

      5) Log off (or lock the workstation) and wait

      After a few minutes the trigger will fire, the AutoLoginJob will run and the specified user will automatically log in. You can add a "Run Job" action to this job in order to call the main job that will perform the GUI automation after the login is completed. The last action of your main job could be a "Log Off" action to automatically log off.

      Note that you will need to disable the "Welcome Screen" option in order for this solution to work. For more information on how you can do that please check the article here.

      Keep in mind that the above solution will not work under Windows Vista, due to enhanced security of the new OS. Also, currently it does not work if you have WinAutomation installed locally and you are trying to autologin in a remote desktop machine.

      AttachmentSize
      AutoLoginJob.waj13 KB
      AutoLogin.exe12.5 KB
      Your rating: None Average: 5 (3 votes)

      Comments:
      #1 by D.M.Altizer - Wed, 01/20/2010 - 16:39

      The xml file format was used in WinAutomation v2. You will have to update to the latest version of WinAutomation (v3.0.3.410) in order to be able to import waj files.



      #2 by aydin ozdemir (not verified) - Fri, 11/20/2009 - 11:33

      hi,
      by the way it is called "auto log on" not as written here "auto log in"



      #3 by posizionamento motori di ricerca (not verified) - Wed, 09/30/2009 - 15:40

      Hi great software indeed!
      My problems is I downloaded the two files for the auto login
      But WA won't recognize other files than .xml
      when importing job.
      Can you help me?



      #4 by Sven Bleckwedel (not verified) - Tue, 08/18/2009 - 22:31

      Hi,

      For the case of Windows Vista and XP, could be adequate to use these other tools to obtain the same effect ? Links:

      http://www.logonexpert.com/freeautologon.html

      http://technet.microsoft.com/en-us/sysinternals/bb963905.aspx

      Regards,
      Sven



      Post new comment

      The content of this field is kept private and will not be shown publicly.
      • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
      • Lines and paragraphs break automatically.
      • Web page addresses and e-mail addresses turn into links automatically.
      • You may quote other posts using [quote] tags.

      CAPTCHA
      This question is for testing whether you are a human visitor and to prevent automated spam submissions.
      Image CAPTCHA
      Enter the characters shown in the image.



      Featured Clients