• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Joining Windows 7 sysprep'd Image to Domain Fails Everytime

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    13
    11.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Christian Nichols
      last edited by

      I got my golden windows 7 machine just like I want it - I didn’t change anything special, just added the software I wanted and I’m trying to get it to join our AD domain.

      I used:
      [CODE]sysprep /quiet /generalize /oobe /shutdown /unattend:c:\unattend.xml[/CODE]

      to sysprep it before I imaged it. The current unattend.xml doesn’t have anything in it that would affect the domain join; however, I’m considering just starting up Windows AIK and creating my own unattend.xml to auto-join the domain.

      Does anyone else have these issues?

      I checked the ‘Join Domain after Imaging’ and filled out the info:
      [CODE]Domain name: school.local
      Organizational Unit: OU=HighSchool,DC=school,DC=local
      Domain Username: administrator
      Domain Password: encrypted with FOGCrypt[/CODE]

      Then started the task to deploy. After imaging and windows configuring itself it works fine - it’s just not joined to the domain.

      Question: Can I join the domain before sysprep’ing and imaging the computer?

      FOG is working so great except for this.

      Point me in the right direction if you have an idea what I’m doing wrong. Yes, I’ve even tried just leaving the OU field blank. Thanks!

      1 Reply Last reply Reply Quote 0
      • C
        Christian Nichols
        last edited by

        extra information:

        for the Domain Username I’ve also tried: school/administrator & school.local/administrator

        Using FOG 0.32 with latest kernel.

        1 Reply Last reply Reply Quote 0
        • C
          chad-bisd Moderator
          last edited by

          Try joining it to the domain leaving the container empty. Just as a test. That will tell you if the join operation is working and you’re just having a problem with the container syntax.

          Also, a recommendation. Don’t use your administrator account. Create a new account, and delegate it the rights to add computer accounts to the default computers container and the parent container of where you move the computer accounts to after they join the domain.

          If you change your administrator password in the future, you’re FOG won’t break. If someone reverse engineers your encrypted password, they won’t have your administrator password for the domain. Since the FOGCrypt uses a known passphrase by default, it’s not that hard to take your encrypted password and get the original.


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

          1 Reply Last reply Reply Quote 0
          • C
            Christian Nichols
            last edited by

            [QUOTE]Try joining it to the domain leaving the container empty. Just as a test. That will tell you if the join operation is working and you’re just having a problem with the container syntax.[/QUOTE]

            Just to clarify, I should join like I was but leave the Organizational Unit container empty?

            Using Windows Server 2008 R2 if that makes a difference.

            1 Reply Last reply Reply Quote 0
            • C
              chad-bisd Moderator
              last edited by

              Correct. Join but with no OU option set. I join to Windows Server 2008 R2 without issue, but I have only ever joined to the default computers container.


              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

              1 Reply Last reply Reply Quote 0
              • C
                Christian Nichols
                last edited by

                I just several more times even with the non-sysprep’d image.

                In the non-sysprep’d one I get an error in the c:\fog.log
                [CODE]Hostnamechanger Domain Error! (‘Unknown Error’ Code: 2202)[/CODE]

                I’ve tried googling the error code but found nothing. Any idea?

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  that error code is returned from AD. so google it as a domain join error not a fog hostnamechanger error.

                  Are you still using “administrator” or did you create a new user and delegate rights?


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • C
                    Christian Nichols
                    last edited by

                    Still a no-go.
                    I created another account and delegated rights to let it join computers to the domain.

                    No messages in fog.log this time shrugs

                    I’ve only been learning AD for a month now, so my problem could very well be my AD management and how it’s setup.
                    See: [url]http://i.imgur.com/9TBCB.png[/url]

                    About to have to drop playing with FOG for a while before I go insane and since it’s taking up so much time with me trying to figure out how to auto-join our domain.

                    Maybe I’ll get a working unattend.xml file to auto-join by next week and just do things like that. Sorry for ranting…

                    1 Reply Last reply Reply Quote 0
                    • C
                      chad-bisd Moderator
                      last edited by

                      I don’t see anything wrong with your layout. The error 2202 may mean you are using an invalid user name when trying to join the computer to the domain.

                      Try setting the user in the form: domain\username, where domain is the netbios name of the domain, which would be “school” if your domain name is “school.local”


                      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                      1 Reply Last reply Reply Quote 0
                      • C
                        Christian Nichols
                        last edited by

                        Maybe I’m not entering the correct info in the Organization Unit field in FOG management WebUI

                        It should go under HighSchool>Students - bah, I need to learn AD. period.

                        Check it: [url]http://i.imgur.com/44d8o.png[/url]

                        Thanks!

                        1 Reply Last reply Reply Quote 0
                        • C
                          chad-bisd Moderator
                          last edited by

                          I would try to get it working to the default computers container first (no OU settings in FOG). Did you try my suggestion above about using domain\username instead of just username?


                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                          1 Reply Last reply Reply Quote 0
                          • C
                            Christian Nichols
                            last edited by

                            It worked! What the crap?

                            [url]http://i.imgur.com/6kJMP.png[/url]

                            I guess I was over-complicating the process afterall - as usual.

                            Thanks for bearing with me man. I swear I thought I tried it like that (maybe it was with the non-sysprep’d image tho). I appreciate all your help!

                            1 Reply Last reply Reply Quote 0
                            • A
                              Anomaly69
                              last edited by

                              I’m doing this and not getting a domain join. Any suggestions?
                              [IMG]http://i.imgur.com/qlmyESI.jpg[/IMG][IMG]http://i.imgur.com/FhgKBtM.jpg[/IMG]
                              In the pic above that’s:
                              DOMAIN.local &
                              USERNAME

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              319

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project