none
Файл ответов - Как добавить компьютер в Домен ? RRS feed

  • Общие обсуждения

  • Желаю хорошего настроения, участникам моего вопроса.

    Что у меня есть в наличии:

    Windows Server 2012R2,DC , HYPER-V . Есть тестовая виртуальная машина, на которую я устанавливаю Windows 8.1 X64

    Скачал образ windows с течнета.

    Во время "ручной" установки, машина нормально и адекватно устанавливается и добавляется в домен.

    Цель: Сделать файл ответов, чтобы машина автоматически добавлялась в домен.

    Что я имею ?  У меня есть программа WSIM ( Мастер развертывания Windows ), с помощью неё, я подготавливаю файл ответов. Ниже предоставляю просмотреть его.

    Конечно получалось создавать локальных пользователей и делать так, чтобы они автоматически проходили аутентификацию и авторизацию, затем показывался рабочий стол.  Но вот с проблема с автоматическим добавлением домена.

    Прошу помочь с созданием файла ответа .

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="specialize">
            <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</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</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">
                <ComputerName>TEST5</ComputerName>
                <ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
                <ShowWindowsLive>true</ShowWindowsLive>
            </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>perfilov.local</Domain>
                        <Password>Qwerty123</Password>
                        <Username>Admin</Username>
                    </Credentials>
                    <JoinDomain>perfilov.local</JoinDomain>
                    <MachinePassword></MachinePassword>
                    <MachineObjectOU></MachineObjectOU>
                    <TimeoutPeriodInMinutes></TimeoutPeriodInMinutes>
                    <UnsecureJoin>false</UnsecureJoin>
                    <JoinWorkgroup></JoinWorkgroup>
                </Identification>
            </component>
            <component name="Microsoft-Windows-TCPIP" 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">
                <Interfaces>
                    <Interface wcm:action="add">
                        <Ipv4Settings>
                            <DhcpEnabled>true</DhcpEnabled>
                            <RouterDiscoveryEnabled>true</RouterDiscoveryEnabled>
                            <Metric>1</Metric>
                        </Ipv4Settings>
                        <Ipv6Settings>
                            <DhcpEnabled>true</DhcpEnabled>
                            <RouterDiscoveryEnabled>true</RouterDiscoveryEnabled>
                            <Metric>1</Metric>
                        </Ipv6Settings>
                        <Identifier>1</Identifier>
                    </Interface>
                </Interfaces>
            </component>
            <component name="Microsoft-Windows-SystemSettings" 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">
                <DisplayNetworkSelection>true</DisplayNetworkSelection>
                <WiFiToWlan>true</WiFiToWlan>
            </component>
        </settings>
        <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>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>en-US</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </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">
                <DiskConfiguration>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Size>350</Size>
                                <Type>Primary</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Extend>true</Extend>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                                <Format>NTFS</Format>
                                <Active>true</Active>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Order>2</Order>
                                <PartitionID>2</PartitionID>
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>2</PartitionID>
                        </InstallTo>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <FullName>Sergey</FullName>
                    <Organization>Perfilov</Organization>
                </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">
                <OOBE>
                    <SkipMachineOOBE>false</SkipMachineOOBE>
                    <SkipUserOOBE>false</SkipUserOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideEULAPage>true</HideEULAPage>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
                <BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled>
                <RegisteredOwner>Admin</RegisteredOwner>
                <ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
                <UserAccounts>
                    <DomainAccounts>
                        <DomainAccountList wcm:action="add">
                            <DomainAccount wcm:action="add">
                                <Group>Administrators</Group>
                                <Name>Admin</Name>
                            </DomainAccount>
                            <Domain>perfilov.local</Domain>
                        </DomainAccountList>
                    </DomainAccounts>
                </UserAccounts>
            </component>
        </settings>
        <settings pass="auditSystem">
            <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>
                    <DomainAccounts>
                        <DomainAccountList wcm:action="add">
                            <DomainAccount wcm:action="add">
                                <Group>Administrators</Group>
                                <Name>Admin</Name>
                            </DomainAccount>
                            <Domain>perfilov.local</Domain>
                        </DomainAccountList>
                    </DomainAccounts>
                </UserAccounts>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:v:/win8x64/sources/install.wim#Windows 8.1 Enterprise Evaluation" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>