Did you ever want another user then administrator to login and run the final stages of the Windows XP Lite Touch setup (State Restore etc..) Well here is how…
Background
When using Lite Touch for deployment, the administrator is used to autologon to finalize the setup process. Since sysprep resets the autologon user during sysprep minisetup, we have to set the name after that. The solution is to make use of cmdlines.txt, a feature in sysprep minisetup to launch scripts just before it saves it’s settings.
So I created two scripts, one that will change the user account, and one script that will stage cmdlines.txt to run it (and copy it to the local disk)
Step-by-step
- Download the scripts from this link
http://www.deployvista.com/Repository/tabid/71/ctl/EntryDetails/mid/396/EntryId/40/language/en-US/Default.aspx - Copy the scripts to your scripts folder and create en action in the Postinstall phase that will run the Z-UpdateCmdLines.wsf script.
Note: This sample script assumes that you have the new local admin user in the reference image already.