| <?xml version="1.0" encoding="utf-8"?> |
| <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> |
| <!-- Set up the machine as a Skolo Swarming bot using the latest skiabot image. --> |
| <settings pass="windowsPE"> |
| <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64"> |
| <WindowsDeploymentServices> |
| <Login> |
| <WillShowUI>OnError</WillShowUI> |
| <Credentials> |
| <Username>Administrator</Username> |
| <Domain>win.skolo.skia.org</Domain> |
| <Password>{{.AdminPassword}}</Password> |
| </Credentials> |
| </Login> |
| <ImageSelection> |
| <InstallImage> |
| <ImageName>skiabot-win10-20170621</ImageName> |
| <ImageGroup>Win10</ImageGroup> |
| <Filename>skiabot-win10-20170621.wim</Filename> |
| </InstallImage> |
| <WillShowUI>OnError</WillShowUI> |
| <InstallTo> |
| <DiskID>0</DiskID> |
| <PartitionID>2</PartitionID> |
| </InstallTo> |
| </ImageSelection> |
| </WindowsDeploymentServices> |
| <DiskConfiguration> |
| <!-- Copied from https://technet.microsoft.com/en-us/library/hh825701.aspx and fixed --> |
| <Disk wcm:action="add"> |
| <DiskID>0</DiskID> |
| <WillWipeDisk>true</WillWipeDisk> |
| <CreatePartitions> |
| <!-- System partition --> |
| <CreatePartition wcm:action="add"> |
| <Order>1</Order> |
| <Type>Primary</Type> |
| <Size>350</Size> |
| </CreatePartition> |
| <!-- Windows partition --> |
| <CreatePartition wcm:action="add"> |
| <Order>2</Order> |
| <Type>Primary</Type> |
| <Extend>true</Extend> |
| </CreatePartition> |
| </CreatePartitions> |
| <ModifyPartitions> |
| <!-- System partition --> |
| <ModifyPartition wcm:action="add"> |
| <Order>1</Order> |
| <PartitionID>1</PartitionID> |
| <Label>System</Label> |
| <Format>NTFS</Format> |
| <Active>true</Active> |
| </ModifyPartition> |
| <!-- Windows partition --> |
| <ModifyPartition wcm:action="add"> |
| <Order>2</Order> |
| <PartitionID>2</PartitionID> |
| <Label>Windows</Label> |
| <Letter>C</Letter> |
| <Format>NTFS</Format> |
| <Active>true</Active> |
| </ModifyPartition> |
| </ModifyPartitions> |
| </Disk> |
| <WillShowUI>OnError</WillShowUI> |
| </DiskConfiguration> |
| </component> |
| <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64"> |
| <SetupUILanguage> |
| <WillShowUI>OnError</WillShowUI> |
| <UILanguage>en-US</UILanguage> |
| </SetupUILanguage> |
| <UILanguage>en-US</UILanguage> |
| <InputLocale>en-US</InputLocale> |
| <SystemLocale>en-US</SystemLocale> |
| <UserLocale>en-US</UserLocale> |
| <UILanguageFallback>en-US</UILanguageFallback> |
| </component> |
| </settings> |
| <settings pass="specialize"> |
| <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64"> |
| <TimeZone>Eastern Standard Time</TimeZone> |
| <ComputerName>{{.DeviceName}}</ComputerName> |
| </component> |
| <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <fDenyTSConnections>false</fDenyTSConnections> |
| </component> |
| <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <DisableWER>1</DisableWER> |
| </component> |
| <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <InputLocale>en-US</InputLocale> |
| <SystemLocale>en-US</SystemLocale> |
| <UILanguage>en-US</UILanguage> |
| <UserLocale>en-US</UserLocale> |
| <UILanguageFallback>en-US</UILanguageFallback> |
| </component> |
| </settings> |
| <settings pass="oobeSystem"> |
| <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64"> |
| <OOBE> |
| <HideEULAPage>true</HideEULAPage> |
| <HideOnlineAccountScreens>true</HideOnlineAccountScreens> |
| <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> |
| <ProtectYourPC>3</ProtectYourPC> |
| <SkipMachineOOBE>true</SkipMachineOOBE> |
| <SkipUserOOBE>true</SkipUserOOBE> |
| <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> |
| <HideLocalAccountScreen>true</HideLocalAccountScreen> |
| </OOBE> |
| <AutoLogon> |
| <Enabled>true</Enabled> |
| <LogonCount>99999999</LogonCount> |
| <Username>chrome-bot</Username> |
| <Password> |
| <Value>{{.ChromeBotPassword}}</Value> |
| <PlainText>true</PlainText> |
| </Password> |
| <Domain></Domain> |
| </AutoLogon> |
| <UserAccounts> |
| <LocalAccounts> |
| <LocalAccount wcm:action="add"> |
| <Password> |
| <Value>{{.ChromeBotPassword}}</Value> |
| <PlainText>true</PlainText> |
| </Password> |
| <Description>chrome-bot</Description> |
| <DisplayName>chrome-bot</DisplayName> |
| <Name>chrome-bot</Name> |
| <Group>Administrators;Power Users</Group> |
| </LocalAccount> |
| </LocalAccounts> |
| </UserAccounts> |
| <FirstLogonCommands> |
| <SynchronousCommand wcm:action="add"> |
| <CommandLine>C:\swarming-bootstrap.bat</CommandLine> |
| <Description>Bootstrap Swarming bot.</Description> |
| <Order>1</Order> |
| </SynchronousCommand> |
| </FirstLogonCommands> |
| </component> |
| <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <InputLocale>en-US</InputLocale> |
| <SystemLocale>en-US</SystemLocale> |
| <UILanguage>en-US</UILanguage> |
| <UserLocale>en-US</UserLocale> |
| <UILanguageFallback>en-US</UILanguageFallback> |
| </component> |
| </settings> |
| <cpi:offlineImage cpi:source="wim:c:/users/administrator/documents/images/win10%20v1703%20iso/sources/install.wim#Windows 10 Pro N" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> |
| </unattend> |