Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3.  
  4. <!-- Autounattend_x86_BIOS_sample.xml
  5.  
  6. This file automates the Windows installation.
  7.  
  8.     Before using this file:
  9.      * Replace ProductKey with a product key for the edition of Windows you are installing
  10.        (example: Windows 8.1 Pro)
  11.        Note:
  12.           The product key used in Microsoft-Windows-Setup\UserData\ProductKey\Key
  13.           can be used many times in different installations and is not used to activate Windows.
  14.           It is only used to choose which edition of Windows to install.
  15.          
  16.           The individual product key is either specified by the user, or by setting
  17.           Microsoft-Windows-Shell-Setup\ProductKey.
  18.     * Set the default language to your own:
  19.       Replace "en-US" with your language code in Microsoft-Windows-International-Core-WinPE\SetupUILanguage.
  20.       For a list of languages, see http://go.microsoft.com/fwlink/?LinkId=206620.
  21.     * OEMs: Replace OEMInformation with your support information
  22.  
  23.     To use this file:
  24.        Save this file on the root of a USB flash drive with the filename: Autounattend.xml
  25.        Put the Windows DVD and the USB key into a new x86-BIOS PC.
  26.  
  27.  
  28.  
  29. -->
  30.  
  31.     <settings pass="specialize">
  32.         <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">
  33.             <OEMInformation>
  34.                 <Manufacturer>[ REPLACE WITH COMPANY NAME ]</Manufacturer>
  35.                 <SupportURL>[ REPLACE WITH SUPPORT WEBSITE ]</SupportURL>
  36.             </OEMInformation>
  37.         </component>
  38.     </settings>
  39.     <settings pass="windowsPE">
  40.         <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">
  41.             <SetupUILanguage>
  42.                 <UILanguage>en-US</UILanguage>
  43.             </SetupUILanguage>
  44.             <InputLocale>en-US</InputLocale>
  45.             <SystemLocale>en-US</SystemLocale>
  46.             <UILanguage>en-US</UILanguage>
  47.             <UserLocale>en-US</UserLocale>
  48.         </component>
  49.         <component name="Microsoft-Windows-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">
  50.             <DiskConfiguration>
  51.                 <Disk wcm:action="add">
  52.                     <CreatePartitions>
  53.  
  54.                         <!-- System partition -->
  55.                         <CreatePartition wcm:action="add">
  56.                             <Order>1</Order>
  57.                             <Size>350</Size>
  58.                             <Type>Primary</Type>
  59.                         </CreatePartition>
  60.  
  61.                         <!-- Windows partition -->
  62.                         <CreatePartition wcm:action="add">
  63.                             <Order>2</Order>
  64.                             <Extend>true</Extend>
  65.                             <Type>Primary</Type>
  66.                         </CreatePartition>
  67.  
  68.                     </CreatePartitions>
  69.                     <ModifyPartitions>
  70.                         <ModifyPartition wcm:action="add">
  71.                             <Order>1</Order>
  72.                             <PartitionID>1</PartitionID>
  73.                             <Label>System</Label>
  74.                             <Format>NTFS</Format>
  75.                             <Active>true</Active>
  76.                         </ModifyPartition>
  77.                         <ModifyPartition wcm:action="add">
  78.                             <Order>2</Order>
  79.                             <PartitionID>2</PartitionID>
  80.                             <Format>NTFS</Format>
  81.                             <Label>Windows</Label>
  82.                         </ModifyPartition>
  83.                     </ModifyPartitions>
  84.                     <DiskID>0</DiskID>
  85.                     <WillWipeDisk>true</WillWipeDisk>
  86.                 </Disk>
  87.             </DiskConfiguration>
  88.             <ImageInstall>
  89.                 <OSImage>
  90.                     <InstallTo>
  91.                         <DiskID>0</DiskID>
  92.                         <PartitionID>2</PartitionID>
  93.                     </InstallTo>
  94.                 </OSImage>
  95.             </ImageInstall>
  96.             <UserData>
  97.                 <ProductKey>
  98.                     <Key>[ REPLACE WITH PRODUCT KEY ]</Key>
  99.                 </ProductKey>
  100.                 <AcceptEula>true</AcceptEula>
  101.             </UserData>
  102.         </component>
  103.     </settings>
  104. </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement