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...
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)
- Download the scripts from this link
- 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.