+ Post New Thread
Results 1 to 9 of 9
O/S Deployment Thread, Deploying Windows 7 SP1 64 Bit: Station Will Not Join Domain in Technical; I have a Windows 7 SP1 64 Bit image and it does deploy. However it will not join the domain ...
  1. #1

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065

    Deploying Windows 7 SP1 64 Bit: Station Will Not Join Domain

    I have a Windows 7 SP1 64 Bit image and it does deploy. However it will not join the domain and it will not validate and register Windows [add the activation key]

    here is the OOBEUnattend.xml file I am using [with school-specific items removed]

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <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">
                <ComputerName>*</ComputerName>
                <ProductKey>*****-*****-*****-*****-*****</ProductKey>
                <RegisteredOrganization>School Name</RegisteredOrganization>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>GMT Standard Time</TimeZone>
            </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>ChildDomain.ParentDomain.Local</Domain>
                        <Password>*********</Password>
                        <Username>ChildDomain\administrator</Username>
                    </Credentials>
                    <JoinDomain>ChildDomain.ParentDomain.Local</JoinDomain>
                    <UnsecureJoin>true</UnsecureJoin>
                </Identification>
            </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-GB</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</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>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>*************************</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>admin</Description>
                            <DisplayName>admin</DisplayName>
                            <Group>Administrators</Group>
                            <Name>admin</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
            </component>
            <component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" 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">
                <HKLMProxyEnable>true</HKLMProxyEnable>
                <HKLMProxyServer>Proxy supplied by ISP:Port number</HKLMProxyServer>
                <HKLMProxyOverride>Proxy overrides supplied by ISP</HKLMProxyOverride>
            </component>
        </settings>
        <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">
                <DiskConfiguration>
                    <WillShowUI>Always</WillShowUI>
                    <Disk wcm:action="add">
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Extend>false</Extend>
                                <Format>NTFS</Format>
                                <Label>Windows Operating Systrem Volume</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                    </Disk>
                </DiskConfiguration>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:f:/exported/win764bit.wim#Win7 SP1 64Bit" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    What is wrong with my answer file?

    Also I would like to know how to:

    Get rid of the question before imaging begins that asks about disks/partitions
    How to add a station GUID in Active Directory [Server 2008] I can see how it is/was done in 2003 but the same option is not there in 2008 [My understanding is that if the name is linked to the GUID in Active Directory the station will be named automatically]

    Also although not as important: the HDD does not get the 'Windows Operating Systrem Volume' label I have set in the answer file.

    Many thanks.

  2. #2

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Giving this thread a little bump as there have been no answers so far and I am making no progress on it here.

  3. #3


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,211
    Thank Post
    218
    Thanked 812 Times in 694 Posts
    Rep Power
    274
    how are you deploying the image as ive found with win7 images and wds it often just joins it anyway (and just to prove it just did 2 they joined with random garbage names but i diddnt do anything and sysprep file basically says dont remove any drivers and name of school/localisation settings no domain stuff in there)

    and if you are doing it with just the sysprep file in the image dosent it need to be in a specific location and called unattend.xml or autounattend.xml for it to actually use it?
    Last edited by sted; 6th June 2011 at 02:26 PM.

  4. #4

    Join Date
    Feb 2008
    Posts
    43
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I found using this guide quite useful to create an answer file that activates Windows 7 for you:

    Sysprep a Windows 7 Machine

  5. #5

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by sted View Post
    how are you deploying the image as ive found with win7 images and wds it often just joins it anyway (and just to prove it just did 2 they joined with random garbage names but i diddnt do anything and sysprep file basically says dont remove any drivers and name of school/localisation settings no domain stuff in there)

    and if you are doing it with just the sysprep file in the image dosent it need to be in a specific location and called unattend.xml or autounattend.xml for it to actually use it?
    Sysprep: Set to OBE and shut the station down.

    Answer file name: OOBEUnattend.xml

  6. #6

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by techie2008 View Post
    I found using this guide quite useful to create an answer file that activates Windows 7 for you:

    Sysprep a Windows 7 Machine
    That URL is blocked here. I will check it from home.

  7. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,211
    Thank Post
    218
    Thanked 812 Times in 694 Posts
    Rep Power
    274
    as i thought

    Copy or move your unattend.xml file to : C:\windows\system32\sysprep. Now to run sysprep, navigate to that sysprep folder, hold SHIFT and right click and select “Open New Command Windows Here”. Next, input the following commands:

    sysprep /generalize /oobe /shutdown /unattend:unattend.xml

    im sure its fussy about name/location of the xml file

  8. #8

    Join Date
    Aug 2009
    Location
    Huddersfield
    Posts
    55
    Thank Post
    10
    Thanked 14 Times in 10 Posts
    Rep Power
    12
    Try setting <UnsecureJoin>true</UnsecureJoin> to false instead as you have provided the username/password. Username doesn't need childdomain bit in either.

  9. #9

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Things have moved on a little here now. We have made progress insofar as we have the station joining the domain now. What we do not have yet is:

    Windows activation.
    Stations acquiring their names from Active Directory/Station GUID. When we give Active Directory the GUID, as given by the machine when it is looking for a session to connect to, Active Directory does not accept it.

SHARE:
+ Post New Thread

Similar Threads

  1. Auto join domain using sysprep - Windows 7
    By ronnoco in forum Windows 7
    Replies: 80
    Last Post: 6th December 2012, 12:20 PM
  2. Windows 7 PC won't join server 2008 Domain
    By speckytecky in forum Windows 7
    Replies: 1
    Last Post: 30th September 2010, 12:22 PM
  3. Script to join new domain
    By THERADIOTUBBY in forum Windows Server 2008 R2
    Replies: 4
    Last Post: 2nd July 2010, 08:32 AM
  4. No Domain Join during Setup
    By Nick_Parker in forum Windows 7
    Replies: 19
    Last Post: 24th August 2009, 01:13 PM
  5. Cannot join pc's to new domain :( - Solved :)
    By richard in forum Wireless Networks
    Replies: 11
    Last Post: 7th December 2006, 09:06 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •