Friday, January 13, 2017

Set default OU for new Users in AD

Log into a Domain Controller as a Domain Admin
Open a CMD prompt


To change the default container for user objects, enter:

ReDirUsr Container-DN

where Container-DN is the DistinguishedName name of the container that will become the default location for newly created user objects.

For example:

   redirusr "OU=New Users,DC=mydomain,DC=com"



To revert to the default settings you will need to run the following commands:

   redirusr cn=users,DC=company,dc=com"

Note: the domain functional level must be at least Windows Server 2003

No comments:

Post a Comment