Export (0) Print
Expand All
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Expand Minimize

Redircmp

Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Redirects the default container for newly created computers to a specified, target organizational unit (OU) so that newly created computer objects are created in the specific target OU instead of in CN=Computers.

CautionCaution
The CN=Computers container is a computer-protected object. For backward compatibility reasons, you cannot (and must not) remove it. However, you can rename this object.

You must run the redircmp command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

For examples of how to use this command, see Examples.

redircmp <container-DN>

 

Parameter Description

<container-DN>

The distinguished name of the target OU that will become the default location for newly created computer objects.

/?

Displays Help at the command prompt.

  • Redircmp.exe is located in the C:\Windows\System32 folder.

  • You must be a member of the Domain Admins group or the Enterprise Admins group to use this tool.

  • The domain functional level must be Windows Server 2003 or Windows Server 2008.

  • Objects in the default containers are more difficult to manage because Group Policy cannot be applied directly to them. You can use the redircmp command to redirect computer objects to an OU container that can have Group Policy applied directly to it.

To redirect newly created computer objects to the newcomputerou OU in the domainname.com domain, at a command prompt, type the following command, and then press ENTER:

redircmp ou=newcomputerou,dc=domainname,dc=com 

Command-Line Syntax Key

Redirecting the users and computers containers in Windows Server 2003 domains (http://go.microsoft.com/fwlink/?LinkId=148341)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft