1 of 1 people found this helpful
Is this Windows XP or Windows 7? Windows 7 you can set it to auto-logon as any account you want to using the Unattend.xml file. A requirement for this would be to join the domain with the unattend file as well...otherwise it would fail the login attempt.
If you want to do this in Windows XP (or with Windows 7 when you join the domain by a provisioning step) there are still ways to do this but it's a little more cumbersome...and involves a little trickery A basic explaination is this:
1. Set auto-logon with admin account as usual.
2. Kill the autoadminlogon registry key from HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
3. Use the Sysinternals autologon tool to set auto-logon
4. Use a provisioning reboot step
5. Complete what you want to do
6. Use Sysinternals autologon tool to disable autologon.
Sorry, forgot to mention that I am using Win7 64 bit provisioned by LD 9 SP3. I had previously tried setting the auto-logon in the OOBE pass in the unattend.xml, but it was giving me an error message about the security database not having a record for the computer account when it tried to log on.
I had a script that ran from the setupcomplete.cmd to prompt for a new machine name. I joined the machine to the domain in the unattend.xml but, I guess the timing was such that the new machine name had not synched to AD and required a reboot to take affect. Not desirable in this process because it stopped the provisioning process until a reboot and maual login. I removed the rename script from the setupcomplete.cmd and it auto-logson fine. The rename can be done later in the process.
Thanks for your help.
You have to set the computername in the Specialize phase of the unattend.xml. Since specialize happens after the very first boot, you have to configure the unattend.xml with the computer name while the computer is still in Windows PE.
The way to do this is to generate your Unattend with a specific string in place of the computer name. ie. XYZ123... then you have to prompt for a computer name while still in Windows PE....open the unattend.xml file and substitute the new computer name. After that...all will work as you want it to.
I personally use an AutoIT Script to prompt for computer name, and do the text replace in the unattend.