×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

XP Pro Sysprep and AutoLogon

XP Pro Sysprep and AutoLogon

XP Pro Sysprep and AutoLogon

(OP)
I am trying to install a large quantity of computers using sysprep and then a cloning software.  The problem I have is that we want the computers to Auto Logon to a user account after sysprep is done and I am having trouble because sysprep is changing the registry keys for AutoLogon forcing me to manually log on to make the change for every computer.

The process I am trying is this:
In sysprep I have it configured to log on as the administrator automatically once where I have it run a VBScript to make some configuration changes such as computer name and enable AutoLogon, and then restart the computer. But after the computer restarts it does not AutoLogon and I need to manually log on and rerun that portion of my script.
BUT if I don't have sysprep automatically log on as the administrator and do it myself my script runs and after the reboot it works perfectly.

I am thinking that sysprep must clear the AutoLogon registry keys because it thinks that it needs to so that it doesn't continue logging on as administrator, but I have changed the keys so I don't want it clearing them out after I have changed them. I just don't know how to make this happen.

The keys I am changing in my script are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
AutoAdminLogon="1"
DefaultUserName="UserName"
DefaultPassword="Password"

I know that somebody out there has to have faced this situation before, but I cannot find any solution, so any help would be appreciated, or just a link to where I can find a solution.

Thanks for your time.

RE: XP Pro Sysprep and AutoLogon

In your sysprep.inf try adding the following lines under
[Guiunattended] and populate with the appropriate values


AdminPassword=(the password should be in quotation marks)
EncryptedAdminPassword=
AutoLogon=
AutoLogonCount=

I believe that Autologon value would be yes and autologoncount value would be 1.  In regards to the password I have only seen this work when the password is in plain text and the EncryptedAdminPassword=no.  I think the better way to go is to set this value to yes and make sure the password is in fact encrypted.  I have not however seen this configuration work.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close