Advertisement
Guest User

Autounattended.xml

a guest
Oct 23rd, 2017
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.52 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-PnpCustomizationsWinPE" 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">
  5. <DriverPaths>
  6. <PathAndCredentials wcm:keyValue="1" wcm:action="add">
  7. <Path>A:\</Path>
  8. </PathAndCredentials>
  9. </DriverPaths>
  10. </component>
  11. <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  12. <SetupUILanguage>
  13. <UILanguage>en-US</UILanguage>
  14. </SetupUILanguage>
  15. <InputLocale>en-US, ru-RU</InputLocale>
  16. <SystemLocale>en-US</SystemLocale>
  17. <UILanguage>ru-RU</UILanguage>
  18. <UILanguageFallback>en-US</UILanguageFallback>
  19. <UserLocale>ru-RU</UserLocale>
  20. </component>
  21. <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  22. <DiskConfiguration>
  23. <WillWipeDisk>true</WillWipeDisk>
  24. <Disk wcm:action="add">
  25. <CreatePartitions>
  26. <CreatePartition wcm:action="add">
  27. <Type>Primary</Type>
  28. <Order>1</Order>
  29. <Size>350</Size>
  30. </CreatePartition>
  31. <CreatePartition wcm:action="add">
  32. <Order>2</Order>
  33. <Type>Primary</Type>
  34. <Extend>true</Extend>
  35. </CreatePartition>
  36. </CreatePartitions>
  37. <ModifyPartitions>
  38. <ModifyPartition wcm:action="add">
  39. <Active>true</Active>
  40. <Format>NTFS</Format>
  41. <Label>boot</Label>
  42. <Order>1</Order>
  43. <PartitionID>1</PartitionID>
  44. </ModifyPartition>
  45. <ModifyPartition wcm:action="add">
  46. <Format>NTFS</Format>
  47. <Label>Windows 2012 R2</Label>
  48. <Letter>C</Letter>
  49. <Order>2</Order>
  50. <PartitionID>2</PartitionID>
  51. </ModifyPartition>
  52. </ModifyPartitions>
  53. <DiskID>0</DiskID>
  54. <WillWipeDisk>true</WillWipeDisk>
  55. </Disk>
  56. </DiskConfiguration>
  57. <ImageInstall>
  58. <OSImage>
  59. <InstallFrom>
  60. <MetaData wcm:action="add">
  61. <Key>/IMAGE/NAME </Key>
  62. <Value>Windows Server 2012 R2 SERVERSTANDARD</Value>
  63. </MetaData>
  64. </InstallFrom>
  65. <InstallTo>
  66. <DiskID>0</DiskID>
  67. <PartitionID>2</PartitionID>
  68. </InstallTo>
  69. </OSImage>
  70. </ImageInstall>
  71. <UserData>
  72. <ProductKey>
  73. <Key>****-****-****-****-****</Key>
  74. <WillShowUI>OnError</WillShowUI>
  75. </ProductKey>
  76. <AcceptEula>true</AcceptEula>
  77. <FullName>Vagrant</FullName>
  78. <Organization>Vagrant</Organization>
  79. </UserData>
  80. </component>
  81. </settings>
  82. <settings pass="generalize">
  83. <component name="Microsoft-Windows-Security-SPP" 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">
  84. <SkipRearm>1</SkipRearm>
  85. </component>
  86. <component name="Microsoft-Windows-PnpSysprep" 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">
  87. <PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
  88. <DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
  89. </component>
  90. </settings>
  91. <settings pass="oobeSystem">
  92. <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">
  93. <InputLocale>en-US</InputLocale>
  94. <SystemLocale>en-US</SystemLocale>
  95. <UILanguage>en-US</UILanguage>
  96. <UserLocale>en-US</UserLocale>
  97. </component>
  98. <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">
  99. <OOBE>
  100. <HideEULAPage>true</HideEULAPage>
  101. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  102. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  103. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  104. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  105. <NetworkLocation>Home</NetworkLocation>
  106. <ProtectYourPC>1</ProtectYourPC>
  107. </OOBE>
  108. <TimeZone>UTC</TimeZone>
  109. <UserAccounts>
  110. <AdministratorPassword>
  111. <Value>vagrant</Value>
  112. <PlainText>true</PlainText>
  113. </AdministratorPassword>
  114. <LocalAccounts>
  115. <LocalAccount wcm:action="add">
  116. <Password>
  117. <Value>vagrant</Value>
  118. <PlainText>true</PlainText>
  119. </Password>
  120. <Group>administrators</Group>
  121. <DisplayName>Vagrant</DisplayName>
  122. <Name>vagrant</Name>
  123. <Description>Vagrant User</Description>
  124. </LocalAccount>
  125. </LocalAccounts>
  126. </UserAccounts>
  127. <AutoLogon>
  128. <Password>
  129. <Value>vagrant</Value>
  130. <PlainText>true</PlainText>
  131. </Password>
  132. <Enabled>true</Enabled>
  133. <Username>vagrant</Username>
  134. </AutoLogon>
  135. <FirstLogonCommands>
  136. <SynchronousCommand wcm:action="add">
  137. <CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\boxstarter.ps1</CommandLine>
  138. <Order>1</Order>
  139. </SynchronousCommand>
  140. </FirstLogonCommands>
  141. </component>
  142. </settings>
  143. <settings pass="specialize">
  144. <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  145. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  146. </component>
  147. <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-IE-ESC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  148. <IEHardenAdmin>false</IEHardenAdmin>
  149. <IEHardenUser>false</IEHardenUser>
  150. </component>
  151. <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  152. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  153. </component>
  154. </settings>
  155. </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement