|
@@ -0,0 +1,283 @@
|
|
|
|
+<?xml version="1.0"?>
|
|
|
|
+<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
|
|
|
+ <settings pass="offlineServicing"/>
|
|
|
|
+ <settings pass="windowsPE">
|
|
|
|
+ <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
|
+ <SetupUILanguage>
|
|
|
|
+ <UILanguage>en-US</UILanguage>
|
|
|
|
+ </SetupUILanguage>
|
|
|
|
+ <InputLocale>0409:00000409</InputLocale>
|
|
|
|
+ <SystemLocale>en-US</SystemLocale>
|
|
|
|
+ <UILanguage>en-US</UILanguage>
|
|
|
|
+ <UserLocale>en-US</UserLocale>
|
|
|
|
+ </component>
|
|
|
|
+ <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
|
+ <DiskConfiguration>
|
|
|
|
+ <Disk wcm:action="add">
|
|
|
|
+ <DiskID>0</DiskID>
|
|
|
|
+ <WillWipeDisk>true</WillWipeDisk>
|
|
|
|
+ <CreatePartitions>
|
|
|
|
+ <!-- Windows RE Tools partition -->
|
|
|
|
+ <CreatePartition wcm:action="add">
|
|
|
|
+ <Order>1</Order>
|
|
|
|
+ <Type>Primary</Type>
|
|
|
|
+ <Size>300</Size>
|
|
|
|
+ </CreatePartition>
|
|
|
|
+ <!-- System partition (ESP) -->
|
|
|
|
+ <CreatePartition wcm:action="add">
|
|
|
|
+ <Order>2</Order>
|
|
|
|
+ <Type>EFI</Type>
|
|
|
|
+ <Size>100</Size>
|
|
|
|
+ </CreatePartition>
|
|
|
|
+ <!-- Microsoft reserved partition (MSR) -->
|
|
|
|
+ <CreatePartition wcm:action="add">
|
|
|
|
+ <Order>3</Order>
|
|
|
|
+ <Type>MSR</Type>
|
|
|
|
+ <Size>128</Size>
|
|
|
|
+ </CreatePartition>
|
|
|
|
+ <!-- Windows partition -->
|
|
|
|
+ <CreatePartition wcm:action="add">
|
|
|
|
+ <Order>4</Order>
|
|
|
|
+ <Type>Primary</Type>
|
|
|
|
+ <Extend>true</Extend>
|
|
|
|
+ </CreatePartition>
|
|
|
|
+ </CreatePartitions>
|
|
|
|
+ <ModifyPartitions>
|
|
|
|
+ <!-- Windows RE Tools partition -->
|
|
|
|
+ <ModifyPartition wcm:action="add">
|
|
|
|
+ <Order>1</Order>
|
|
|
|
+ <PartitionID>1</PartitionID>
|
|
|
|
+ <Label>WINRE</Label>
|
|
|
|
+ <Format>NTFS</Format>
|
|
|
|
+ <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
|
|
+ </ModifyPartition>
|
|
|
|
+ <!-- System partition (ESP) -->
|
|
|
|
+ <ModifyPartition wcm:action="add">
|
|
|
|
+ <Order>2</Order>
|
|
|
|
+ <PartitionID>2</PartitionID>
|
|
|
|
+ <Label>System</Label>
|
|
|
|
+ <Format>FAT32</Format>
|
|
|
|
+ </ModifyPartition>
|
|
|
|
+ <!-- MSR partition does not need to be modified -->
|
|
|
|
+ <ModifyPartition wcm:action="add">
|
|
|
|
+ <Order>3</Order>
|
|
|
|
+ <PartitionID>3</PartitionID>
|
|
|
|
+ </ModifyPartition>
|
|
|
|
+ <!-- Windows partition -->
|
|
|
|
+ <ModifyPartition wcm:action="add">
|
|
|
|
+ <Order>4</Order>
|
|
|
|
+ <PartitionID>4</PartitionID>
|
|
|
|
+ <Label>Windows</Label>
|
|
|
|
+ <Letter>C</Letter>
|
|
|
|
+ <Format>NTFS</Format>
|
|
|
|
+ </ModifyPartition>
|
|
|
|
+ </ModifyPartitions>
|
|
|
|
+ </Disk>
|
|
|
|
+ </DiskConfiguration>
|
|
|
|
+ <ImageInstall>
|
|
|
|
+ <OSImage>
|
|
|
|
+ <InstallTo>
|
|
|
|
+ <DiskID>0</DiskID>
|
|
|
|
+ <PartitionID>4</PartitionID>
|
|
|
|
+ </InstallTo>
|
|
|
|
+ <InstallToAvailablePartition>false</InstallToAvailablePartition>
|
|
|
|
+ </OSImage>
|
|
|
|
+ </ImageInstall>
|
|
|
|
+ <UserData>
|
|
|
|
+ <ProductKey>
|
|
|
|
+ <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
|
|
|
|
+ </ProductKey>
|
|
|
|
+ <AcceptEula>true</AcceptEula>
|
|
|
|
+ </UserData>
|
|
|
|
+ <EnableFirewall>false</EnableFirewall>
|
|
|
|
+ </component>
|
|
|
|
+ <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
|
+ <DriverPaths>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="1">
|
|
|
|
+ <Path>D:\viostor\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="2">
|
|
|
|
+ <Path>D:\NetKVM\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="3">
|
|
|
|
+ <Path>D:\Balloon\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="4">
|
|
|
|
+ <Path>D:\pvpanic\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="5">
|
|
|
|
+ <Path>D:\qemupciserial\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="6">
|
|
|
|
+ <Path>D:\qxldod\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="7">
|
|
|
|
+ <Path>D:\vioinput\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="8">
|
|
|
|
+ <Path>D:\viorng\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="9">
|
|
|
|
+ <Path>D:\vioscsi\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ <PathAndCredentials wcm:action="add" wcm:keyValue="10">
|
|
|
|
+ <Path>D:\vioserial\w10\amd64</Path>
|
|
|
|
+ </PathAndCredentials>
|
|
|
|
+ </DriverPaths>
|
|
|
|
+ </component>
|
|
|
|
+ </settings>
|
|
|
|
+ <settings pass="generalize"/>
|
|
|
|
+ <settings pass="specialize">
|
|
|
|
+ <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
|
+ <RunSynchronous>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>1</Order>
|
|
|
|
+ <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>2</Order>
|
|
|
|
+ <Path>netsh.exe advfirewall firewall set rule group="Remote Desktop" new enable=Yes</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>3</Order>
|
|
|
|
+ <Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>4</Order>
|
|
|
|
+ <Path>fsutil.exe behavior set disableLastAccess 1</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>5</Order>
|
|
|
|
+ <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>6</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>7</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>8</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>9</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>10</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>11</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>12</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>13</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>14</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>15</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>16</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>17</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>18</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>19</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>20</Order>
|
|
|
|
+ <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>21</Order>
|
|
|
|
+ <Path>reg.exe unload "HKU\mount"</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ <RunSynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>22</Order>
|
|
|
|
+ <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f</Path>
|
|
|
|
+ </RunSynchronousCommand>
|
|
|
|
+ </RunSynchronous>
|
|
|
|
+ </component>
|
|
|
|
+ </settings>
|
|
|
|
+ <settings pass="auditSystem"/>
|
|
|
|
+ <settings pass="auditUser"/>
|
|
|
|
+ <settings pass="oobeSystem">
|
|
|
|
+ <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
|
+ <InputLocale>0409:00000409</InputLocale>
|
|
|
|
+ <SystemLocale>en-US</SystemLocale>
|
|
|
|
+ <UILanguage>en-US</UILanguage>
|
|
|
|
+ <UserLocale>en-US</UserLocale>
|
|
|
|
+ </component>
|
|
|
|
+ <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
|
+ <UserAccounts>
|
|
|
|
+ <LocalAccounts>
|
|
|
|
+ <LocalAccount wcm:action="add">
|
|
|
|
+ <Name>Docker</Name>
|
|
|
|
+ <Group>Administrators</Group>
|
|
|
|
+ <Password>
|
|
|
|
+ <Value/>
|
|
|
|
+ <PlainText>true</PlainText>
|
|
|
|
+ </Password>
|
|
|
|
+ </LocalAccount>
|
|
|
|
+ </LocalAccounts>
|
|
|
|
+ <AdministratorPassword>
|
|
|
|
+ <Value>password</Value>
|
|
|
|
+ <PlainText>true</PlainText>
|
|
|
|
+ </AdministratorPassword>
|
|
|
|
+ </UserAccounts>
|
|
|
|
+ <AutoLogon>
|
|
|
|
+ <Username>Docker</Username>
|
|
|
|
+ <Enabled>true</Enabled>
|
|
|
|
+ <LogonCount>1</LogonCount>
|
|
|
|
+ <Password>
|
|
|
|
+ <Value/>
|
|
|
|
+ <PlainText>true</PlainText>
|
|
|
|
+ </Password>
|
|
|
|
+ </AutoLogon>
|
|
|
|
+ <OOBE>
|
|
|
|
+ <ProtectYourPC>3</ProtectYourPC>
|
|
|
|
+ <HideEULAPage>true</HideEULAPage>
|
|
|
|
+ <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
|
|
|
+ </OOBE>
|
|
|
|
+ <FirstLogonCommands>
|
|
|
|
+ <SynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>1</Order>
|
|
|
|
+ <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
|
|
|
|
+ </SynchronousCommand>
|
|
|
|
+ <SynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>2</Order>
|
|
|
|
+ <RequiresUserInput>false</RequiresUserInput>
|
|
|
|
+ <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
|
|
|
+ <Description>Password Never Expires</Description>
|
|
|
|
+ </SynchronousCommand>
|
|
|
|
+ <SynchronousCommand wcm:action="add">
|
|
|
|
+ <Order>3</Order>
|
|
|
|
+ <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
|
|
|
+ <Description>Install VirtIO drivers</Description>
|
|
|
|
+ </SynchronousCommand>
|
|
|
|
+ </FirstLogonCommands>
|
|
|
|
+ </component>
|
|
|
|
+ </settings>
|
|
|
|
+</unattend>
|