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


Please log in to comment

Community Chosen Answer


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


Answered 06/29/2012 by: dugullett
Red Belt

Please log in to comment



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.
Please log in to comment
Answer this question or Comment on this question for clarity