Share via


Unattend.xml for SCCM 2012 OS deployment

Question

Tuesday, August 27, 2013 2:15 PM

Hi,

I need to create an unattend.xml-file for an SCCM 2012 SP1 OS installation (Windows 7). I know this can be done with WAIK but already have an unattend.xml for Windows 7 instalation in another domain.
Therefore I'd need to figure out what a default Windows 7 unattend.xml contains. How can I find this out? Is there an unattend.xml generated during installation? It should but I don't find it in the Windows\panther-folder.

Please advise.
J.

Jan Hoedt

All replies (5)

Tuesday, August 27, 2013 4:31 PM ✅Answered | 2 votes

"Is there an unattend.xml generated during installation?"

yes, and the apply windows settings and apply network settings will mean that it is written to with new settings (amongst other things)

You can press F8 in WinPE and browse to the locations below and use notepad to examine the changes to the unattend.xml file.

Note: The unattend.xml file and/or C:\Windows\Panther\Unattend folder may not appear in your image until directly after the Apply Operating System Image step and the contents of that file depends on whether or not an unattend.xml file was specified in that step.

Before the Setup Windows and ConfigMgr step is complete you can monitor c:\windows\panther\unattend\unattend.xml to see what is happening in relation to your modifications taking place or not

After the Setup Windows and ConfigMgr step is complete, you’ll see the following has been added to your c:\windows\panther\unattend.xml file

Note: The above locations are during the Windows PE phase. After the Setup Windows and ConfigMgr step is complete it will reboot your computer (unless you have a command prompt open in WinPE), and after that reboot the unattend.xml file will have been removed (by the Setup Windows and ConfigMgr step...).

Step by Step Configuration Manager Guides > 2012 Guides | 2007 Guides | I'm on Twitter > ncbrady


Wednesday, August 28, 2013 4:11 PM ✅Answered | 1 vote

When you create the first task sequence using the Create MDT Task Sequence Wizard you get prompted to create a settings package.

/ Johan

Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch


Tuesday, August 27, 2013 4:05 PM | 1 vote

When you have ConfigMgr 2012 SP1 integrated with MDT 2012 Update 1, the unattend.xml file is in the settings package.

/ Johan

Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch


Wednesday, August 28, 2013 8:25 AM

Not fully clear to me.

 

 

What I would like to know:

*what is this catalog-file and is it needed for the unattended.xml to work?

*when importing an image in WIM, should I use the path network-share or can I use the local path (iow will this path be used in xml so OS-installation via SCCM will look for this path?) => I used the network path for now *I tried to just use an existing unattend.xml and use it in a task-sequence, it did not work, should I use WIM to generate this unattend.xml? If I import an image in WIM, it says that the catalog-file is outdated and wants to create a new one => created a new one which it placed into the Windows 7 sources *I imported the WIM, then I opened an existing unattend.xml, it then says if I want to associate the answer file with the Windows image => selected yes

Setup makes sence to use unattend.xml linked to Windows-image, however in a task-sequence you can pick different unattend.xml-s ….

*administrator password exists in unattend.xml, how can I see/change this password (it is hashed now)?

 

Bottomline: I have an existing unattend.xml which I need to use/adapt. However, I don’t know what I can skip/mark as comment and what not. F.e. <component name="Microsoft-Windows-DNS-Client",  <RegisteredOrganization>My Organization </RegisteredOrganization>

What I do now =  as mentioned above: import image from \servershare … then generate the catalog, import unattend.xml so I can validate it’s a correct file. Meanwhile I uncomment the sections I’m not sure of in unattend.xml in a notepad++. Maybe I’m making it to complicated, please advise. Thanks!

Jan Hoedt


Wednesday, August 28, 2013 1:24 PM

Thanks, but where would that be?
MDT is empty when starting it up on the SCCM server (integrated in SCCM).

Note: have only setup MDT, not configured it.

Jan Hoedt