Joindre domaine via fichier de réponse unattend.xml - sysprep

Anonyme
2015-06-15T12:51:51+00:00

Bonjour à tous,

j'ai une question récurrente certes, mais malgré de nombreuses recherche sur les différents forums je ne parviens pas à joindre mon PC "test" au domaine de notre institut.

Pour être un maximum précis, j'utilise un pc de référence sur lequel j'effectue un sysprep avec cette commande :

sysprep /oobe /generalize /shutdown /unattend:c:\windows\system32\sysprep\unattend.xml

voici le code xml de mon fichier unattend :

<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserData>

<ProductKey>

<WillShowUI>OnError</WillShowUI>

<Key></Key>

</ProductKey>

<AcceptEula>true</AcceptEula>

<Organization>organisation</Organization>

</UserData>

<EnableFirewall>true</EnableFirewall>

<EnableNetwork>true</EnableNetwork>

</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>fr-BE</UILanguage>

</SetupUILanguage>

<InputLocale>080c:0000080c</InputLocale>

<SystemLocale>fr-BE</SystemLocale>

<UILanguage>fr-BE</UILanguage>

<UserLocale>fr-BE</UserLocale>

</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">

<OOBE>

<HideEULAPage>true</HideEULAPage>

<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

<NetworkLocation>Home</NetworkLocation>

<ProtectYourPC>1</ProtectYourPC>

<SkipMachineOOBE>false</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<UserAccounts>

<AdministratorPassword>

<PlainText>false</PlainText>

<Value>RABTACwAZgBkAE4ALQBZACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>

</AdministratorPassword>

<DomainAccounts>

<DomainAccountList wcm:action="add">

<DomainAccount wcm:action="add">

<Name>administrateur</Name>

</DomainAccount>

<Domain>mondomain.domaine.dom</Domain>

</DomainAccountList>

</DomainAccounts>

</UserAccounts>

<AutoLogon>

<Password>

<PlainText>false</PlainText>

</Password>

</AutoLogon>

<TimeZone>Romance Standard Time</TimeZone>

</component>

</settings>

<settings pass="generalize">

<component name="Microsoft-Windows-Security-SPP" 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">

<SkipRearm>1</SkipRearm>

</component>

</settings>

<settings pass="specialize">

<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">

<OEMInformation>

<Logo>C:\Windows\System32\testoem.bmp</Logo>

</OEMInformation>

<ProductKey>CLE*MAK</ProductKey>

<TimeZone>European Central Time</TimeZone>

<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>

<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>

<WindowsFeatures>

<ShowInternetExplorer>false</ShowInternetExplorer>

<ShowMediaCenter>false</ShowMediaCenter>

<ShowWindowsMail>false</ShowWindowsMail>

<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>

</WindowsFeatures>

</component>

<component name="Microsoft-Windows-UnattendedJoin" 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">

<Identification>

<Credentials>

<Domain></Domain>

<Password></Password>

<Username></Username>

</Credentials>

<UnsecureJoin>true</UnsecureJoin>

<DebugJoinOnlyOnThisError>1</DebugJoinOnlyOnThisError>

<JoinDomain>mondomain.domaine.dom</JoinDomain>

<MachinePassword></MachinePassword>

</Identification>

</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">

<RunAsynchronous>

<RunAsynchronousCommand wcm:action="add">

<Credentials>

<Domain></Domain>

<Password>mot*de*passe*admin*local</Password>

<Username></Username>

</Credentials>

<Order>1</Order>

<Path>net user administrateur /active:yes</Path>

</RunAsynchronousCommand>

</RunAsynchronous>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Une fois l'image "sysprepée" , je la capture avec Clonezilla et fais le déploiement via réseau.

Merci pour votre aide.

Windows pour les particuliers | Versions antérieures de Windows | Installer et mettre à niveau

Question verrouillée. Cette question a été migrée à partir de la Communauté Support Microsoft. Vous pouvez voter pour indiquer si elle est utile, mais vous ne pouvez pas ajouter de commentaires ou de réponses ni suivre la question.

0 commentaires Aucun commentaire

1 réponse supplémentaire

  1. Anonyme
    2015-06-16T08:20:38+00:00

    C'est fait ! merci.

    Cette réponse a-t-elle été utile ?

    0 commentaires Aucun commentaire