Jump to content

Dynamic unattend.xml question

Recommended Posts

Hi Guys,

First thanks again for all the help you have provided and continue to provide. Now onto the reason I'm writing this request.

I do some imaging for my company and in recent releases I would build my unattend.txt and sysprep.inf files dynamically, (on the fly), that way anyone could install the OS. They only had to answer questions and then the vbscript I built would create the file needed using the inputed data such as users name, serial number of PC used for PC name, asset tag information, also languages required and location along with time zone. This way I could use some WMI scripting and determine the serial number and system ID then use them alog with the typed information as needed for the OS install.

Now I still have all that code and also have created a dynamic unattend.xml coding. What I would like to know is has anyone done this sort of installation?

If so, where do you copy the unattend.xml to when you apply the .WIM image? c:\Windows\System32\Sysprep\?

How do you add applications say for a runonceEX or a GUIrunonce? Is there such a file now? Got to admit the Windows System Image Manager is pretty confusing, especially since I upgraded to v1.1 and it no longer runs.

That should generate enough emails for the moment.

Thanks again for the help,


Link to comment
Share on other sites

We use a similar approach on the server side to install everything from Windows 2000 OS through to Windows Server 2008 x64. We do not use sysprep however, we use Winnt32.exe or Setup.exe (for Server 2008) with a /unattend: switch and the location of the Unattend.txt or Unattend.xml file that is dynamically written out based on the answers provided by the user. In this manner we do not maintain images, we run a full scripted setup everytime.

To answer your question, the Guirunonce can now be done as Synchronous commands:


<component name="Microsoft-Windows-Shell-Setup" ....etc.....>


<SynchronousCommand wcm:action="add">


<Description>My commands</Description>





You will also need to set autologin under the same component








<Username>username specified</Username>


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...