myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Task sequence and custom unattend.xml

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Task sequence and custom unattend.xml Page: [1]
Login
Message << Older Topic   Newer Topic >>
Task sequence and custom unattend.xml - 7/16/2008 2:23:23 AM   
amartensson

 

Posts: 98
Score: 0
Joined: 7/25/2006
Status: offline
I tried using a custom unattend.xml for my Vista business deployment, but for whatever reason the install software step doesn't seem to run, and the Config manager client doesn't get installed. It gets downloaded to the Pc though. Do I have to include something special in the unattend file to make it work? The softwarepackage I'm trying to install as part of the sequence is tried and verified to work, so that is not the issue. Should I have put the unattend.xml on the pc before imaging it instead of trying to include it in the task sequence? Trying to install the image without the xml file in my TS (Under "apply operating system") gives an error after the installation and the operating system wont work at all.
Post #: 1
RE: Task sequence and custom unattend.xml - 7/16/2008 4:47:45 PM   
rbennett806


Posts: 786
Score: 13
Joined: 6/14/2006
Status: offline
You should probably run some tests without installing any extra software in order to make sure you've got the needed settings in your "unattend.xml" file. And no, the file shouldn't be in the .WIM image, setting it up in the task sequence is just fine. And you need to make sure your SCCM "unattend.xml" Package is up to date too - I've seen people make a change in the .XML file, only to forget to update their DPs...

Here's an example of one to help get you started...

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
   <settings pass="windowsPE">
       <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
           <ImageInstall>
               <OSImage>
                   <WillShowUI>OnError</WillShowUI>
                   <InstallTo>
                       <DiskID>0</DiskID>
                       <PartitionID>1</PartitionID>
                   </InstallTo>
               </OSImage>
           </ImageInstall>
           <UpgradeData>
               <Upgrade>false</Upgrade>
           </UpgradeData>
           <Display>
               <ColorDepth>16</ColorDepth>
               <HorizontalResolution>1024</HorizontalResolution>
               <RefreshRate>60</RefreshRate>
               <VerticalResolution>768</VerticalResolution>
           </Display>
           <ComplianceCheck>
               <DisplayReport>OnError</DisplayReport>
           </ComplianceCheck>
           <UserData>
               <AcceptEula>true</AcceptEula>
               <ProductKey>
                   <Key></Key>
               </ProductKey>
           </UserData>
       </component>
       <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <SetupUILanguage>
               <UILanguage>en-US</UILanguage>
           </SetupUILanguage>
           <InputLocale>0409:00000409</InputLocale>
           <SystemLocale>en-US</SystemLocale>
           <UILanguage>en-US</UILanguage>
           <UserLocale>en-US</UserLocale>
       </component>
   </settings>
   <settings pass="generalize">
       <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
       </component>
   </settings>
   <settings pass="specialize">
       <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
           <Identification>
               <Credentials>
                   <Username></Username>
                   <Domain></Domain>
                   <Password></Password>
               </Credentials>
               <JoinDomain></JoinDomain>
               <JoinWorkgroup></JoinWorkgroup>
               <MachineObjectOU></MachineObjectOU>
           </Identification>
       </component>
       <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <RunSynchronous>
               <RunSynchronousCommand wcm:action="add">
                   <Description>EnableAdmin</Description>
                   <Order>1</Order>
                   <Path>cmd /c net user Administrator /active:yes</Path>
               </RunSynchronousCommand>
               <RunSynchronousCommand wcm:action="add">
                   <Description>EnableAdmin_ploc</Description>
                   <Order>2</Order>
                   <Path>cmd /c net user Administrator_ploc /active:yes</Path>
               </RunSynchronousCommand>
               <RunSynchronousCommand wcm:action="add">
                   <Description>UnfilterAdministratorToken</Description>
                   <Order>3</Order>
                   <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
               </RunSynchronousCommand>
               <RunSynchronousCommand wcm:action="add">
                   <Order>4</Order>
                   <Path>cmd /c reg add HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork /v Category /t REG_DWORD /d 1 /f</Path>
                   <Description>Set_Network_Type</Description>
               </RunSynchronousCommand>
               <RunSynchronousCommand wcm:action="add">
                   <Order>5</Order>
                   <Path>C:\Windows\System32\PnPutil.exe -i -a C:\Drivers\Other\Monitors\*.inf</Path>
                   <Description>Add_Monitor_Drivers</Description>
               </RunSynchronousCommand>
           </RunSynchronous>
       </component>
       <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <InputLocale>0409:00000409</InputLocale>
           <SystemLocale>en-US</SystemLocale>
           <UILanguage>en-US</UILanguage>
           <UserLocale>en-US</UserLocale>
       </component>
       <component name="Microsoft-Windows-TapiSetup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <TapiConfigured>0</TapiConfigured>
           <TapiUnattendLocation>
               <AreaCode>""</AreaCode>
               <CountryOrRegion>1</CountryOrRegion>
               <LongDistanceAccess>9</LongDistanceAccess>
               <OutsideAccess>9</OutsideAccess>
               <PulseOrToneDialing>1</PulseOrToneDialing>
               <DisableCallWaiting>""</DisableCallWaiting>
               <InternationalCarrierCode>""</InternationalCarrierCode>
               <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
               <Name>Default</Name>
           </TapiUnattendLocation>
       </component>
       <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <UserAuthentication>1</UserAuthentication>
       </component>
       <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <fDenyTSConnections>false</fDenyTSConnections>
       </component>
       <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <CreateEncryptedOnlyTickets>true</CreateEncryptedOnlyTickets>
           <fAllowToGetHelp>false</fAllowToGetHelp>
           <MaxTicketExpiry>30</MaxTicketExpiry>
           <MaxTicketExpiryUnits>0</MaxTicketExpiryUnits>
       </component>
       <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
       </component>
   </settings>
   <settings pass="oobeSystem">
       <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
           <UserAccounts>
               <AdministratorPassword>
                   <Value>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</Value>
                   <PlainText>false</PlainText>
               </AdministratorPassword>
           </UserAccounts>
           <Display>
               <ColorDepth>32</ColorDepth>
               <HorizontalResolution>1024</HorizontalResolution>
               <RefreshRate>60</RefreshRate>
               <VerticalResolution>768</VerticalResolution>
           </Display>
           <OOBE>
               <HideEULAPage>true</HideEULAPage>
               <NetworkLocation>Work</NetworkLocation>
               <ProtectYourPC>1</ProtectYourPC>
               <SkipUserOOBE>true</SkipUserOOBE>
           </OOBE>
           <RegisteredOrganization>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</RegisteredOrganization>
           <RegisteredOwner>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</RegisteredOwner>
           <TimeZone></TimeZone>
           <BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled>
           <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
           <VisualEffects>
               <FontSmoothing>ClearType</FontSmoothing>
           </VisualEffects>
           <ShowWindowsLive>false</ShowWindowsLive>
       </component>
       <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <InputLocale>0409:00000409</InputLocale>
           <SystemLocale>en-US</SystemLocale>
           <UILanguage>en-US</UILanguage>
           <UserLocale>en-US</UserLocale>
       </component>
       <component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <SidebarOnByDefault>false</SidebarOnByDefault>
           <SidebarVisible>false</SidebarVisible>
       </component>
   </settings>
   <settings pass="offlineServicing">
       <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DriverPaths>
               <PathAndCredentials wcm:action="add" wcm:keyValue="1">
                   <Path>C:\Drivers</Path>
               </PathAndCredentials>
           </DriverPaths>
       </component>
   </settings>
   <cpi:offlineImage cpi:source="wim://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/vista.wim#1" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


(in reply to amartensson)
Post #: 2
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Task sequence and custom unattend.xml Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.391