JSI Tip 7701. How do I change the default container that 'net user Username password /add /domain' uses?

Jerold Schulman

January 27, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today

The default container that Active Directory uses to store users is Users.

When you use the net user Username password .... .... /add /domain command to add a user, the new user is placed in the Users container by default.

To alter the default, you must raise the domain functional level to Windows Server 2003.

Once the domain has been raised to the Windows Server 2003 functional level, you can use the redirusr command to alter the default user container:

redirusr

Example:

To set the default container to OU=Headquarters,DC=CompanyName,DC=COM:

redirusr OU=Headquarters,DC=CompanyName,DC=COM

NOTE: See How do I alter the default container that 'net computer \ComputerName /add' uses?



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like