Skip to content

unattended.xml package

Featured Replies

Adding unattended.xml to my task sequence. I see it needs to be in a package but do you have to create a program or just have the package to the directory where the file is located?

 

I see you have to specify the file name so I presume you just create a package & no program.

Package and distribution point.

No program as far as I know, but I've never been able to get that unattend.xml file to work properly.

I just ended up using DISM to put the unattend.xml into the image.

  • Author

unattended.xml is working but as per normal ive got issues with my regional settings. on XP when i added UK keyboard i then had to use a reg key fix to remove US keyboard as this always remained secondary. Got the same issue now with Win7.

  • Author

Does the unattended.xml have to be unattended.xml or can you name it something else?

 

getting this in my smstslog.

 

Failed to invoke Execution manager to Install Software for package='LA20002A'

 

 

this is my unattended.xml package.

  • Author

So, ive basicaly created my package to the folder where my xml file resides. In my TS on the 'Apply windows Settings' I have seleected to use my unattended package & sepcified the unattended.xml file.

 

ive added some more Location regional settings now to hopefuly get just Uk keyboard etc. When ive tried this boefore you get some bits UK some US & US keyboard remains default.

 

in XP at T-12(cmdlines.txt) I had to remove this reg ket to remove the US keyboard

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

"2"=-

 

 

here is my XML file

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
   <settings pass="specialize">
       <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" 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>0809:00000809</InputLocale>
           <SystemLocale>en-uk</SystemLocale>
           <UserLocale>en-uk</UserLocale>
           <UILanguage>en-uk</UILanguage>
           <UILanguageFallback>en-uk</UILanguageFallback>
       </component>
       <component name="Security-Malware-Windows-Defender" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <DisableAntiSpyware>true</DisableAntiSpyware>
       </component>
   </settings>
   <settings pass="generalize">
       <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" 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>
   </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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <OOBE>
               <NetworkLocation>Work</NetworkLocation>
           </OOBE>
           <TimeZone>GMT Standard Time</TimeZone>
           <ShowWindowsLive>false</ShowWindowsLive>
       </component>
   </settings>
   <settings pass="windowsPE">
       <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" 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-uk</UILanguage>
           </SetupUILanguage>
           <SystemLocale>en-uk</SystemLocale>
           <UILanguage>en-uk</UILanguage>
           <UILanguageFallback>en-uk</UILanguageFallback>
           <UserLocale>en-uk</UserLocale>
           <InputLocale>0809:00000809</InputLocale>
       </component>
       <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <Display>
               <ColorDepth>32</ColorDepth>
               <HorizontalResolution>1024</HorizontalResolution>
               <RefreshRate>60</RefreshRate>
               <VerticalResolution>768</VerticalResolution>
           </Display>
       </component>
   </settings>
   <cpi:offlineImage cpi:source="wim://lan-scm-02/os/sw_dvd5_sa_win_ent_7_64bit_english_full_mlf_x15-70749/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

  • Author

Ive applied this answer file to the build & capture & the following deployment & both seem to ignor the answer file. I did read somewhere else that the answer files is not very reliable run in sccm.

  • 2 weeks later...

hey Guys, firstly just want to thanks!!! great site for SCCCM stuff....

has anyone cracked this yet as I have this same issue with answer file with windows 7.. it doesn't set regioanl settings etc and normally the TS fails if I set this in the task sequence.... unnatend.xml

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.