The first time XP restarts after the unattended install, the AutoAdminLogon=1 value in registry gets set to 0, and DefaultPassword also gets removed.
Under NT 4, after our automated install of NT, we run a script that installs all our common applications.
Under Win XP I'm trying to do the same thing, but here's what happens:
In Unattend.txt, under the [GUIRUNONCE] I call my script (stage.exe) - it launches fine, and since I have 3 steps in it, I have it log off, reboot and call itself again with a parameter of 2 (for step 2) via the runonce key.
Here's the crux of the matter. Before the script logs off and reboots, I set the AutoAdminLogon to 1 and put the settings in for Administrator to log on. However, it seems that after XP runs the script called by GuiRunOnce, it sets the AutoAdminLogon back to 0 !!!!! Thus, to carry on my script, I have to manually log in - this only happens after the first step (From XP's viewpoint, after it runs the script it calls from GuiRunOnce, 'cause it doesn't know about the multiple steps).
Thus my questions - do you know how to remove this 'feature'? Is there perhaps a 'shutdown' script that is run after the XP setup which is removing these settings?
Any advice would really help