Guest User

autounattend.xml

a guest
Jun 29th, 2026
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.99 KB | None | 0 0
  1. <!--*************************************************
  2. Windows 10 Answer File Generator
  3. Created using Windows AFG found at:
  4. ;http://www.windowsafg.com
  5.  
  6. Installation Notes
  7. Location:
  8. Notes: Enter your comments here...
  9. **************************************************-->
  10.  
  11. <?xml version="1.0" encoding="utf-8"?>
  12. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  13. <settings pass="windowsPE">
  14. <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">
  15. <SetupUILanguage>
  16. <UILanguage>it-IT</UILanguage>
  17. </SetupUILanguage>
  18. <InputLocale>0410:00000410</InputLocale>
  19. <SystemLocale>it-IT</SystemLocale>
  20. <UILanguage>it-IT</UILanguage>
  21. <UILanguageFallback>it-IT</UILanguageFallback>
  22. <UserLocale>it-IT</UserLocale>
  23. </component>
  24. <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">
  25. <DiskConfiguration>
  26. <Disk wcm:action="add">
  27. <DiskID>0</DiskID>
  28. <WillWipeDisk>true</WillWipeDisk>
  29. <CreatePartitions>
  30. <!-- Windows RE Tools partition -->
  31. <CreatePartition wcm:action="add">
  32. <Order>1</Order>
  33. <Type>Primary</Type>
  34. <Size>300</Size>
  35. </CreatePartition>
  36. <!-- System partition (ESP) -->
  37. <CreatePartition wcm:action="add">
  38. <Order>2</Order>
  39. <Type>EFI</Type>
  40. <Size>100</Size>
  41. </CreatePartition>
  42. <!-- Microsoft reserved partition (MSR) -->
  43. <CreatePartition wcm:action="add">
  44. <Order>3</Order>
  45. <Type>MSR</Type>
  46. <Size>128</Size>
  47. </CreatePartition>
  48. <!-- Windows partition -->
  49. <CreatePartition wcm:action="add">
  50. <Order>4</Order>
  51. <Type>Primary</Type>
  52. <Extend>true</Extend>
  53. </CreatePartition>
  54. </CreatePartitions>
  55. <ModifyPartitions>
  56. <!-- Windows RE Tools partition -->
  57. <ModifyPartition wcm:action="add">
  58. <Order>1</Order>
  59. <PartitionID>1</PartitionID>
  60. <Label>WINRE</Label>
  61. <Format>NTFS</Format>
  62. <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
  63. </ModifyPartition>
  64. <!-- System partition (ESP) -->
  65. <ModifyPartition wcm:action="add">
  66. <Order>2</Order>
  67. <PartitionID>2</PartitionID>
  68. <Label>System</Label>
  69. <Format>FAT32</Format>
  70. </ModifyPartition>
  71. <!-- MSR partition does not need to be modified -->
  72. <ModifyPartition wcm:action="add">
  73. <Order>3</Order>
  74. <PartitionID>3</PartitionID>
  75. </ModifyPartition>
  76. <!-- Windows partition -->
  77. <ModifyPartition wcm:action="add">
  78. <Order>4</Order>
  79. <PartitionID>4</PartitionID>
  80. <Label>OS</Label>
  81. <Letter>C</Letter>
  82. <Format>NTFS</Format>
  83. </ModifyPartition>
  84. </ModifyPartitions>
  85. </Disk>
  86. </DiskConfiguration>
  87. <ImageInstall>
  88. <OSImage>
  89. <InstallFrom>
  90. <MetaData wcm:action="add">
  91. <Key>/IMAGE/NAME</Key>
  92. <Value>Windows 10 Home</Value>
  93. </MetaData>
  94. </InstallFrom>
  95. <InstallTo>
  96. <DiskID>0</DiskID>
  97. <PartitionID>4</PartitionID>
  98. </InstallTo>
  99. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  100. </OSImage>
  101. </ImageInstall>
  102. <UserData>
  103. <ProductKey>
  104. <!-- Do not uncomment the Key element if you are using trial ISOs -->
  105. <!-- You must uncomment the Key element (and optionally insert your own key) if you are using retail or volume license ISOs -->
  106. <Key></Key>
  107. <WillShowUI>Never</WillShowUI>
  108. </ProductKey>
  109. <AcceptEula>true</AcceptEula>
  110. <FullName>user</FullName>
  111. <Organization></Organization>
  112. </UserData>
  113. </component>
  114. </settings>
  115. <settings pass="offlineServicing">
  116. <component name="Microsoft-Windows-LUA-Settings" 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">
  117. <EnableLUA>false</EnableLUA>
  118. </component>
  119. </settings>
  120. <settings pass="generalize">
  121. <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">
  122. <SkipRearm>1</SkipRearm>
  123. </component>
  124. </settings>
  125. <settings pass="specialize">
  126. <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">
  127. <InputLocale>0410:00000410</InputLocale>
  128. <SystemLocale>it-IT</SystemLocale>
  129. <UILanguage>it-IT</UILanguage>
  130. <UILanguageFallback>it-IT</UILanguageFallback>
  131. <UserLocale>it-IT</UserLocale>
  132. </component>
  133. <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">
  134. <SkipAutoActivation>true</SkipAutoActivation>
  135. </component>
  136. <component name="Microsoft-Windows-SQMApi" 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">
  137. <CEIPEnabled>0</CEIPEnabled>
  138. </component>
  139. <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">
  140. <ComputerName>Vaio</ComputerName>
  141. <ProductKey>TX9XD-98N7V-6WMQ6-BX7FG-H8Q99</ProductKey>
  142. </component>
  143. </settings>
  144. <settings pass="oobeSystem">
  145. <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">
  146. <AutoLogon>
  147. <Password>
  148. <Value></Value>
  149. <PlainText>true</PlainText>
  150. </Password>
  151. <Enabled>true</Enabled>
  152. <Username>user</Username>
  153. </AutoLogon>
  154. <OOBE>
  155. <HideEULAPage>true</HideEULAPage>
  156. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  157. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  158. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  159. <NetworkLocation>Home</NetworkLocation>
  160. <SkipUserOOBE>true</SkipUserOOBE>
  161. <SkipMachineOOBE>true</SkipMachineOOBE>
  162. <ProtectYourPC>1</ProtectYourPC>
  163. </OOBE>
  164. <UserAccounts>
  165. <LocalAccounts>
  166. <LocalAccount wcm:action="add">
  167. <Password>
  168. <Value></Value>
  169. <PlainText>true</PlainText>
  170. </Password>
  171. <Description></Description>
  172. <DisplayName>user</DisplayName>
  173. <Group>Administrators</Group>
  174. <Name>user</Name>
  175. </LocalAccount>
  176. </LocalAccounts>
  177. </UserAccounts>
  178. <RegisteredOrganization></RegisteredOrganization>
  179. <RegisteredOwner>user</RegisteredOwner>
  180. <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
  181. <FirstLogonCommands>
  182. <SynchronousCommand wcm:action="add">
  183. <Description>Control Panel View</Description>
  184. <Order>1</Order>
  185. <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
  186. <RequiresUserInput>true</RequiresUserInput>
  187. </SynchronousCommand>
  188. <SynchronousCommand wcm:action="add">
  189. <Order>2</Order>
  190. <Description>Control Panel Icon Size</Description>
  191. <RequiresUserInput>false</RequiresUserInput>
  192. <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
  193. </SynchronousCommand>
  194. <SynchronousCommand wcm:action="add">
  195. <Order>3</Order>
  196. <RequiresUserInput>false</RequiresUserInput>
  197. <CommandLine>cmd /C wmic useraccount where name="user" set PasswordExpires=false</CommandLine>
  198. <Description>Password Never Expires</Description>
  199. </SynchronousCommand>
  200. </FirstLogonCommands>
  201. <TimeZone>W. Europe Standard Time</TimeZone>
  202. </component>
  203. </settings>
  204. </unattend>
  205.  
Advertisement
Add Comment
Please, Sign In to add comment