How-to: Change default OU for new computers

Change the default location for newly joined devices in active directory.

Step 1. Find Distinguished Name

You need to find the distinguished name of the OU, that you want the devices to be placed in.

  1. Open your ADUC (Active Directory Users and Computers).
  2. Click on View > Advanced Features.
  3. Right-click on the desired OU and press Properties.
  4. Click on the tab “Attribute Editor”.
  5. Now you can find and copy the distinguished name.

Step 2. Powershell time

  1. Open Powershell as administrator on a domain controller.
  2. Type in: redircmp "distinguished name"
    Obviously, the distinguished name needs to be your distinguished name.

Step 3. Done

Thats it, you are done.

Leave a Reply