/build/static/layout/Breadcrumb_cap_w.png

Continue autologin after connecting to a domain

Hi

I am trying to redeploy XP. Things are going fine, I have my base image we will be deploying just about everything through Citrix, however I am having one problem that is driving me nuts!

I install the image fine from sysprep and then use a script in the HKLM...Run which calls my routines to rename the PC from its bios, Joins the PC to the domain and changes the auto login to be a domain login, add various domain groups to local groups for local file rights, installs some apps like the Citrix client cleans itself up and so on.

I have had this script working on a previous image, but now when I import my registry file to change the local login to a domain login it does not retain the imported registry file settings.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"AltDefaultUserName"="Administrator"
"AltDefaultDomainName"="Our Domain"
"AutoAdminLogon"="1"
"DefaultUserName"="Administrator"
"DefaultPassword"="password"
"DefaultDomainName"="Our Domain"


Any ideas before I pull all my hair out?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: jstorino 13 years ago
Senior Yellow Belt
0
I ran into this the other day. My registry information imported successfully, but the DefaultDomainName key was being changed.

I was able to determine that we had a group policy object that ran a system startup script that included a section that would change the Default Domain Name back to our main AD domain. The problem is that in order for AutoAdminLogon to work properly, you need to reboot the computer, then the Domain GP objects are applied, then the user is allowed to login. Since the Domain GP is applied before the GP settings are applied, autoadminlogon would never work properly.

I worked around this by adding the computer to an OU where this GP didn't apply.

Not sure if this exactly relates to your problem, but it is worth investigating
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ