A Logon Script created with AutoIT causes XP Workstations to hang during Windows Logon. The problem does not occur if AutoProtect is disabled.
The problem can also occur after a succesful logon. Executing the script either from the network share or locally, may also cause the XP Workstation to become unresponsive.
No Error messages will be logged, but typical symptoms are that the Workstation no longer responds to mouse or keyboard input.
This is caused by a known AutoIt limitation (for details, see www.autoitscript.com/autoit3/docs/functions/RunAsWait.htm)
Use RunAsWait with the logon_flag set to "0" to avoid loading the profile and thus the problem.
Example:
ret1 = RunAsWait("User","Domain","Password",0,@SystemDir & "\net.exe localgroup "& $administrators & " " & chr(34) & $add[$x] & chr(34) & " /add",@SystemDir,@SW_HIDE
Applies To
The issue appears to occur on XP Workstations with SEP 12.1.2 only.