System Center Configuration Manager TechCenter >
System Center Configuration Manager Forums
>
Configuration Manager Operating System Deployment
>
SCCM SP2 R2 / MDT 2010 & Unattend.xml
SCCM SP2 R2 / MDT 2010 & Unattend.xml
- I could have something setup incorrectly, or not understanding exactly how this is supposed to work, but I am unable to use a custom unattend.xml file for any customizations when deploying a captured WIM (Windows 7).
As a test, I used WSIM to modify the unattend.xml that was created when doing a MDT TS. Added the option to 33enable Telnet Client, some FirstLogon SynchronousCommands, and some other misc settings.
In Apply Operating System Image, the option 'Use an unattented or sysprep answer file for a custom installation' has the settings package and the unattend.xml file specified. Once the OS deployment is complete, none of the settings from the unattend file have been applied. Is it supposed to work this way, or should I look into other ways to modify the settings?
The logs on the completed machine have no information about this step of the deployment. If I open a command prompt before the system reboots after applying wim, I can see where it successfully copies the unattend.xml from my DP source and merges with c:\windows\panther\unattend.xml.
Thanks,
Answers
- Which passes are you putting your settings in the XML file?
Are you doing a deployment or a build and capture?
Settings in the generalize pass are only applied during sysprep. There are similar rules for settings in other passes also: http://technet.microsoft.com/en-us/library/cc766245(WS.10).aspx.
Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys- Marked As Answer byjmilner Saturday, November 07, 2009 4:40 PM
All Replies
- Which passes are you putting your settings in the XML file?
Are you doing a deployment or a build and capture?
Settings in the generalize pass are only applied during sysprep. There are similar rules for settings in other passes also: http://technet.microsoft.com/en-us/library/cc766245(WS.10).aspx.
Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys- Marked As Answer byjmilner Saturday, November 07, 2009 4:40 PM
- did you make sure to distribute this package to a distribution point and to update the distribution point(s) once any changes were made ?
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064 - I'm really new to all this, just setup Test lab when SCCM SP2 was released.
I loaded the unattend.xml file with tons of changes, and some of them make it into the end build and some do not. Using the WSIM, most of the changes were in the oobeSystem pass, but looking at C:\windows\panther\unattend\unattend.xml while still in WinPE, some of the settings are in generalize and specialize instead of oobeSystem. Looks like everything is working as it supposed to, but some of my settings will have to be either modified in the base image, or another way.
The packages - Foundation section would have to be modified on a base image (build and capture) correct? I can get the telnet client to install during build and capture, but not during deployment. (Just using telnet as a test)
The other thing that I was trying was adding lines to the FirstLogonCommand - SynchonousCommand section. Even if I set the order to 5, these setting never get copied. The c:\windows\panther\unattend\unattend.xml only contains these:
<RunSynchronous>
<RunSynchronousCommand><Order>4</Order>
<Description>disable user account page</Description>
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand><Order>3</Order>
<Description>UnfilterAdministratorToken</Description>
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand><Order>2</Order>
<Description>EnableAdmin_ploc</Description>
<Path>cmd /c net user Administrator_ploc /active:yes</Path>
</RunSynchronousCommand>
<RunSynchronousCommand><Order>1</Order>
<Description>EnableAdmin</Description>
<Path>cmd /c net user Administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
Thanks for all your help.

