nl-NL OnError 0409:00020409;080c:0000080c nl-NL nl-NL en-US nl-NL true Atlas Atlas Corporation 0 true 1 EFI 500 2 MSR 128 3 Primary true 1 1 FAT32 2 2 3 3 C NTFS 0 3 OnError Atlas W. Europe Standard Time 0409:00020409;080c:0000080c nl-NL nl-NL en-US nl-NL 1 cmd.exe /c "mkdir C:\AtlasDebug 2>nul & echo [%DATE% %TIME%] Specialize gestart > C:\AtlasDebug\setup-phases.log" Never 2 powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$null=New-Item -Type Directory -Force C:\Atlas,C:\AtlasDebug -ErrorAction SilentlyContinue; $found=$false; foreach($d in [char[]](65..90)){ foreach($sub in @('Scripts','scripts')){ $s=[IO.Path]::Combine($d+':\',$sub,'Setup-Laptop.ps1'); if(Test-Path $s){ Copy-Item $s C:\Atlas\ -Force; $f=[IO.Path]::Combine($d+':\',$sub,'fleet.config'); if(Test-Path $f){Copy-Item $f C:\Atlas\ -Force}; $h=[IO.Path]::Combine($d+':\',$sub,'HPImageAssistant.exe'); if(Test-Path $h){Copy-Item $h C:\Atlas\ -Force}; Add-Content C:\AtlasDebug\setup-phases.log ('['+[DateTime]::Now.ToString('s')+'] Bestanden gekopieerd van '+$d+':\'+$sub); $found=$true; break}}; if($found){break}}; if(-not $found){Add-Content C:\AtlasDebug\setup-phases.log '[WARN] Geen USB setup-bestanden gevonden'}" Never . true 1 AtlasSetup123 true</PlainText> </Password> <Username>Administrator</Username> </AutoLogon> <FirstLogonCommands> <!-- Fase loggen --> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>cmd.exe /c "echo [%DATE% %TIME%] FirstLogonCommands gestart >> C:\AtlasDebug\setup-phases.log"</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <!-- Panther setup-logs kopiëren voor diagnose --> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$null=New-Item -Type Directory -Force C:\AtlasDebug\panther; Copy-Item C:\Windows\Panther\*.log C:\AtlasDebug\panther\ -Force -ErrorAction SilentlyContinue; Copy-Item C:\Windows\Panther\*.xml C:\AtlasDebug\panther\ -ErrorAction SilentlyContinue; Add-Content C:\AtlasDebug\setup-phases.log ('['+[DateTime]::Now.ToString('s')+'] Panther logs gekopieerd')"</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <!-- Fallback: bestanden kopiëren als specialize dat niet deed --> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "if(-not(Test-Path 'C:\Atlas\Setup-Laptop.ps1')){ $null=New-Item -Type Directory -Force C:\Atlas; foreach($d in [char[]](68..90)){ foreach($sub in @('Scripts','scripts')){ $s=[IO.Path]::Combine($d+':\',$sub,'Setup-Laptop.ps1'); if(Test-Path $s){ Copy-Item $s C:\Atlas\ -Force; $f=[IO.Path]::Combine($d+':\',$sub,'fleet.config'); if(Test-Path $f){Copy-Item $f C:\Atlas\ -Force}; $h=[IO.Path]::Combine($d+':\',$sub,'HPImageAssistant.exe'); if(Test-Path $h){Copy-Item $h C:\Atlas\ -Force}; break}}}}"</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <!-- Setup-script uitvoeren --> <SynchronousCommand wcm:action="add"> <Order>4</Order> <CommandLine>powershell.exe -ExecutionPolicy Bypass -NoProfile -WindowStyle Normal -File "C:\Atlas\Setup-Laptop.ps1"</CommandLine> <Description>Atlas Laptop Setup</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> <OOBE> <HideEULAPage>true</HideEULAPage> <HideLocalAccountScreen>true</HideLocalAccountScreen> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> <UserAccounts> <AdministratorPassword> <Value>AtlasSetup123</Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <DisplayName>Atlas</DisplayName> <Group>Administrators</Group> <Name>Atlas</Name> <Password> <Value>Atlas</Value> <PlainText>true</PlainText> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <InputLocale>0409:00020409;080c:0000080c</InputLocale> <SystemLocale>nl-NL</SystemLocale> <UILanguage>nl-NL</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>nl-NL</UserLocale> </component> </settings> </unattend>