<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <cpi:offlineImage cpi:source="catalog:s:/install_windows 8.1 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <AutoLogon>
        <Username>WDAGUtilityAccount</Username>
        <Password>
          <Value>Password!</Value>
          <PlainText>true</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>1</LogonCount>
      </AutoLogon>
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount>
            <Password>
              <Value>Password!</Value>
              <PlainText>true</PlainText>
            </Password>
            <Description/>
            <DisplayName>WDAGUtilityAccount</DisplayName>
            <Group>RemoteDesktopUsers</Group>
            <Name>WDAGUtilityAccount</Name>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
      <FirstLogonCommands>
        <SynchronousCommand wcm:action="add">
          <CommandLine>cmd /C wmic useraccount where "name='WDAGUtilityAccount'" set PasswordExpires=FALSE</CommandLine>
          <Description>WDAG account password never expires</Description>
          <Order>1</Order>
        </SynchronousCommand>
      </FirstLogonCommands>
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <NetworkLocation>Home</NetworkLocation>
        <SkipUserOOBE>true</SkipUserOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <ProtectYourPC>3</ProtectYourPC>
      </OOBE>
    </component>
    <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">
      <AutoLogon>
        <Username>WDAGUtilityAccount</Username>
        <Password>
          <Value>Password!</Value>
          <PlainText>true</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>1</LogonCount>
      </AutoLogon>
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount>
            <Password>
              <Value>Password!</Value>
              <PlainText>true</PlainText>
            </Password>
            <Description/>
            <DisplayName>WDAGUtilityAccount</DisplayName>
            <Group>RemoteDesktopUsers</Group>
            <Name>WDAGUtilityAccount</Name>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
      <FirstLogonCommands>
        <SynchronousCommand wcm:action="add">
          <CommandLine>cmd /C wmic useraccount where "name='WDAGUtilityAccount'" set PasswordExpires=FALSE</CommandLine>
          <Description>WDAG account password never expires</Description>
          <Order>1</Order>
        </SynchronousCommand>
      </FirstLogonCommands>
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <NetworkLocation>Home</NetworkLocation>
        <SkipUserOOBE>true</SkipUserOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <ProtectYourPC>1</ProtectYourPC>
      </OOBE>
    </component>
  </settings>
</unattend>
