Get-Coffee

Server 2016 Unattend

Jan 16th, 2017
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3.     <servicing>
  4.         <package action="configure" permanence="permanent">
  5.             <assemblyIdentity name="Microsoft-Windows-ServerCore-Package" version="10.0.14393.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
  6.             <selection name="Microsoft-Hyper-V" state="true" />
  7.             <selection name="VmHostAgent" state="false" />
  8.             <selection name="WirelessNetworking" state="true" />
  9.             <selection name="EnhancedStorage" state="true" />
  10.             <selection name="BitLocker" state="true" />
  11.             <selection name="ServerMediaFoundation" state="true" />
  12.             <selection name="Remote-Desktop-Services" state="true" />
  13.             <selection name="Xps-Foundation-Xps-Viewer" state="true" />
  14.             <selection name="DesktopExperience" state="true" />
  15.             <selection name="InkAndHandwritingServices" state="true" />
  16.             <selection name="MicrosoftWindowsPowerShellRoot" state="true" />
  17.             <selection name="MicrosoftWindowsPowerShell" state="true" />
  18.             <selection name="ServerCore-FullServer" state="true" />
  19.             <selection name="Server-Gui-Shell" state="true" />
  20.             <selection name="NetFx4ServerFeatures" state="true" />
  21.             <selection name="NetFx4" state="true" />
  22.             <selection name="ServerCore-WOW64" state="true" />
  23.         </package>
  24.     </servicing>
  25.     <settings pass="windowsPE">
  26.         <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">
  27.             <SetupUILanguage>
  28.                 <UILanguage>en-US</UILanguage>
  29.             </SetupUILanguage>
  30.             <InputLocale>en-US</InputLocale>
  31.             <SystemLocale>en-US</SystemLocale>
  32.             <UILanguage>en-US</UILanguage>
  33.             <UserLocale>en-US</UserLocale>
  34.         </component>
  35.     </settings>
  36.     <settings pass="generalize">
  37.         <component name="Microsoft-Windows-Shell-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">
  38.             <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
  39.         </component>
  40.     </settings>
  41.     <settings pass="specialize">
  42.         <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  43.             <ComputerName>*</ComputerName>
  44.             <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
  45.             <RegisteredOrganization>ABC Corporation</RegisteredOrganization>
  46.             <RegisteredOwner>ABC User</RegisteredOwner>
  47.             <TimeZone>Eastern Standard Time</TimeZone>
  48.             <ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
  49.         </component>
  50.         <component name="Microsoft-Windows-Security-SPP-UX" 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">
  51.             <SkipAutoActivation>true</SkipAutoActivation>
  52.         </component>
  53.         <component name="Microsoft-Windows-IE-InternetExplorer" 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">
  54.             <Home_Page>about:blank</Home_Page>
  55.             <DisableFirstRunWizard>true</DisableFirstRunWizard>
  56.             <TrustedSites>http://localsite</TrustedSites>
  57.             <SuggestedSitesEnabled>false</SuggestedSitesEnabled>
  58.             <LocalIntranetSites>http://localsite</LocalIntranetSites>
  59.         </component>
  60.         <component name="Microsoft-Windows-Deployment" 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">
  61.             <RunSynchronous>
  62.                 <RunSynchronousCommand wcm:action="add">
  63.                     <Description>Disable Fast Startup</Description>
  64.                     <Order>1</Order>
  65.                     <Path>cmd /c reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Power /v HibernateEnabled /d 0 /t REG_DWORD /f</Path>
  66.                 </RunSynchronousCommand>
  67.                 <RunSynchronousCommand wcm:action="add">
  68.                     <Description>Remove broken LiteTouch script link</Description>
  69.                     <Order>2</Order>
  70.                     <Path>cmd /c del "\Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup\LiteTouch.lnk"</Path>
  71.                 </RunSynchronousCommand>
  72.             </RunSynchronous>
  73.         </component>
  74.         <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">
  75.             <InputLocale>en-US</InputLocale>
  76.             <SystemLocale>en-US</SystemLocale>
  77.             <UILanguage>en-US</UILanguage>
  78.             <UserLocale>en-US</UserLocale>
  79.         </component>
  80.         <component name="Microsoft-Windows-IE-ESC" 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">
  81.             <IEHardenAdmin>false</IEHardenAdmin>
  82.             <IEHardenUser>false</IEHardenUser>
  83.         </component>
  84.     </settings>
  85.     <settings pass="oobeSystem">
  86.         <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  87.             <UserAccounts>
  88.                 <LocalAccounts>
  89.                     <LocalAccount wcm:action="add">
  90.                         <Password>
  91.                             <PlainText>true</PlainText>
  92.                             <Value />
  93.                         </Password>
  94.                         <Description>ABC User</Description>
  95.                         <DisplayName>ABC User</DisplayName>
  96.                         <Group>Administrators</Group>
  97.                         <Name>ABCuser</Name>
  98.                     </LocalAccount>
  99.                 </LocalAccounts>
  100.                 <AdministratorPassword>
  101.                     <PlainText>true</PlainText>
  102.                     <Value />
  103.                 </AdministratorPassword>
  104.             </UserAccounts>
  105.             <OOBE>
  106.                 <HideEULAPage>true</HideEULAPage>
  107.                 <NetworkLocation>Work</NetworkLocation>
  108.                 <ProtectYourPC>3</ProtectYourPC>
  109.                 <HideLocalAccountScreen>true</HideLocalAccountScreen>
  110.                 <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  111.                 <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  112.             </OOBE>
  113.             <RegisteredOrganization>ABC Corporation</RegisteredOrganization>
  114.             <RegisteredOwner>ABC User</RegisteredOwner>
  115.             <TimeZone>Eastern Standard Time</TimeZone>
  116.         </component>
  117.         <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">
  118.             <InputLocale>en-US</InputLocale>
  119.             <SystemLocale>en-US</SystemLocale>
  120.             <UILanguage>en-US</UILanguage>
  121.             <UserLocale>en-US</UserLocale>
  122.         </component>
  123.     </settings>
  124.     <cpi:offlineImage cpi:source="catalog://mdtserver/mdt/shares/srv_2016_gold/operating systems/srv_2016_ent_01/srv_2016_entx64en_s2016-ref01ddrive.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
  125. </unattend>
Add Comment
Please, Sign In to add comment