Bastien I² Posted July 22, 2020 Report Share Posted July 22, 2020 Bonjour à tous, j'ai mis pas mal de temps à trouver et améliorer ce fichier autounattend.xml (a copier à la racine de la clé USB d'installation de Windows), donc je vous en fait profiter pour vous éviter également d'y passer du temps. Avec cette configuration, vous pouvez personnaliser les partitions, mais vous n'avez pas toute la configuration de Windows 10 au démarrage. Ca permet de gagner 5 minutes. Voici le contenu: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <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>fr-FR</UILanguage> </SetupUILanguage> <SystemLocale>fr-FR</SystemLocale> <UILanguage>fr-FR</UILanguage> <UILanguageFallback>fr-FR</UILanguageFallback> <UserLocale>fr-FR</UserLocale> <InputLocale>040c:0000040c</InputLocale> </component> <component name="Microsoft-Windows-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"> <UserData> <ProductKey> <Key></Key> <WillShowUI>Never</WillShowUI> </ProductKey> </UserData> </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"> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> <PlainText>True</PlainText> </Password> <DisplayName>Utilisateur</DisplayName> <Group>Administrators</Group> <Name>Utilisateur</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Never expire</Description> <CommandLine>cmd /C wmic useraccount where "name='Utilisateur'" set PasswordExpires=FALSE</CommandLine> </SynchronousCommand> </FirstLogonCommands> <TimeZone>Europe/Paris</TimeZone> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>3</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo> </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"> <InputLocale>040c:0000040c</InputLocale> <SystemLocale>fr-FR</SystemLocale> <UILanguage>fr-FR</UILanguage> <UILanguageFallback>fr-FR</UILanguageFallback> <UserLocale>fr-FR</UserLocale> </component> </settings> </unattend> Si vous voyez des améliorations ou des erreurs, n'hésitez pas à m'en faire part. autounattend.xml Link to comment Share on other sites More sharing options...
Exelsis Posted July 22, 2020 Report Share Posted July 22, 2020 Hello interessant ! quelles étapes sautent du coup ? Link to comment Share on other sites More sharing options...
Bastien I² Posted July 23, 2020 Author Report Share Posted July 23, 2020 Il n'y a pas la création de l'utilisateur : est créé automatiquement un compte administrateur nommé "Utilisateur". Est également absente toute la partie de réglage de Cortana et de vie privée / confidentialité. C'est géré par cette partie là : <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>3</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo> </OOBE> Link to comment Share on other sites More sharing options...
Exelsis Posted July 23, 2020 Report Share Posted July 23, 2020 Ok merci ! Link to comment Share on other sites More sharing options...
Recommended Posts