Autologin and Windows Vista

As mentioned in a previous blog entry, Autolog can be used to create a Windows workstation that logs in automatically with ease. This utility still works on Windows Vista! One snag that I did run into however is that the IBM MAPICS built-in client autologin feature does not work under Windows Vista. We can get around this problem with AutoIT. AutoIT is a freeware scripting language that’s pretty easy to understand. After Googling a bit, I found a cheat sheet that some made that had the common AutoIT commands.

After installing AutoIT, it will execute any script that ends in AU3. I already had the iSeries client in the Startup folder (incidentally, a retarded path: C:UserstestloginAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup). We want to wait for the login screen, input the login and password, wait a short time, input the character “1” and then hit enter.

Here’s the code I used:

WinWaitActive(“Signon to iSeries”)

You literally have to think out each step and input that into the script since this is simulating human input. The other trick to this is that the window has to have focus. A window can lose focus if a pop-up message comes up or a user clicks off from the window. Since this is a time clock kiosk, this really is not an issue.

The Shared Computer Toolkit is been changed to Windows SteadyState for Windows Vista. Unfortunately, that was not available at the time of this post. However, using local group policy, I was able to lock as tight as I would have using SCT.

– Soli Deo Gloria

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.