Auto Logon (XP) from Computer Startup Script

I am trying to get computers to autologon to an account set via a computer startup script in group policy.

The script sets the AutoAdminLogon registry entries set below:
SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\AutoAdminLogon
SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\DefaultDomainName
SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\DefaultUserName
SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\DefaultPassword

The script runs correctly and sets the registry entries for autologon, however, windows must be reading the autologon info from the registry before the script runs as it only takes effect next reboot.

I have enabled "Always wait for the network at computer startup and logon" in the group policy as well as enabling "Run logon scripts synchronously" and disabling "Run startup scripts asynchronously" (which I think is disabled by default anyways)

The only thing I can think of is to check the registry entries before setting them and reboot if needed.

Was just hoping for a better way without rebooting.
DFPITCAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cjcsoftCommented:
on XP, click on Start -> run
rundll32 netplwiz.dll,UsersRunDll

in the popup windows,  you can set the auto login account.
0
DFPITCAuthor Commented:
My issue is not actually setting the auto login account, its getting windows to auto login immediately after it has been set via the computer startup script.
0
B HCommented:
the group policy doesn't get read until the machine considers itself to be started, past the autoadminlogon
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
johnb6767Commented:
Description of the Windows XP Professional Fast Logon Optimization feature
http://support.microsoft.com/kb/305293

The above would make sense if it works from the reboot going forward (first reboot after an image, and GPO is applied). Possibly because you would be Asynchronous until your GPO is enabled to turn off the FLO, and start going synchronous.

Maybe set it in your image?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.