D
D
D_mi_try2016-08-02 15:00:13
Active Directory
D_mi_try, 2016-08-02 15:00:13

Deploying Win 8.1 via WDS. How to autologin to a domain?

Hello! There is an answer file for Win 8.1 x64

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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>
                    <Domain>имядомена</Domain>
                    <Password>пароль</Password>
                    <Username>wds_connect</Username>
                </Credentials>
                <JoinDomain>имядомена</JoinDomain>
                <UnsecureJoin>false</UnsecureJoin>
                <MachineObjectOU>OU=WDS_Computers,OU=_организация_,DC=имядомена</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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>%MACHINENAME%</ComputerName>
            <RegisteredOwner>ОАО организация</RegisteredOwner>
            <RegisteredOrganization>ОАО организация</RegisteredOrganization>
        </component>
    </settings>
    <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>en-us; ru-ru</InputLocale>
            <SystemLocale>ru-ru</SystemLocale>
            <UILanguage>ru-ru</UILanguage>
            <UserLocale>ru-ru</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>
                    <Value>хэшпароля</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Domain>имядомена</Domain>
                <Enabled>true</Enabled>
                <LogonCount>1</LogonCount>
                <Username>qwerty</Username>
            </AutoLogon>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>хэшпароля</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <DomainAccounts>
                    <DomainAccountList wcm:action="add">
                        <DomainAccount wcm:action="add">
                            <Group>Administrators</Group>
                            <Name>qwerty</Name>
                        </DomainAccount>
                        <Domain>имядомена</Domain>
                    </DomainAccountList>
                </DomainAccounts>
            </UserAccounts>
            <TimeZone>Russian Standard Time</TimeZone>
            <ShowWindowsLive>false</ShowWindowsLive>
            <RegisteredOwner>ОАО организация</RegisteredOwner>
            <RegisteredOrganization>ОАО организация</RegisteredOrganization>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/%D1%81%D0%BE%D1%84%D1%82/os/windows/win8/win8.1/windows%208.1/install.wim#Windows 8.1 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

There is the following problem: if the PC is new (it has never been in a domain), then during installation it does not join the domain and, of course, during the logon, Windows swears at a non-existent account. If after that the PC is manually entered into the domain, and the installation is restarted, everything works out with a bang.
It turns out that auto-installation occurs only on machines "familiar" to the domain. How to win it?
PS one of the controllers on 2012 R2 2 more on 2008 R2 Windows Server 2008 R2 domain level. WDS on Windows Server 2008 R2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ethril, 2016-08-02
@Ethril

Try to remove:
<UnsecureJoin>false</UnsecureJoin>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question