Hi Guys, appreciate your help on this. We have script (see below) that calls upon 3 Kaseya agent procedures to run on Windows 7 64 bit PC's. What we want this script to do is
1. Reboot PC and log in as local administrator (autologin)
2. install applications that requires local admin rights, turn off autologin from point 1
3. Reboot PC to login prompt for user to log in as themselves with application installed but no local admin rights.
After the first procedure (see below) the target PC reboots and the 1st procedure starts again however we want the PC to reboot and the script to then start the second and third procedures (not included below) in order to complete the task.
This script is an attempt to work around the issue we faced here http://community.kaseya.com/xsp/f/28/p/13306/65071.aspx#65071
I do not see where you schedule the 2nd/3rd steps in this script? How do you have these scheduled?
You should set a step in this script to schedule a procedure, and schedule the 2nd step for 15 minute delay. Set this step right before the reboot step. In your 2nd script, have it schedule the 3rd step after all steps have finished running.
Should try the Autologon tool from Sysinternals it would make what you are trying to do loads easier