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

    Join Domain after re-image

    Scheduled Pinned Locked Moved
    General
    8
    10
    17.6k
    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.
    • J
      Justin Weber
      last edited by

      We had an engineer setup our FOG server with his domain credentials to add hosts to the domain after re-image. He no longer is working with us. Is there a way, other than re-registering each machine on campus, to update the credentials used to add a host to the domain? Or do we have to re-register each host?

      Thanks for the help!

      Justin

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        Fog will register the Host with the AD if you enable the ability.

        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.

        from chad on

        [url]http://fogproject.org/forum/threads/adding-imaged-host-to-domain-and-renaming.4313/[/url]

        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.

        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.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

          If you need to change the user account used to join computers to the domain just run the new user account through FOGCrypt and update the username and password values in the FOG settings. The client does not keep the information about what account was used to join the computer to the 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
          • A
            Abadie Pierre
            last edited by

            Hello chad,

            Nice to meet you.

            I did 5 step then you told us. Do i have to put a unattended.xml into c:\windows\system32\sysprep\unattended.xml

            Something doesn’t work, i don’t know what.

            I will try tomorrow again and i come back

            Bye

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

              unattended.xml should not be required for the FOG system (I think).

              If you want to join the domain during the sysprep process, then yes, you will need to set up an unattended.xml file and use sysprep (not necessary for Windows 7, but can still be beneficial).

              1 Reply Last reply Reply Quote 0
              • A
                Abadie Pierre
                last edited by

                Hello guys!

                I woul like to say thank you! All of you help me.:) I finished my project. That’s why I’m sharing my answer file in attached file. It ask only the name of the computer. It create a user named fog, but i forgot the password 😕.You must change this.
                I advice you to use the
                [SIZE=4][B][FONT=arial][COLOR=#222222][SIZE=4][URL=‘http://technet.microsoft.com/en-us/windows/how-do-i-create-unattended-answer-files-using-windows-system-image-manager.aspx’][COLOR=#1122cc][COLOR=#1122cc] [/COLOR][B][COLOR=#1122cc]Windows System Image[/COLOR][/B][/COLOR][/URL] to control if the file is ok.[/SIZE][/COLOR][/FONT][/B][/SIZE]

                Thanks for everything!

                [url=“/_imported_xf_attachments/0/336_unattend.txt?:”]unattend.txt[/url]

                1 Reply Last reply Reply Quote 0
                • B
                  bazillus1de
                  last edited by

                  Hi,
                  i have a Problem with joining to the Domain.
                  Software:
                  FOG 1.2.0
                  Clients Win7pro x64
                  Win2008 Server

                  The first Time i deployed the hosts, hostname changer changes the names and put it into the Domain.

                  Now i did an Software Update, took it out of the Domain and syspreped one host and uploaded it.
                  After deploying, FOG changes the Names but no join to the Domain.

                  1. Run FOGCrypt on a windows machine to encrypt your password.
                    OK
                  2. When you install the FOG client, make sure to enable the hostnamechanger portion
                    OK
                  3. Enable the hostname changer portion on the FOG settings of the server.
                    OK
                  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
                    No i put the information in the Group to put it in the hosts screen, not in the FOG settings.
                    And only the username without domain becouse of FOG 1.2.0
                    (I tested both, nothing worked)
                    Why not the Domain Admin? Only for security reasons or is there another thing?
                  5. Make sure the hosts are setup to join AD in the Active Directory menu item on the hosts screen.
                    OK

                  If i do it in Systemsettings it works.
                  How can i check what went wrong?
                  When does FOG changes the name, only after deploying or whenever the name is changed?
                  can i tell FOG to change the Name and to join into the Domain, or make a task?

                  Thanks
                  Sven

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by

                    Could you upload c:\fog.log on a machine that isn’t joining the domain?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      Change the username field to be Only Username, not Domain\Username

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • B
                        bazillus1de
                        last edited by

                        thanks i got it, change the FOG Service start from automatic to automatic delayed…
                        thats it…

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

                        148

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project