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

    Deployed Image does not join Domain or change hostname

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    6
    955
    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
      JeremyBrown
      last edited by

      Hello,

      I and my colleague have been at this for a couple days and read several other posts regarding this issue but have not had any luck so far. No matter what we try, we cannot get hosts to automatically change hostnames and join our domain. I have followed all the instructions on how to do this several times without success.

      After a first boot after deployment, our unattend.xml file does its tasks and, after a reboot, I can see the FOG client is running and is set to auto-run but subsequent reboots make no difference; the host name remains unchanged and the machine is not added to the domain. The desired hostname and MAC address are in the host list and “Join Domain after deploy” and “Name Change/AD Join Forced Reboot” are both enabled for the host. We’ve also confirmed that the AD info is correct.

      I’ve attached a log file from our latest test.

      fog.log

      Full disclosure: we are inheriting this system from someone who left our organization so we are still trying to get up to speed with FOG as quickly as we can.

      One question we have (which may or may not matter) is: Should the computer object already exist in AD or should we delete it if it’s already there. We are re-imaging machines. We’ve also tried this both ways with no luck.

      Thank you in advance for any help you can provide!

      S P W JJ FullmerJ 4 Replies Last reply Reply Quote 0
      • I
        ITCC
        last edited by ITCC

        have you looked into:
        Response Error multiple hosts returned for list of mac addresses

        in the host search box you can put the mac address to lookup the host (or many hosts)

        There should be only one per MAC access (careful when imaging from docks or usb NICS) Fog does protect against this action but you never know.

        1 Reply Last reply Reply Quote 0
        • S
          spchristy @JeremyBrown
          last edited by spchristy

          @JeremyBrown

          I’m not sure if this is exactly what you’re driving at but we had a similar problem imaging our HP 705’s. The sysprepped image would install fine and everything worked fine but it wouldn’t allow FOG to rename the host. Here’s how we fixed it:

          • In FOG select one of your Host PC’s.
          • In the host screen click the Active Directory option near the top of the screen.
          • Find the option that says: Name Change/AD Join Forced Reboot? Turn this option on and save the update for your host.

          According to the FOG wiki documentation:
          Setting this check box will configure the client to enforce the hostname / AD setting regardless of if a user is logged in.

          So if enabled, the client will restart the computer to update the hostname even when a user is logged in. If unchecked, the client will wait until no one is using the computer before restarting to
          apply the hostname / AD.

          If this works for you, you can apply it to all of the hosts at once by using the Groups option. Just open your group, click Active Directory, Turn on the Name Change/AD Join Forced Reboot settings and save.

          1 Reply Last reply Reply Quote 0
          • P
            polinkuer12 @JeremyBrown
            last edited by

            @JeremyBrown said in Deployed Image does not join Domain or change hostnameQuick Draw:

            Hello,

            I and my colleague have been at this for a couple days and read several other posts regarding this issue but have not had any luck so far. No matter what we try, we cannot get hosts to automatically change hostnames and join our domain. I have followed all the instructions on how to do this several times without success.

            After a first boot after deployment, our unattend.xml file does its tasks and, after a reboot, I can see the FOG client is running and is set to auto-run but subsequent reboots make no difference; the host name remains unchanged and the machine is not added to the domain. The desired hostname and MAC address are in the host list and “Join Domain after deploy” and “Name Change/AD Join Forced Reboot” are both enabled for the host. We’ve also confirmed that the AD info is correct.

            I’ve attached a log file from our latest test.

            fog.log

            Full disclosure: we are inheriting this system from someone who left our organization so we are still trying to get up to speed with FOG as quickly as we can.

            One question we have (which may or may not matter) is: Should the computer object already exist in AD or should we delete it if it’s already there. We are re-imaging machines. We’ve also tried this both ways with no luck.

            Thank you in advance for any help you can provide!

            I have heard about this machine before. I think you should consider carefully before deciding to delete it

            1 Reply Last reply Reply Quote 0
            • W
              wchaney @JeremyBrown
              last edited by

              @JeremyBrown You may want to filter out any Tunnel MAC’s that come with the computer. You can do this via the Fog Configuration -> Fog Client - Host Register and putting in the first 6 of the MAC to eliminate certain manufacturers MACs from populating the host registration. The only way I’ve seen this cleared is either re-naming the Primary MAC in the Host’s page, or deleting the host and letting it re-register via the smart client.

              v/r,
              WC.

              1 Reply Last reply Reply Quote 0
              • JJ FullmerJ
                JJ Fullmer Testers @JeremyBrown
                last edited by

                @JeremyBrown Are you still having this issue?
                The fog log is saying that the host has multiple macs

                If it’s still happening I will gladly help you use the fogApi powershell module to find the duplicate macs and how to fix it from there.

                Have you tried the FogApi powershell module? It's pretty cool IMHO
                https://github.com/darksidemilk/FogApi
                https://fogapi.readthedocs.io/en/latest/
                https://www.powershellgallery.com/packages/FogApi
                https://forums.fogproject.org/topic/12026/powershell-api-module

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

                160

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project