Samstag, 10. Juli 2010 17:06
I have a problem with my Vista computers that don't run the login script any more after a reboot. The problem appeared after running a batch file to replace some dll of an application.
Some more details and tests that I've already done :
-Computers are running Windows Vista and are set up to logon automatically with a generic user account and then a login script launches a specific application that supervise a production line. The login script is set in the AD and not in the GPO.
- The login script doesn't work after a reboot of the computer : the auto logon works but once the session is opened nothing happens ! Moreover, we are not able to launch the application manually (when launching it, nothing happens and no message error).
- If I logoff and log back on "manually" by entering the password ourselves,the script runs as expected : the application is launched and works fine!
If looks as if some services are not running (svchost ???!) when booting the computer I guess, as I'm not able to access the registry remotely (and before the batch update it was possible).
If I disable the Autologin in the registry then the problem disappears : after a reboot when I logon manually the script works fine.
But I NEED the autologin to work as well as the script! I have no idea what's going on... :o(
Thanks for your help !
Montag, 2. August 2010 05:26
@Cora84: Have you solved this problem yet?
I have been having the exact same issue on Windows 7 computers that use the sysinternals autologon.exe utility. Never had the problem in XP. And just as you state, when manually logging on, the script runs fine. Very frustrating. Been searching the web for days.
Thanks for any insights you may have...
Donnerstag, 1. März 2012 18:58
@Papa Joe Dee
I had the same issue with Sysinternals Autologon.exe and resolved it using either of these methods:
1. Use Group Policy to run the application at logon, set this in the User Configuration settings
2. Remove the script from the users AD profile and call the login script using Group Policy
I'm using 1. but I tested both and it works either way. The reason the AD script does not run after restart with Autologon is due to the user environment not being fully loaded when the AD login script runs. On subsequent logoff/logon this is not the case so the AD script runs OK.
Hope this helps.
- Als Antwort vorgeschlagen BennK Donnerstag, 1. März 2012 18:58