Accueil > Windows > Serveur 2012 R2 > MDT edit Unattend.xml
MDT edit Unattend.xml
vendredi 25 février 2022
Après avoir mis la dernière version de ADK ouvrir DeploymentWorkbench
aller dans task séquence
Faire un clic droit New Task Sequence
Aller sur l’onglet OS Info
Cliquer sur Edit Unattend.xml
Aller dans Components/(1)WindowsPE/amd64_Microsoft-Windows-International-Core-WinPE_Neutral
InputLocale 040c:0000040c
SystemLocale fr-FR
UILangage fr-FR
UserLocale fr-FR

Components/(1)WindowsPE/amd64_Microsoft-Windows-International-Core-WinPE_Neutral/SetupUILangage
UILangage fr-FR

Components/(4)Specialize/amd64_Microsoft-Windows-Deployment__neutral/RunSynchronous/RunSynchronous/RunSynchronousCommand[Order="5"]
RunSynchronous/RunSynchronousCommand[Order="5"]
est une clé à rajouter
Action AddListItem
Description Add user
Ordre 5
Path cmd /c net user adminlocal Password123 /add /PasswordChg:No /expires:never
Components/(4)Specialize/amd64_Microsoft-Windows-Deployment__neutral/RunSynchronous/RunSynchronous/RunSynchronousCommand[Order="6"]
RunSynchronous/RunSynchronousCommand[Order="6"]
est une clé à rajouter
Action AddListItem
Description UserGroup
Ordre 6
Path cmd /c net localgroup Administrateurs adminlocal /add
Components/(4)Specialize/amd64_Microsoft-Windows-International-Core_Neutral/
InputLocale 040c:0000040c
SystemLocale fr-FR
UILangage fr-FR
UserLocale fr-FR

Components/(4)Specialize/amd64_Microsoft-Windows-Shell-Setup_neutral/
CopyProfil True
si vous voulez copier le profil sinon ne pas toucher
RegisteredOrganisation (mettre selon votre organisation
RegisteredOwner administrateur
(ou autre si vous voulez utiliser un autre compte)
TimeZone Romance Standard Time

Components/(7)oobeSystem/amd64_Microsoft-Windows-International-Core_Neutral/OOBE
InputLocale 040c:0000040c
SystemLocale fr-FR
UILangage fr-FR
UserLocale fr-FR
Components/(7)oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/
RegisteredOrganisation (mettre selon votre organisation ou WORKGROUP)
RegisteredOwner adminlocal
(ou autre si vous voulez utiliser un autre compte)
Components/(7)oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/Autologon/
Username administrateur
(ou autre si vous voulez utiliser un autre compte)
Components/(7)oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/Autologon/Password/
Value (votre Password)
Components/(7)oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/UserAccounts/AdministratorPassword/
Value (votre Password)
Pour ne pas avoir de message d’erreur
renseigner
Components/(7)oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/Display
ColorDepth=32
HorizontalResolution=1280
RefreshRate=60
VerticalResolution=1024
Components/(7)oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/OOBE
NetworkLocation <= supprimer (clic droit annuler la modification)
Enregistrer
un fichier Unattend.xml devrait avoir été généré