Here's the situation.....
We are running an automated Windows XP build based on an Unattend.txt script.
The regisrty is poked at the end of the installation to run a .cmd file following the windows installation.
The system logs on automatically (autoadminlogoncount) and starts the cmd file as expected.
Amongst other things the cmd file:
Joins the PC to the domain
Sets the default username, password and autoadminlogon registry keys in the winlogon folder of the registry before restarti
At time of reboot these values are definitely still set in the registry. However when the PC restarts (to automatically logon and run a further cmd file the machine has reset the default domain to the the local PC name.
I have an idea that this is something to do with the PC building the domain list for the first time after joining the domain.
Any ideas either why it doesn't work or how to make it automatically log on for the first time after joining the domain.