Microsoft Windows Server 2008 R2 Redirect User and Computer Default OU

Published on 06/13/2012 by Wouter Makkinje

Filed under Active Directory, Microsoft Windows Server 2008 R2

Last modified 06/13/2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 1320 times

Scenario:

You have a Microsoft Windows Server 2008 R2 DC and you want to redirect the default User and Computer OU since you usually dont prestage AD.

 


 

For this solution I’m using a Clients OU and a People OU located in the root of AD. The domain name im using as an example is the Contoso.Com domain. Depending on where your OU’s are your command vill look a tad different due to the CN.

On the Server 2008 R2 DC Machine:

  1. Click Start and in the search field type CMD
  2. Right click on CMD and choose Run as Administrator.
  3. Browse to the system32 folder by using this command: cd %systemroot%\system32
  4. Type the following to redirect the default User OU to your People OU:
    redirusr ou=People,DC=contoso,dc=com
  5. Type the following to redirect the default Computer OU to your Clients OU:
    redircmp ou=Clients,DC=contoso,dc=com
  6. After this is done go ahead and close the command prompt.

Now every user account and computer account that isn’t prestaged will wind up in the Clients and People OU. Go ahead and try joining a new pc to the domain to see for yourself.