AutoLogon does not work after deploying a sysprepped XP image through WDS

Hi,

I'm just starting to look into using WDS for deploying XP.  (Currently using legacy RIS.)  I've successfully created a multiprocessor image in VMware and can deploy it on all of our hardware without issue.  Computer names are persistent as with RIS, everything looks good.

However, we seem to have lost the ability to initially AutoLogon as a local administrator.  This is useful for post image, machine specific tweaks and whatnot.  Right now, on first boot the machine is named correctly and in the right OU in AD, though the logon screen actually has a solid black background, versus the standard default user blue;  Also, no GPOs are applied.  If AutoLogon=yes is specified in the sysprep.inf you get an error:

"The system could not log you on.  Make sure your user name and domain are correct..."

I have logged on immediately as the local admin at this point.  The correct credentials and machine name are specified in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon."  Logging off then yields the same error again.

After rebooting GPOs are applied, assigned apps filter down and the logon screen goes back to normal.  Though the AutoLogon credentials seemed to be removed from the registry at this point.

I've copied the contents of the c:\sysprep folder to the WDS server:

\\servername\reminst\Images\WindowsXP\Base\$OEM$\$1\sysprep

According to c:\Windows\Panther\setupact.log the above path is detected and all files copy successfully.
If it makes a difference, I'm currently using a pristine boot.wim from Windows 7.  I'm running sysprep pre-capture with -quiet -mini -reseal -reboot switches.  Trimmed copy attached.

If anyone can help sort out the black logon screen of doom it would be much appreciated!

Thanks!
;SetupMgrTag



[Data]

    AutoPartition=1

    MsDosInitiated=0

    UnattendedInstall=Yes



[Unattended]

    UnattendMode = FullUnattended

    OemSkipEula=Yes

    OemPreinstall=Yes

    OemPnPDriversPath="\drivers\(removed for space)"

    InstallFilesPath=C:\sysprep

    ConfirmHardware=No

    OverwriteOemFilesOnupgrade=No

    DriverSigningPolicy=Ignore

    UpdateInstalledDrivers=Yes

    ExtendOemPartition=1

    FileSystem=ConvertNTFS

    Repartition=Yes

    TargetPath=\Windows

    UpdateUPHAL="ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf"



[GuiRunOnce]



[GuiUnattended]

    AdminPassword=xxxxxxxx

    EncryptedAdminPassword=No

    AutoLogon=Yes

    AutoLogonCount=1

    OEMSkipRegional=1

    TimeZone=35

    OemSkipWelcome=1



[UserData]

    ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

    FullName="Company Name"

    OrgName="Company Name"

    ComputerName=%MACHINENAME%



;[Proxy]

;    HTTP_Proxy_server=http://proxy:8080

;    Use_SameProxy=1



[Branding]

    BrandIEUsingUnattended=Yes



[Display]

    BitsPerPel=32

    Xresolution=1024

    YResolution=768

    Vrefresh=60



[TapiLocation]

    CountryCode=1

    Dialing=Tone

    AreaCode=586

    LongDistanceAccess="9"



[Components]

    ;accessopt=ON

    calc=ON

    ;cdplayer=ON

    certsrv=OFF

    certsrv_client=OFF

    charmap=ON

    chat=OFF

    deskpaper=OFF

    dialer=ON

    freecell=ON

    hyperterm=ON

    iis_common=OFF

    iisdbg=OFF

    iis_doc=OFF

    iis_ftp=OFF

    iis_htmla=OFF

    iis_inetmgr=OFF

    iis_nntp=OFF

    iis_nntp_docs=OFF

    iis_pwmgr=OFF

    iis_smtp=OFF

    iis_smtp_docs=OFF

    iis_www=OFF

    indexsrv_system=OFF

    ;media_clips=ON

    ;media_utopia=ON

    minesweeper=OFF

    mousepoint=ON

    mplay=ON

    msmq=OFF

    mswordpad=ON

    netcis=OFF

    netoc=OFF

    objectpkg=OFF

    paint=ON

    pinball=ON

    ;rec=ON

    solitaire=ON

    ;templates=ON

    vol=ON



[SetupMgr]

    DistFolder=C:\sysprep\i386

    DistShare=whistlerdist



[Identification]

    JoinDomain=%MACHINEDOMAIN%

    DoOldStyleDomainJoin=Yes



[Networking]

    InstallDefaultComponents=Yes



[SysprepMassStorage]

; Added for Intel SATA Controller Support

PCI\VEN_8086&DEV_2652&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_2653&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_27C1&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_27C5&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_2681&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_2821&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_2652&CC_0104=C:\Drivers\SATA\iastor.inf

PCI\VEN_8086&DEV_27C3&CC_0104=C:\Drivers\SATA\iastor.inf

PCI\VEN_8086&DEV_2682&CC_0104=C:\Drivers\SATA\iastor.inf

PCI\VEN_8086&DEV_27C6&CC_0104=C:\Drivers\SATA\iastor.inf

PCI\VEN_8086&DEV_2822&CC_0104=C:\Drivers\SATA\iastor.inf

PCI\VEN_8086&DEV_2829&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_282A&CC_0104=C:\Drivers\SATA\iastor.inf

PCI\VEN_8086&DEV_2922&CC_0106=C:\Drivers\SATA\iaahci.inf

PCI\VEN_8086&DEV_5029&CC_0106=C:\Drivers\SATA\iaahci.inf

; End of drivers added for Intel SATA Controller Support

;

; Generic drivers

pci\ven_8086&dev_2651&cc_0101=c:\Windows\inf\mshdc.inf

pci\ven_8086&dev_2652&cc_0101=c:\Windows\inf\mshdc.inf

pci\ven_8086&dev_2653&cc_0101=c:\Windows\inf\mshdc.inf

pci\ven_8086&dev_266f=c:\Windows\inf\mshdc.inf

pci\cc_0101=c:\Windows\inf\mshdc.inf

primary_ide_channel=c:\Windows\inf\mshdc.inf

secondary_ide_channel=c:\Windows\inf\mshdc.inf

Open in new window

LVL 1
sschullAsked:
Who is Participating?
 
Netman66Commented:
Is your password blank?  Does it meet complexity requirements?  I realize it's a local account, but I have to ask.

0
 
sschullAuthor Commented:
It is there in the actual sysprep.inf.  It also does meet the complexity requirements.

Thanks though!
0
 
Netman66Commented:
Does it successfully join the domain?  Autologon won't work if there is a disclaimer screen before you logon.

It is normal for GPOs to take one reboot after a join to apply - turn off Fastboot in the Domain GPO.

Computer Config>Admin Templates>System>Logon:: Always wait for the network at computer startup and logon=ENABLED
0
 
sschullAuthor Commented:
It does successfully join the domain, name and OU are also correct.  No disclaimers are enabled.  We actually have that policy in place as well.  Network appears to be up immediately.  I can log on right away with domain credentials.
0
 
sschullAuthor Commented:
Turns out that is was a very simple mistake...  The case of one letter in the password specified in sysprep.inf was incorrect.  Thanks Netman66 for playing Captain Obvious for me ;-).

Also, for anyone else that stumbles across this.  cmdlines.txt still seems a bit useless with WDS, even after getting AutoAdminLogon to work.  I resolved my original issue by issuing a "shutdown -r -f -t 10" as a GuiRunOnce command.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.