ef7128111a
- Remplacer chemins en dur par variables dynamiques (\C:\Windows) - Ajouter détection du contexte SYSTEM avec alertes - Implémenter upgrade automatique Winget v7 avant installation - Ajouter gestion d'erreurs robuste et logging détaillé - Ignorer dossier Apps/ dans .gitignore (installers volumineux) - Créer documentation compatibilité MDT USB
177 lines
9.1 KiB
XML
177 lines
9.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
|
<settings pass="windowsPE">
|
|
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
|
<ImageInstall>
|
|
<OSImage>
|
|
<WillShowUI>OnError</WillShowUI>
|
|
<InstallTo>
|
|
<DiskID>0</DiskID>
|
|
<PartitionID>1</PartitionID>
|
|
</InstallTo>
|
|
<InstallFrom>
|
|
<Path>.\Operating Systems\Microsoft Windows 10 X64 education version 22h2\install.wim</Path>
|
|
<MetaData>
|
|
<Key>/IMAGE/INDEX</Key>
|
|
<Value>1</Value>
|
|
</MetaData>
|
|
</InstallFrom>
|
|
</OSImage>
|
|
</ImageInstall>
|
|
<ComplianceCheck>
|
|
<DisplayReport>OnError</DisplayReport>
|
|
</ComplianceCheck>
|
|
<UserData>
|
|
<AcceptEula>true</AcceptEula>
|
|
<ProductKey>
|
|
<Key></Key>
|
|
</ProductKey>
|
|
</UserData>
|
|
</component>
|
|
<component name="Microsoft-Windows-International-Core-WinPE" 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">
|
|
<SetupUILanguage>
|
|
<UILanguage>en-US</UILanguage>
|
|
</SetupUILanguage>
|
|
<InputLocale>0409:00000409</InputLocale>
|
|
<SystemLocale>en-US</SystemLocale>
|
|
<UILanguage>en-US</UILanguage>
|
|
<UserLocale>en-US</UserLocale>
|
|
</component>
|
|
</settings>
|
|
<settings pass="generalize">
|
|
<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">
|
|
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
|
|
</component>
|
|
</settings>
|
|
<settings pass="specialize">
|
|
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
|
<Identification>
|
|
<Credentials>
|
|
<Username></Username>
|
|
<Domain></Domain>
|
|
<Password></Password>
|
|
</Credentials>
|
|
<JoinDomain></JoinDomain>
|
|
<JoinWorkgroup></JoinWorkgroup>
|
|
<MachineObjectOU></MachineObjectOU>
|
|
</Identification>
|
|
</component>
|
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
|
<ComputerName></ComputerName>
|
|
<ProductKey></ProductKey>
|
|
<RegisteredOrganization>Service Exploitation - DNE</RegisteredOrganization>
|
|
<RegisteredOwner>Region Hauts-de-France</RegisteredOwner>
|
|
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
|
|
<TimeZone>Pacific Standard Time</TimeZone>
|
|
</component>
|
|
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
|
|
<Home_Page>about:blank</Home_Page>
|
|
</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">
|
|
<Description>EnableAdmin</Description>
|
|
<Order>1</Order>
|
|
<Path>cmd /c net user Administrator /active:yes</Path>
|
|
</RunSynchronousCommand>
|
|
<RunSynchronousCommand wcm:action="add">
|
|
<Description>UnfilterAdministratorToken</Description>
|
|
<Order>2</Order>
|
|
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
|
|
</RunSynchronousCommand>
|
|
<RunSynchronousCommand wcm:action="add">
|
|
<Description>disable user account page</Description>
|
|
<Order>3</Order>
|
|
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
|
|
</RunSynchronousCommand>
|
|
<RunSynchronousCommand wcm:action="add">
|
|
<Description>disable async RunOnce</Description>
|
|
<Order>4</Order>
|
|
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>
|
|
</RunSynchronousCommand>
|
|
</RunSynchronous>
|
|
</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">
|
|
<InputLocale>0409:00000409</InputLocale>
|
|
<SystemLocale>en-US</SystemLocale>
|
|
<UILanguage>en-US</UILanguage>
|
|
<UserLocale>en-US</UserLocale>
|
|
</component>
|
|
<component name="Microsoft-Windows-TapiSetup" 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">
|
|
<TapiConfigured>0</TapiConfigured>
|
|
<TapiUnattendLocation>
|
|
<AreaCode>""</AreaCode>
|
|
<CountryOrRegion>1</CountryOrRegion>
|
|
<LongDistanceAccess>9</LongDistanceAccess>
|
|
<OutsideAccess>9</OutsideAccess>
|
|
<PulseOrToneDialing>1</PulseOrToneDialing>
|
|
<DisableCallWaiting>""</DisableCallWaiting>
|
|
<InternationalCarrierCode>""</InternationalCarrierCode>
|
|
<LongDistanceCarrierCode>""</LongDistanceCarrierCode>
|
|
<Name>Default</Name>
|
|
</TapiUnattendLocation>
|
|
</component>
|
|
<component name="Microsoft-Windows-SystemRestore-Main" 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">
|
|
<DisableSR>1</DisableSR>
|
|
</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">
|
|
<UserAccounts>
|
|
<AdministratorPassword>
|
|
<Value></Value>
|
|
<PlainText>true</PlainText>
|
|
</AdministratorPassword>
|
|
</UserAccounts>
|
|
<AutoLogon>
|
|
<Enabled>true</Enabled>
|
|
<Username>Administrator</Username>
|
|
<Domain>.</Domain>
|
|
<Password>
|
|
<Value></Value>
|
|
<PlainText>true</PlainText>
|
|
</Password>
|
|
<LogonCount>999</LogonCount>
|
|
</AutoLogon>
|
|
<Display>
|
|
<ColorDepth></ColorDepth>
|
|
<HorizontalResolution></HorizontalResolution>
|
|
<RefreshRate></RefreshRate>
|
|
<VerticalResolution></VerticalResolution>
|
|
</Display>
|
|
<FirstLogonCommands>
|
|
<SynchronousCommand wcm:action="add">
|
|
<CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
|
|
<Description>Lite Touch new OS</Description>
|
|
<Order>1</Order>
|
|
</SynchronousCommand>
|
|
</FirstLogonCommands>
|
|
<OOBE>
|
|
<HideEULAPage>true</HideEULAPage>
|
|
<NetworkLocation>Work</NetworkLocation>
|
|
<ProtectYourPC>1</ProtectYourPC>
|
|
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
|
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
|
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
|
</OOBE>
|
|
<RegisteredOrganization>Service Exploitation - DNE</RegisteredOrganization>
|
|
<RegisteredOwner>Region Hauts-de-France</RegisteredOwner>
|
|
<TimeZone></TimeZone>
|
|
</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">
|
|
<InputLocale>0409:00000409</InputLocale>
|
|
<SystemLocale>en-US</SystemLocale>
|
|
<UILanguage>en-US</UILanguage>
|
|
<UserLocale>en-US</UserLocale>
|
|
</component>
|
|
</settings>
|
|
<settings pass="offlineServicing">
|
|
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
|
|
<DriverPaths>
|
|
<PathAndCredentials wcm:keyValue="1" wcm:action="add">
|
|
<Path>\Drivers</Path>
|
|
</PathAndCredentials>
|
|
</DriverPaths>
|
|
</component>
|
|
</settings>
|
|
</unattend> |