1
2<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
3 <settings pass="windowsPE">
4 <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
5 <DiskConfiguration>
6 <Disk wcm:action="add">
7 <CreatePartitions>
8 <CreatePartition wcm:action="add">
9 <Order>1</Order>
10 <Type>EFI</Type>
11 <Size>260</Size>
12 </CreatePartition>
13 <CreatePartition wcm:action="add">
14 <Order>2</Order>
15 <Type>MSR</Type>
16 <Size>16</Size>
17 </CreatePartition>
18 <CreatePartition wcm:action="add">
19 <Order>3</Order>
20 <Type>Primary</Type>
21 <Extend>true</Extend>
22 </CreatePartition>
23 </CreatePartitions>
24 <ModifyPartitions>
25 <ModifyPartition wcm:action="add">
26 <Order>1</Order>
27 <PartitionID>1</PartitionID>
28 <Format>FAT32</Format>
29 <Label>System</Label>
30 </ModifyPartition>
31 <ModifyPartition wcm:action="add">
32 <Order>2</Order>
33 <PartitionID>2</PartitionID>
34 </ModifyPartition>
35 <ModifyPartition wcm:action="add">
36 <Order>3</Order>
37 <PartitionID>3</PartitionID>
38 <Format>NTFS</Format>
39 <Label>Windows</Label>
40 <Letter>C</Letter>
41 </ModifyPartition>
42 </ModifyPartitions>
43 <WillWipeDisk>true</WillWipeDisk>
44 <DiskID>0</DiskID>
45 </Disk>
46 </DiskConfiguration>
47 <ImageInstall>
48 <OSImage>
49 <InstallTo>
50 <DiskID>0</DiskID>
51 <PartitionID>3</PartitionID>
52 </InstallTo>
53 </OSImage>
54 </ImageInstall>
55 <UserData>
56 <ProductKey>
57 <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
58 </ProductKey>
59 <AcceptEula>true</AcceptEula>
60 </UserData>
61 </component>
62 <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
63 <SetupUILanguage>
64 <UILanguage>en-US</UILanguage>
65 </SetupUILanguage>
66 <InputLocale>0409:00000409</InputLocale>
67 <SystemLocale>en-US</SystemLocale>
68 <UILanguage>en-US</UILanguage>
69 <UserLocale>en-US</UserLocale>
70 </component>
71 </settings>
72 <settings pass="specialize">
73 <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
74 <TimeZone>UTC</TimeZone>
75 </component>
76 </settings>
77 <settings pass="oobeSystem">
78 <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
79 <OOBE>
80 <HideEULAPage>true</HideEULAPage>
81 <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
82 <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
83 <ProtectYourPC>3</ProtectYourPC>
84 </OOBE>
85 <UserAccounts>
86 <LocalAccounts>
87 <LocalAccount wcm:action="add">
88 <DisplayName>Admin</DisplayName>
89 <Group>Administrators</Group>
90 <Name>Admin</Name>
91 </LocalAccount>
92 </LocalAccounts>
93 </UserAccounts>
94 <FirstLogonCommands>
95 <SynchronousCommand wcm:action="add">
96 <Order>1</Order>
97 <CommandLine>powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Set-WinHomeLocation -GeoId 244"</CommandLine>
98 </SynchronousCommand>
99 <SynchronousCommand wcm:action="add">
100 <Order>2</Order>
101 <CommandLine>powershell.exe -NoProfile -Command "Set-LocalUser -Name 'Admin' -PasswordNeverExpires $true"</CommandLine>
102 </SynchronousCommand>
103 </FirstLogonCommands>
104 </component>
105 <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
106 <InputLocale>0409:00000409</InputLocale>
107 <SystemLocale>en-US</SystemLocale>
108 <UILanguage>en-US</UILanguage>
109 <UserLocale>en-US</UserLocale>
110 </component>
111 </settings>
112</unattend>