locked
Sysprep with domain Autojoin RRS feed

  • Question

  • Hello everyone, I was syspreping windows 7 pro x64 with an unattended file XML with domain auto join i get the result:

    The computer joined the domain with a random name such as WIN-NI7... ,  not with the name that i provided in the windows setup configuration after the sysprep completed.

    Here is my XML file:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <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>it-IT</InputLocale>
                <SystemLocale>it-IT</SystemLocale>
                <UILanguage>it-IT</UILanguage>
                <UILanguageFallback>it-IT</UILanguageFallback>
                <UserLocale>it-IT</UserLocale>
            </component>
            <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>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>password</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>User used to Install OS</Description>
                            <DisplayName>OSI</DisplayName>
                            <Group>administrators</Group>
                            <Name>USER</Name>
                        </LocalAccount>
                    </LocalAccounts>
                    <AdministratorPassword />
                    <DomainAccounts />
                </UserAccounts>
                <TimeZone>W. Europe Standard Time</TimeZone>
                <AutoLogon>
                    <Password>
                        <Value>password</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <Username>USER</Username>
                </AutoLogon>
                <ClientApplications />
                <Display />
                <FirstLogonCommands />
                <FolderLocations />
                <LogonCommands />
                <OEMInformation />
                <OEMWelcomeCenter />
                <OEMWelcomeCenterLinks />
                <StartPanelLinks />
                <TaskbarLinks />
                <Themes />
                <VisualEffects />
                <WindowsFeatures />
            </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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Identification>
                    <Credentials>
                        <Username>userjoindomain</Username>
                        <Password>password</Password>
                        <Domain>domian</Domain>
                    </Credentials>
                    <Provisioning />
                    <JoinDomain>domain.local</JoinDomain>
                    <MachineObjectOU>OU=Computers,OU=domain,DC=domain,DC=local</MachineObjectOU>
                    <DebugJoin>true</DebugJoin>
                </Identification>
            </component>
            <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" 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>it-IT</InputLocale>
                <SystemLocale>it-IT</SystemLocale>
                <UILanguage>it-IT</UILanguage>
                <UserLocale>it-IT</UserLocale>
            </component>
            <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">
                <AutoLogon>
                    <Password />
                </AutoLogon>
                <ClientApplications />
                <Display />
                <NotificationArea>
                    <PromotedIcon1 />
                    <PromotedIcon2 />
                </NotificationArea>
                <OEMInformation />
                <OEMWelcomeCenter />
                <OEMWelcomeCenterLinks />
                <StartPanelLinks />
                <TaskbarLinks />
                <Themes />
                <WindowsFeatures />
                <TimeZone>W. Europe 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">
                <Accelerators />
                <FavoriteBarItems />
                <FavoritesList />
                <FeedList />
                <InstalledBHOList />
                <InstalledBrowserExtensions />
                <InstalledToolbarsList />
                <PreApprovedAddons />
                <QuickLinkList />
                <SearchScopes />
                <StartPages />
                <DisableAccelerators>true</DisableAccelerators>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <Home_Page>about:blank</Home_Page>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Accelerators />
                <FavoriteBarItems />
                <FavoritesList />
                <FeedList />
                <InstalledBHOList />
                <InstalledBrowserExtensions />
                <InstalledToolbarsList />
                <PreApprovedAddons />
                <QuickLinkList />
                <SearchScopes />
                <StartPages />
                <DisableAccelerators>true</DisableAccelerators>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <Home_Page>about:blank</Home_Page>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim://pcname/gsources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    Help please am on a tight deadline...

    Monday, May 9, 2016 5:29 PM

Answers

All replies