Changing Default OU For New Computers
What Are The Benefits?
Changing the default OU for new computers can be important especially if you have GPOs and/or Policies that are applied to all workstations that are outside of the default Computers container in Active Directory. It’ll also help from you or other techs from “forgetting” to move the machine or a set of machines from its default Computers container.
Prerequisites
You need the following:
- The distinguished name of the OU you want new computers to be when they are created
- Be a part of either the Domain Admins or Enterprise Admins group to use the following tool
Steps to accomplish this
- open a powershell or cmd window as admin
- type in the following syntax:
redircmp "OU=EXAMPLE,OU=TEST,DC=DOMAIN,DC=TLD"
- Press enter and your done
Now whenever new computers are added to the domain they will be automatically be added to the OU that you specify.