<?xml version="1.0" encoding="utf-8"?>
<!-- Generado por: Johan Barahona (jgbarahona@entel.cl) -->
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="specialize">
    <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">
      <ComputerName>*</ComputerName>
      <RegisteredOrganization>ENTEL CIO</RegisteredOrganization>
      <OEMInformation>
        <Manufacturer>HP</Manufacturer>
        <Model>ProBook 445 G10</Model>
      </OEMInformation>
    </component>

    <!--
      UILanguage, InputLocale, SystemLocale y UserLocale de este bloque
      son PLACEHOLDERS: preparar-imagen.bat + Set-UnattendValues.ps1
      los sobrescriben automaticamente antes de copiar a Sysprep.
      UILanguage se autodetecta (InstalledUICulture) segun el idioma
      real de instalacion de la imagen; los otros tres quedan siempre
      fijos en es-CL (Chile), sin importar ese idioma detectado.
    -->
    <component name="Microsoft-Windows-International-Core" 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">
      <InputLocale>es-CL</InputLocale>
      <SystemLocale>es-CL</SystemLocale>
      <UILanguage>es-CL</UILanguage>
      <UserLocale>es-CL</UserLocale>
    </component>

    <component name="Microsoft-Windows-Deployment" 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">
      <RunSynchronous>
        <RunSynchronousCommand wcm:action="add">
          <Order>1</Order>
          <Path>powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$a = Get-LocalUser | Where-Object { $_.SID -like '*-500' }; Enable-LocalUser -Name $a.Name"</Path>
          <Description>Activa la cuenta de Administrador integrada (localizada por SID -500, independiente del idioma)</Description>
        </RunSynchronousCommand>
        <RunSynchronousCommand wcm:action="add">
          <Order>2</Order>
          <Path>powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$a = Get-LocalUser | Where-Object { $_.SID -like '*-500' }; Set-LocalUser -Name $a.Name -PasswordNeverExpires $true"</Path>
          <Description>Evita que la contrasena expire (reemplazo de wmic, removido por defecto en 24H2/25H2)</Description>
        </RunSynchronousCommand>
      </RunSynchronous>
    </component>
  </settings>

  <settings pass="oobeSystem">
    <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">
      <!--
        IMPORTANTE: <Username> debe coincidir EXACTAMENTE con el nombre real
        de la cuenta integrada. Verificalo antes de sysprep con:
        Get-LocalUser | Where-Object { $_.SID -like '*-500' } | Select Name
        Si el resultado es "Administrator" en vez de "Administrador", cambia
        el valor de abajo. AdministratorPassword no tiene este problema
        porque aplica al Administrador integrado sin importar el nombre.
      -->
      <AutoLogon>
        <Password>
          <Value>123</Value>
          <PlainText>true</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>10</LogonCount>
        <Username>Administrador</Username>
      </AutoLogon>
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <HideLocalAccountScreen>true</HideLocalAccountScreen>
        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <ProtectYourPC>3</ProtectYourPC>
      </OOBE>
      <UserAccounts>
        <AdministratorPassword>
          <Value>123</Value>
          <PlainText>true</PlainText>
        </AdministratorPassword>
      </UserAccounts>
    </component>
  </settings>
</unattend>
