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

    List OUs under hosts and move computers (object) in AD from one OU to another OU

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    3
    358
    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.
    • 2
      2000gtacoma
      last edited by 2000gtacoma

      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?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @2000gtacoma
        last edited by

        @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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        2 1 Reply Last reply Reply Quote 0
        • 2
          2000gtacoma @george1421
          last edited by 2000gtacoma

          @george1421

          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.

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

          194

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project