Configuring adding to an active directory domain.
-
Have a good time, everyone.
Can you tell me how to configure the connection of computers to the domain after installing the image?it seems that I did everything according to the instructions, but when adding a computer to fog, and selecting the pointer that you need to add a computer to the domain, absolutely nothing happens.
you can specify what is wrong with the settings (screenshots are attached)
and where to look at the logs, what is wrong with adding to the domain, I can figure it out myself.! -
@azm9s These post install actions are done by the fog agent (client) software that gets installed on the golden image before image capture. Once install and started after windows is done, the FOG agent will rename the computer and then connect it to the domain.
Do you have the fog agent installed in the golden image before image capture?
An alternative to using the fog agent/client is to let the unattend.xml file in windows rename the computer and then connect it to active directory. Either way should work.
-
@george1421
no, I don’t have for client installed.
it is available in the form of software that is installed from the distribution http://fogserver/fog/client/download.php?newclient
if this is it, then yes, I did not install it.should it be installed before the capture task??
-
@azm9s Yes that needs to be installed before you capture the image, because its needed for post deployment actions (if you want FOG to manage those).
https://docs.fogproject.org/en/latest/installation/client/install-fog-client/
You will install the fog client before capture, but make sure you disable the service before you capture it then use the windows startupcomplete.cmd file that OOBE/WinSetup runs to reenable the service and start it. The issue is if you leave the service enabled, after deployment the fog client (if left running before image capture) will start doing its thing before windows OOBE completes giving you a botched deployment because the fog client program will change the system name and then reboot it, before oobe is ready for the reboot.
-
@george1421
Good time.
Can you tell me if the image was created correctly?- installing windows
- I install all applications.
- I set it up as I need it.
3.1. I do NOT add a computer to the AD domain - installing Forge client
4.1. I disable the fog service in the windows settings - Do I need to create an capture creation task on the site in the host settings?
did you specify the AD domain connection settings correctly? which ones are in the first picture?
and already when deploying the image, just specify that you need to connect to the domain?
-
@azm9s said in Configuring adding to an active directory domain.:
Do I need to create an capture creation task on the site in the host settings?
Just to be clear on this task. Once you have your golden image the way you want it. Use sysprep command line switches to power off the computer, or user the
shutdown -s -t 0
to power off the computer. This will properly close the files for cloning. Then schedule the task for image capture in FOG and then pxe boot the target computer.Prior to your step file, you need to create a batch script called setupcomplete.cmd in the proper location (google it), and in that batch file use the sc command to enable and start the fog client service (this should be explained in the fog client wiki page). The setupcomplete.cmd batch file (if it exists in the correct location) will be called by OOBE/WinSetup when its all done with its bits. At this point we want the fog client to be enabled and started so the fog client can do its stuff.
Yes on the AD stuff. You will probably want the fog client to rename the computer too, or it will go into AD with a generic system name.