By default, when new users & computers are created in active directory where the OU hasn’t been specified at creation, AD defaults to the following OU’s:
- Users go into: DC=domain,DC=tld\Users
- Computers go into: DC=domain,DC=tld\Computers
These can be changed to go into OU’s that you choose by issuing the following commands in an elevated PowerShell session / command prompt and change directory to:
cd C:\Windows\System32\
Users:
redirusr “OU=<newuserou>,DC=<domainname>,DC=com”
Computers:
redircmp “OU=<newcomputerou>,DC=<domainname>,DC=com”
Hint: Obtain the OU distinguish name from the advanced properties of the OU itself.