123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- <?xml version="1.0" encoding="UTF-8"?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <DiskConfiguration>
- <WillShowUI>OnError</WillShowUI>
- <Disk wcm:action="add">
- <DiskID>0</DiskID>
- <WillWipeDisk>true</WillWipeDisk>
- <CreatePartitions>
- <CreatePartition wcm:action="add">
- <Order>1</Order>
- <Type>Primary</Type>
- <Size>100</Size>
- </CreatePartition>
- <CreatePartition wcm:action="add">
- <Order>2</Order>
- <Type>Primary</Type>
- <Extend>true</Extend>
- </CreatePartition>
- </CreatePartitions>
- <ModifyPartitions>
- <ModifyPartition wcm:action="add">
- <Format>NTFS</Format>
- <Label>System Reserved</Label>
- <Order>1</Order>
- <Active>true</Active>
- <PartitionID>1</PartitionID>
- <TypeID>0x27</TypeID>
- </ModifyPartition>
- <ModifyPartition wcm:action="add">
- <Active>true</Active>
- <Format>NTFS</Format>
- <Label>Windows</Label>
- <Letter>C</Letter>
- <Order>2</Order>
- <PartitionID>2</PartitionID>
- </ModifyPartition>
- </ModifyPartitions>
- </Disk>
- </DiskConfiguration>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
- <Value>Windows 7 PROFESSIONAL</Value>
- <Key>/IMAGE/NAME</Key>
- </MetaData>
- </InstallFrom>
- <InstallTo>
- <DiskID>0</DiskID>
- <PartitionID>2</PartitionID>
- </InstallTo>
- <InstallToAvailablePartition>false</InstallToAvailablePartition>
- </OSImage>
- </ImageInstall>
- <DynamicUpdate>
- <Enable>true</Enable>
- <WillShowUI>Never</WillShowUI>
- </DynamicUpdate>
- <UpgradeData>
- <Upgrade>false</Upgrade>
- <WillShowUI>Never</WillShowUI>
- </UpgradeData>
- <UserData>
- <AcceptEula>true</AcceptEula>
- <FullName>Docker</FullName>
- <Organization>Windows for Docker</Organization>
- <ProductKey>
- <Key>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key>
- <WillShowUI>OnError</WillShowUI>
- </ProductKey>
- </UserData>
- <EnableFirewall>false</EnableFirewall>
- <Diagnostics>
- <OptIn>false</OptIn>
- </Diagnostics>
- </component>
- </settings>
- <settings pass="offlineServicing">
- <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <EnableLUA>false</EnableLUA>
- </component>
- </settings>
- <settings pass="generalize">
- <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
- </component>
- <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <SkipRearm>1</SkipRearm>
- </component>
- </settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <SkipAutoActivation>true</SkipAutoActivation>
- </component>
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <ComputerName>*</ComputerName>
- <OEMInformation>
- <Manufacturer>Dockur</Manufacturer>
- <Model>Windows for Docker</Model>
- </OEMInformation>
- </component>
- <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <DisableWER>1</DisableWER>
- </component>
- <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <DisableAccelerators>true</DisableAccelerators>
- <DisableFirstRunWizard>true</DisableFirstRunWizard>
- <Home_Page>https://google.com</Home_Page>
- <Help_Page>about:blank</Help_Page>
- </component>
- <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <DisableAccelerators>true</DisableAccelerators>
- <DisableFirstRunWizard>true</DisableFirstRunWizard>
- <Home_Page>https://google.com</Home_Page>
- <Help_Page>about:blank</Help_Page>
- </component>
- <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <CEIPEnabled>0</CEIPEnabled>
- </component>
- <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <DisableSR>1</DisableSR>
- </component>
- <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" 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-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <fDenyTSConnections>false</fDenyTSConnections>
- </component>
- <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <UserAuthentication>0</UserAuthentication>
- </component>
- <component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
- <FirewallGroups>
- <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
- <Active>true</Active>
- <Profile>all</Profile>
- <Group>@FirewallAPI.dll,-28752</Group>
- </FirewallGroup>
- </FirewallGroups>
- </component>
- </settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>65432</LogonCount>
- <Password>
- <Value />
- <PlainText>true</PlainText>
- </Password>
- </AutoLogon>
- <Display>
- <ColorDepth>32</ColorDepth>
- <HorizontalResolution>1920</HorizontalResolution>
- <VerticalResolution>1080</VerticalResolution>
- </Display>
- <OOBE>
- <HideEULAPage>true</HideEULAPage>
- <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
- <NetworkLocation>Home</NetworkLocation>
- <ProtectYourPC>3</ProtectYourPC>
- <SkipUserOOBE>true</SkipUserOOBE>
- <SkipMachineOOBE>true</SkipMachineOOBE>
- </OOBE>
- <RegisteredOrganization>Dockur</RegisteredOrganization>
- <RegisteredOwner>Windows for Docker</RegisteredOwner>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
- <Order>1</Order>
- <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
- <Description>Allow guest access to network shares</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>2</Order>
- <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
- <Description>Allow RDP login with blank password</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>3</Order>
- <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
- <Description>Password Never Expires</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>4</Order>
- <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
- <Description>Disable Hibernation</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>5</Order>
- <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
- <Description>Disable monitor blanking</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>6</Order>
- <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
- <Description>Disable Network Discovery popup</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>7</Order>
- <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
- <Description>Disable Network Discovery popup</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>8</Order>
- <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
- <Description>Disable Network Discovery popup</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>9</Order>
- <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
- <Description>Disable first-run experience in Edge</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>10</Order>
- <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
- <Description>Show file extensions in Explorer</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>11</Order>
- <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
- <Description>Zero Hibernation File</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>12</Order>
- <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
- <Description>Disable Hibernation</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>13</Order>
- <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
- <Description>Disable Sleep</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>14</Order>
- <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
- <Description>Enable RemoteAPP to launch unlisted programs</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>15</Order>
- <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
- <Description>Enable Network Discovery</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>16</Order>
- <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
- <Description>Enable File Sharing</Description>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <Order>17</Order>
- <CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
- <Description>Execute custom script from the OEM folder if exists</Description>
- </SynchronousCommand>
- </FirstLogonCommands>
- </component>
- </settings>
- </unattend>
|