@george1421 Thanks for your help.
I solve the problem with this AutoUnatted.xml
<?xml version=â1.0â encoding=âutf-8â?>
<unattend xmlns=âurn:schemas-microsoft-com:unattendâ>
<!-- Bypass OOBE -->
<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â>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
<NetworkLocation>Other</NetworkLocation>
</OOBE>
</component>
<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â>
<SystemLocale>pt-PT</SystemLocale>
<UILanguage>pt-PT</UILanguage>
<UserLocale>pt-PT</UserLocale>
<InputLocale>0816:00000816</InputLocale>
</component>
</settings>
<!-- Run SetupComplete.cmd via PostOOBE -->
<settings pass="specialize">
<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>reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\FirstBoot\PostOobe" /v "00" /t REG_SZ /d "cmd /c C:\Windows\Setup\Scripts\SetupComplete.cmd & exit /b 0" /f</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
</unattend>
The AutoUnatted.xml will call the the script C:\Windows\Setup\Scripts\SetupComplete.cmd
I make the sysprep with AutoUnatted.xml