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

    Adding Imaged Host to Domain and Renaming

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    23
    15.5k
    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.
    • K
      Kamz87
      last edited by

      Ok sorry just slightly confused. Where do I find this Netdom file?

      yes I have fog service installed.

      1 Reply Last reply Reply Quote 0
      • C
        ChrisG
        last edited by

        I attached a zip file with it inside to my last post

        1 Reply Last reply Reply Quote 0
        • K
          Kamz87
          last edited by

          So sorry I completely ignored that! Thank you sooo much for this. Will let you know how I get on.

          1 Reply Last reply Reply Quote 0
          • C
            ChrisG
            last edited by

            Any time man. I know how much work it is starting out and getting used to some of the quarks.

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

              Windows 7 joins to the domain without requiring netdom.

              I image windows 7 pro 32 and 64 bit using sysprep. I do not use Fogprep, as it’s not required with Windows 7 and FOG 0.32.

              These are the steps I used to get it working:

              1. Run FOGCrypt on a windows machine to encrypt your password.
              2. When you install the FOG client, make sure to enable the hostnamechanger portion
              3. Enable the hostname changer portion on the FOG settings of the server.
              4. Input the AD join information in the FOG settings. I use domain\username for the username. Password is the encrypted password from step 1. Domain is the FQDN of the domain, like my.domain.com
              5. Make sure the hosts are setup to join AD in the Active Directory menu item on the hosts screen.

              After you do this, image a client. It should boot to windows, rename, reboot, join domain, and reboot. I do not use FOG to put client into a specific OU, just the default Computers (which you can redirect I hear, but have no experience). After computers join the domain, I put the computers into specific OU’s and groups for policy and management.


              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
                ChrisG
                last edited by

                You must do something different chad. We cannot successfully join the domain without netdom. It gives a trust relationship everytime.

                1 Reply Last reply Reply Quote 0
                • R
                  Raff
                  last edited by

                  No need for netdom, make sure the user that you use has delegated control to join/delete computers on the domain. Hopefully your not using the Domain Admin account. We use Domain\user for the username too or else there is an error.

                  1 Reply Last reply Reply Quote 0
                  • C
                    ChrisG
                    last edited by

                    That may be the issue. Our AD domain was setup before I arrived here. He may have removed those rights. I’ll look into it.

                    Thanks!

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

                      What is your forest and domain functional levels? We are at 2003 on both.


                      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
                        ChrisG
                        last edited by

                        2008 R2

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

                          I have not added netdom to windows 7 and the wiki documentation says this is not required as of FOG 0.28. I use the basic FOG client from 0.32 and Windows 7 professional and it joins our domain.


                          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
                          • R
                            Raff
                            last edited by

                            2008 R2 and FOG 0.29 here

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kamz87
                              last edited by

                              So If I am using Win 7 and Fog 0.32 I don’t need to use FOGPrep? Just Sysprep and upload image?

                              Interesting, because that was the first thing I tried but it didn’t work. Will double check everything and try again.

                              1 Reply Last reply Reply Quote 0
                              • K
                                Kamz87
                                last edited by

                                Just to clarify where is the AD join information in 0.32? I can see the Join domain after image option when I go to hosts, is there another AD option?

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

                                  I do not use FOGPrep in 0.32/Windows 7. I also do not strictly use sysprep unless I’m trying to solve a windows problem, as FOG can image fine without it if you are using similar hardware for all hosts sharing an image. However, I do not ever use the resizable image type. I always choose Multiple Partitions - Single Disk when I create images for my laptops and desktops that are running Windows 7 and only have 1 disk to image.

                                  There are AD settings in the Other Information -> Fog Settings page. There is a setting on the same page to globally enable the host name changer service globally, but it is a duplicate of the FOG Configuration -> Host Name Changer option. In the FOGClient config on the host, you can also enable/disable the host name changer service.


                                  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
                                  • K
                                    Kamz87
                                    last edited by

                                    Hi Chad,

                                    I have tried the approach you suggested, no fogprep or sysprep. After imaging the PC it JOINED THE DOMAIN!

                                    Thank you so much for that the only problem I had is the Service didn’t start automatically if I have it as Logon as (the domain fog account).

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

                                      Great. If you plan to use KMS for activation, or use WSUS, you’ll still need to sysprep, but your answer file will not try to rename the pc or join it to a domain. Use a * for the computer name, because you don’t care what sysprep calls it, FOG will rename it. Do not use the unattendjoin section of the answer file, because FOG will join the computer to the domain after it’s renamed.

                                      You need to sysprep /generalize at some point in your image creation process (either audit or oobe mode) for Windows to generate a new CMID for use with KMS and WSUS and possibly other systems. If you use MAK or can hold onto the OEM key, you don’t have to worry about CMID for KMS activation, only if you use WSUS or something else that identifies workstations based on their CMID.

                                      I’m redoing my Windows 7 images this year, trying to work out the duplicate CMID problem I had last year. We are trying to move to KMS for Windows 7, and ADBA for Windows 8 and Office 2013. Seems every time you figure something out, MS changes it.


                                      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
                                      • K
                                        Kamz87
                                        last edited by

                                        Thanks again for everything!

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dvos
                                          last edited by

                                          Thanks so much for the info! So helpful! Do I follow the same steps to change the domain of an already registered host without imaging it again?

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

                                          195

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project