Advertisement
Guest User

Windows 11 autounattend.xml

a guest
Apr 11th, 2025
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 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-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">
  5. <SetupUILanguage>
  6. <UILanguage>en-US</UILanguage>
  7. </SetupUILanguage>
  8. <InputLocale>1409:00000409</InputLocale>
  9. <SystemLocale>en-NZ</SystemLocale>
  10. <UILanguage>en-US</UILanguage>
  11. <UILanguageFallback>en-US</UILanguageFallback>
  12. <UserLocale>en-NZ</UserLocale>
  13. </component>
  14. <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">
  15. <DiskConfiguration>
  16. <Disk wcm:action="add">
  17. <CreatePartitions>
  18. <CreatePartition wcm:action="add">
  19. <Order>1</Order>
  20. <Size>450</Size>
  21. <Type>Primary</Type>
  22. </CreatePartition>
  23. <CreatePartition wcm:action="add">
  24. <Order>2</Order>
  25. <Size>100</Size>
  26. <Type>EFI</Type>
  27. </CreatePartition>
  28. <CreatePartition wcm:action="add">
  29. <Order>3</Order>
  30. <Size>16</Size>
  31. <Type>MSR</Type>
  32. </CreatePartition>
  33. <CreatePartition wcm:action="add">
  34. <Extend>true</Extend>
  35. <Order>4</Order>
  36. <Type>Primary</Type>
  37. </CreatePartition>
  38. </CreatePartitions>
  39. <ModifyPartitions>
  40. <ModifyPartition wcm:action="add">
  41. <Format>NTFS</Format>
  42. <Label>WinRE</Label>
  43. <Order>1</Order>
  44. <PartitionID>1</PartitionID>
  45. <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
  46. </ModifyPartition>
  47. <ModifyPartition wcm:action="add">
  48. <Format>FAT32</Format>
  49. <Label>System</Label>
  50. <Order>2</Order>
  51. <PartitionID>2</PartitionID>
  52. </ModifyPartition>
  53. <ModifyPartition wcm:action="add">
  54. <Order>3</Order>
  55. <PartitionID>3</PartitionID>
  56. </ModifyPartition>
  57. <ModifyPartition wcm:action="add">
  58. <Format>NTFS</Format>
  59. <Label>Windows</Label>
  60. <Letter>C</Letter>
  61. <Order>4</Order>
  62. <PartitionID>4</PartitionID>
  63. </ModifyPartition>
  64. </ModifyPartitions>
  65. <DiskID>0</DiskID>
  66. <WillWipeDisk>true</WillWipeDisk>
  67. </Disk>
  68. </DiskConfiguration>
  69. <UserData>
  70. <ProductKey>
  71. <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
  72. </ProductKey>
  73. <AcceptEula>true</AcceptEula>
  74. <Organization></Organization>
  75. </UserData>
  76. <ImageInstall>
  77. <OSImage>
  78. <InstallTo>
  79. <DiskID>0</DiskID>
  80. <PartitionID>4</PartitionID>
  81. </InstallTo>
  82. </OSImage>
  83. </ImageInstall>
  84. <RunSynchronous>
  85. <RunSynchronousCommand wcm:action="add">
  86. <Order>1</Order>
  87. <Path>cmd.exe /c xcopy /y enroll.cmd %WINDIR%\Panther\</Path>
  88. <Description>Copy Enrollment Script to Windows</Description>
  89. </RunSynchronousCommand>
  90. </RunSynchronous>
  91. </component>
  92. </settings>
  93. <settings pass="oobeSystem">
  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>1409:00000409</InputLocale>
  96. <SystemLocale>en-NZ</SystemLocale>
  97. <UILanguage>en-US</UILanguage>
  98. <UILanguageFallback>en-US</UILanguageFallback>
  99. <UserLocale>en-NZ</UserLocale>
  100. </component>
  101. <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">
  102. <OOBE>
  103. <VMModeOptimizations>
  104. <SkipAdministratorProfileRemoval>false</SkipAdministratorProfileRemoval>
  105. </VMModeOptimizations>
  106. <HideEULAPage>true</HideEULAPage>
  107. <HideLocalAccountScreen>false</HideLocalAccountScreen>
  108. <HideOnlineAccountScreens>false</HideOnlineAccountScreens>
  109. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  110. <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
  111. <ProtectYourPC>1</ProtectYourPC>
  112. <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
  113. <SkipUserOOBE>false</SkipUserOOBE>
  114. <SkipMachineOOBE>false</SkipMachineOOBE>
  115. </OOBE>
  116. <TimeZone>New Zealand Standard Time</TimeZone>
  117. <FirstLogonCommands>
  118. <SynchronousCommand wcm:action="add">
  119. <CommandLine>cmd.exe /c %WINDIR%\System32\cmd.exe /c C:\Windows\Setup\Scripts\enroll.cmd</CommandLine>
  120. <Description>Run Enrollment Script</Description>
  121. <Order>1</Order>
  122. <RequiresUserInput>false</RequiresUserInput>
  123. </SynchronousCommand>
  124. </FirstLogonCommands>
  125. </component>
  126. </settings>
  127. <settings pass="specialize">
  128. <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">
  129. <ComputerName>*</ComputerName>
  130. <CopyProfile>true</CopyProfile>
  131. <TimeZone>New Zealand Standard Time</TimeZone>
  132. </component>
  133. <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">
  134. <RunSynchronous>
  135. <RunSynchronousCommand wcm:action="add">
  136. <Order>1</Order>
  137. <Path>cmd.exe /c mkdir C:\Windows\Setup\Scripts</Path>
  138. <Description>Create Scripts Directory</Description>
  139. </RunSynchronousCommand>
  140. <RunSynchronousCommand wcm:action="add">
  141. <Order>2</Order>
  142. <Path>cmd.exe /c copy %WINDIR%\Panther\enroll.cmd C:\Windows\Setup\Scripts\</Path>
  143. <Description>Copy Enrollment Script</Description>
  144. </RunSynchronousCommand>
  145. </RunSynchronous>
  146. </component>
  147. </settings>
  148. </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement