List OUs under hosts and move computers (object) in AD from one OU to another OU
-
I want to setup my FOG server to list my OUs under the AD tab on each host. That way when I am imaging different rooms (OUs) I can automatically drop the object into the correct container. Is there a way to do this without having to type each one seperately with a “|”?
Also lets say I need to move an object from one room to another (OU to OU), can fog handle moving the object if I select the new OU under the host?
-
@2000gtacoma FOG doesn’t have a concept of OUs built in. You could use one of the “extra” fields to define the unique part of the OU and then have a FOG post install script update the unattend.xml file with the right/proper OU path.
First we don’t use the fog client on the target computes on my campus. We use a custom post install script to determine what image was deployed as well as the current IP address of the target computer, from there we calculate what OU the computer belongs in. We update the unattend.xml file with the proper OU path and then let the unattend.xml file connect the computer to AD as well as define the right OU path.
At other times we had to deploy the computer to a specific container that didn’t have any GPOs defined. These GPOs broke deployment so we had to deploy the target computers to this clean OU, then we had a vbs script that would move the computer to the right OU after deployment. This vbs script was launched by the setupcomplete.cmd batch file.
The point of this is there may be a different way you can go about getting the job done, if FOG doesn’t support the feature directly.
-
I can create the OUs under the Active Directory Settings. From there I get the drop down like I want. I am also running the FOG client to add to domain.
I just need to figure out the changing of devices from one OU to another. Anyway I could use the name? Computers are named after the OU essentially.