Add pc to domain after deploying image
-
Hello, I am a recent user of Fog, my configuration is the following, I’m using Fog ver 1.5.10 deploying Windows 11 images to client with Fog as DHCP server; I’m using Fog to deploy images on PC without joining to domain so my next step it will be consider to join these to AD domain.
I have some questions about:- in my AD domain we use static Ip address, so how can I configure FOG to set static ip after deploying image? Considering my clients have different IP address from the IP that FOG use for deploying image…
Thanks in advance for any help you could provide me. Have a nice day.
- in my AD domain we use static Ip address, so how can I configure FOG to set static ip after deploying image? Considering my clients have different IP address from the IP that FOG use for deploying image…
-
@mark29 The dynamic nature of images and systems FOG doesn’t track the IP address of systems, anymore. In really early versions it did track the IP address at least but hasn’t for quite some time.
That said, I think what you’re asking for is possible but it would require a Snapin to do so, and even that would be ugly. (If it truly must be static, this would be the best route in the end if you’re requiring only using FOG to manage this I think.)
You would create a Powershell scriptp that utilizes the Set-NetIPAddress statement and probably need a lookup to figure out which device needs to be using which IP address and all (that’s really the ugly part.)
The best case, though, I think, is to utilize DHCP reservations, as this would not require any special programming or even a snapin for that matter (another kink that can potentially not work appropriately.)
The DHCP server options of your AD controller, can be used to define specific IP’s in an automated way, rather than rely on a program to set the IP address.