Advertisement
DSX42

Unattend.xml

May 3rd, 2021
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3.   <settings pass="windowsPE">
  4.     <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  5.       <ImageInstall>
  6.         <OSImage>
  7.           <WillShowUI>OnError</WillShowUI>
  8.           <InstallTo>
  9.             <DiskID>0</DiskID>
  10.             <PartitionID>1</PartitionID>
  11.           </InstallTo>
  12.           <InstallFrom>
  13.             <Path>.\Operating Systems\Windows 10 Pro x64\Sources\install.wim</Path>
  14.             <MetaData>
  15.               <Key>/IMAGE/INDEX</Key>
  16.               <Value>1</Value>
  17.             </MetaData>
  18.           </InstallFrom>
  19.         </OSImage>
  20.       </ImageInstall>
  21.       <ComplianceCheck>
  22.         <DisplayReport>OnError</DisplayReport>
  23.       </ComplianceCheck>
  24.       <UserData>
  25.         <AcceptEula>true</AcceptEula>
  26.         <ProductKey>
  27.           <Key></Key>
  28.         </ProductKey>
  29.       </UserData>
  30.     </component>
  31.     <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">
  32.       <SetupUILanguage>
  33.         <UILanguage>en-US</UILanguage>
  34.       </SetupUILanguage>
  35.       <InputLocale>0409:00000409</InputLocale>
  36.       <SystemLocale>en-US</SystemLocale>
  37.       <UILanguage>en-US</UILanguage>
  38.       <UserLocale>en-US</UserLocale>
  39.     </component>
  40.   </settings>
  41.   <settings pass="generalize">
  42.     <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">
  43.       <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
  44.     </component>
  45.   </settings>
  46.   <settings pass="specialize">
  47.     <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  48.       <Identification>
  49.         <Credentials>
  50.           <Username></Username>
  51.           <Domain></Domain>
  52.           <Password></Password>
  53.         </Credentials>
  54.         <JoinDomain></JoinDomain>
  55.         <JoinWorkgroup></JoinWorkgroup>
  56.         <MachineObjectOU></MachineObjectOU>
  57.       </Identification>
  58.     </component>
  59.     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  60.       <ComputerName></ComputerName>
  61.       <ProductKey></ProductKey>
  62.       <RegisteredOrganization>OU</RegisteredOrganization>
  63.       <RegisteredOwner>User</RegisteredOwner>
  64.       <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
  65.       <TimeZone>Pacific Standard Time</TimeZone>
  66.     </component>
  67.     <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">
  68.       <Home_Page>about:blank</Home_Page>
  69.     </component>
  70.     <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">
  71.       <RunSynchronous>
  72.         <RunSynchronousCommand wcm:action="add">
  73.           <Description>EnableAdmin</Description>
  74.           <Order>1</Order>
  75.           <Path>cmd /c net user Administrator /active:yes</Path>
  76.         </RunSynchronousCommand>
  77.         <RunSynchronousCommand wcm:action="add">
  78.           <Description>UnfilterAdministratorToken</Description>
  79.           <Order>2</Order>
  80.           <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
  81.         </RunSynchronousCommand>
  82.         <RunSynchronousCommand wcm:action="add">
  83.           <Description>disable user account page</Description>
  84.           <Order>3</Order>
  85.           <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
  86.         </RunSynchronousCommand>
  87.         <RunSynchronousCommand wcm:action="add">
  88.           <Description>disable async RunOnce</Description>
  89.           <Order>4</Order>
  90.           <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>
  91.         </RunSynchronousCommand>
  92.       </RunSynchronous>
  93.     </component>
  94.     <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">
  95.       <InputLocale>0409:00000409</InputLocale>
  96.       <SystemLocale>en-US</SystemLocale>
  97.       <UILanguage>en-US</UILanguage>
  98.       <UserLocale>en-US</UserLocale>
  99.     </component>
  100.     <component name="Microsoft-Windows-TapiSetup" 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">
  101.       <TapiConfigured>0</TapiConfigured>
  102.       <TapiUnattendLocation>
  103.         <AreaCode>""</AreaCode>
  104.         <CountryOrRegion>1</CountryOrRegion>
  105.         <LongDistanceAccess>9</LongDistanceAccess>
  106.         <OutsideAccess>9</OutsideAccess>
  107.         <PulseOrToneDialing>1</PulseOrToneDialing>
  108.         <DisableCallWaiting>""</DisableCallWaiting>
  109.         <InternationalCarrierCode>""</InternationalCarrierCode>
  110.         <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
  111.         <Name>Default</Name>
  112.       </TapiUnattendLocation>
  113.     </component>
  114.     <component name="Microsoft-Windows-SystemRestore-Main" 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">
  115.       <DisableSR>1</DisableSR>
  116.     </component>
  117.   </settings>
  118.   <settings pass="oobeSystem">
  119.     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  120.       <UserAccounts>
  121.         <AdministratorPassword>
  122.           <Value></Value>
  123.           <PlainText>true</PlainText>
  124.         </AdministratorPassword>
  125.       </UserAccounts>
  126.       <AutoLogon>
  127.         <Enabled>true</Enabled>
  128.         <Username>Administrator</Username>
  129.         <Domain>.</Domain>
  130.         <Password>
  131.           <Value></Value>
  132.           <PlainText>true</PlainText>
  133.         </Password>
  134.         <LogonCount>999</LogonCount>
  135.       </AutoLogon>
  136.       <Display>
  137.         <ColorDepth></ColorDepth>
  138.         <HorizontalResolution></HorizontalResolution>
  139.         <RefreshRate></RefreshRate>
  140.         <VerticalResolution></VerticalResolution>
  141.       </Display>
  142.       <FirstLogonCommands>
  143.         <SynchronousCommand wcm:action="add">
  144.           <CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
  145.           <Description>Lite Touch new OS</Description>
  146.           <Order>1</Order>
  147.         </SynchronousCommand>
  148.       </FirstLogonCommands>
  149.       <OOBE>
  150.         <HideEULAPage>true</HideEULAPage>
  151.         <NetworkLocation>Work</NetworkLocation>
  152.         <ProtectYourPC>1</ProtectYourPC>
  153.         <HideLocalAccountScreen>true</HideLocalAccountScreen>
  154.         <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  155.         <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  156.       </OOBE>
  157.       <RegisteredOrganization>LLR</RegisteredOrganization>
  158.       <RegisteredOwner>User</RegisteredOwner>
  159.       <TimeZone></TimeZone>
  160.     </component>
  161.     <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">
  162.       <InputLocale>0409:00000409</InputLocale>
  163.       <SystemLocale>en-US</SystemLocale>
  164.       <UILanguage>en-US</UILanguage>
  165.       <UserLocale>en-US</UserLocale>
  166.     </component>
  167.   </settings>
  168.   <settings pass="offlineServicing">
  169.     <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
  170.       <DriverPaths>
  171.         <PathAndCredentials wcm:keyValue="1" wcm:action="add">
  172.           <Path>\Drivers</Path>
  173.         </PathAndCredentials>
  174.       </DriverPaths>
  175.     </component>
  176.   </settings>
  177. </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement