Systems Deployment Question

Unattend XML Activate build in admin error

06/28/2012 4180 views


I've been trying to create a new unattend.xml for W7 SP1 and it has given me way too much trouble now,

The issue being that as long as I use "net user administrator /active:yes" as a synchronous command inside the Specialize section everything seems to break and windows isnt able to load after sysprepping due to windows not being able to parse something within the specialize section.

If I remove the synchronous command then everything works fine, apart from the fact that I've got no account to log on to.


Basically what I need is a XML that does:

Not remember drivers
Activates the local built in administrator account with my password of choice
Not show any EULA section that allows you to select wifi settings / network location, ask for computer name or anything.

After the .wim is deployed I want it to go straight into the windows login screen without automatically logging on to the local admin account.

I cannot really paste the XML I've got because the forum seems to mess up the formating of everything if i paste in XML removing all the "< >" and "</>"

Answer Summary:
0 Comments   [ + ] Show comments


Community Chosen Answer


This is a step by step guide to get you started. 


Answered 06/29/2012 by: dugullett
Red Belt

All Answers


I run that command as a post task to activate adminstrator (start /wait net user administrator /active:yes).  I create a local user that has the same name as my domain user "installer" on my master.  the image syspreps.  when it post syspreps it finds its drivers using this method http://www.itninja.com/blog/view/creating-a-windows-7-sysprep-image-without-having-to-install-any-drivers-at-post-install-tasks

the  machine post syspreps reboots and auto logs in as my local installer.  it then runs it's post tasks, one of the last post tasks deletes the local user installer and when the machine reboots it auto logs in as the domain user installer.  I will post my unattend xml files and post tasks as a blog so you can see my steps.  are you using 32 or 64 bit?

Answered 06/28/2012 by: SMal.tmcc
Red Belt

  • http://www.itninja.com/blog/view/windows-7-image-process-for-the-college-s-classrooms
    you can email me and I will send you my xml file.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ