Joining Domain before Hostname change
-
I have a weird issues that seems to have popped up after one of the recent updates. If I pxe boot the machine, the boot menu identifies the machine as it is registered in Fog, I can then choose to deploy image and the image deploys, but after the images is finished the machine is joined as “randomcomputername” to our domain. Then while looking at the fog.log I can see that the hostname changer can’t find the name on the server. If I find the machine name on the server, the service settings are all blanked out. I can check the hostname settings and host name registration, or move the machine to a group with those options checked, then restart the fog service and it will attempt to restart the machine and rename it. If I bring a machine on for the first image on fog and do the full registration, it works perfectly each time. It only seems to happen on the deploy image which is what I am assuming is the same as the older quick image option. Any thoughts?
-
Are you setting to join domain via sysprep?
-
@Tom-Elliott I I had to double check my answer file to make sure, but no it is not joining by sysprep.
Correction. Yes, the answer file does have a domain in it. My windows 10 images do not have the join domain in answer file, and they just don’t join because the service settings get blanked out.
-
@dooleyrd said in Joining Domain before Hostname change:
If I bring a machine on for the first image on fog and do the full registration, it works perfectly each time. It only seems to happen on the deploy image which is what I am assuming is the same as the older quick image option. Any thoughts?
FOG can only manage registered machines. Domain joining is part of managing machines.
-
@Wayne-Workman Yes, I realize that FOG can only manage registered machines. My question was in regards to just using the “deploy image” option that uses the image already attached to the registered host versus deleting the host and re adding with “full registration and inventory” and choosing associating the image, groups, and snapins again. So, in both instances the host will be registered. @Tom-Elliott pointed out that it was my sysprep answer file that is causing most of my problem. Although, the “deploy image” option still seems to blank out all the service settings to a host as far as host name changing and domain joining. I am also only on 1.4.0 so I will check again after I update.
-
@dooleyrd said in Joining Domain before Hostname change:
the “deploy image” option still seems to blank out all the service settings to a host as far as host name changing and domain joining.
If that’s the case, that’s an issue. We now need to know your exact FOG version so we can replicate & confirm this.
-
@Wayne-Workman said in Joining Domain before Hostname change:
If that’s the case, that’s an issue. We now need to know your exact FOG version so we can replicate & confirm this.
Yes, as far as I can tell this is still happening. And it may very well be something that I am doing wrong. I read in another post that to use groups and assign the machine to the group, and set the service settings on the group. However, what I am noticing is that if I set the service settings to the host itself they are blanked out. Also, if I assign to group, it will remove group membership. If I do the quick host delete, and then full registration and choose all the group membership and snapin options, domain join etc, it works like a champ.
- forgot to add the version. I noticed the problem on 1.4.0 and I have upgraded to 1.4.3 and still see the issue.
-
@dooleyrd What version of FOG are you using?