Article ID: 324949 - Last Review: September 17, 2009 - Revision: 16.0 Redirecting the users and computers containers in Active Directory domainsThis article was previously published under Q324949 On This PageSUMMARYIn a default installation of an Active Directory domain, user accounts, computer accounts, and groups are put in CN=objectclass containers instead of being put in a more desirable organizational unit class container. Similarly, user accounts, computer accounts, and groups that were created by using earlier-version APIs are put in the CN=Users and CN=computers containers.
This article describes how to use the redirusr and redircmp utilities to redirect user, computer, and group accounts that were created by earlier-version APIs so that they are put in admin-specified organizational unit containers. Important Some applications require specific security principals to be located in default containers like CN=Users or CN=Computers. Verify that your applications have such dependencies before you move them out of the CN=users and CN=computes containers. MORE INFORMATIONUsers, computers, and groups that are created by earlier-version APIs place objects in the DN path that is specified in the WellKnownObjects attribute that is located in the domain NC head. The following code example shows the relevant paths in the WellKnownObjects attribute from the CONTOSO.COM domain NC head.
Dn: DC=CONTOSO,DC=COM
wellKnownObjects (11): B:32:6227F0AF1FC2410D8E3BB10615BB5B0F:CN=NTDS Quotas,DC=CONTOSO,DC=COM; B:32:F4BE92A4C777485E878E9421D53087DB:CN=Microsoft,CN=Program Data,DC=CONTOSO,DC=COM; B:32:09460C08AE1E4A4EA0F64AEE7DAA1E5A:CN=Program Data,DC=CONTOSO,DC=COM; B:32:22B70C67D56E4EFB91E9300FCA3DC1AA:CN=ForeignSecurityPrincipals,DC=CONTOSO,DC=COM; B:32:18E2EA80684F11D2B9AA00C04F79F805:CN=Deleted Objects,DC=CONTOSO,DC=COM; B:32:2FBAC1870ADE11D297C400C04FD8D5CD:CN=Infrastructure,DC=CONTOSO,DC=COM; B:32:AB8153B7768811D1ADED00C04FD8D5CD:CN=LostAndFound,DC=CONTOSO,DC=COM; B:32:AB1D30F3768811D1ADED00C04FD8D5CD:CN=System,DC=CONTOSO,DC=COM; B:32:A361B2FFFFD211D1AA4B00C04FD7D83A:OU=Domain Controllers,DC=CONTOSO,DC=COM; B:32:AA312825768811D1ADED00C04FD8D5CD:CN=Computers,DC=CONTOSO,DC=COM; B:32:A9D1CA15768811D1ADED00C04FD8D5CD:CN=Users,DC=GPN,DC=COM; Collapse this table
Redirecting CN=Users to an administrator-specified organizational unit
Redirecting CN=Computers to an administrator-specified organizational unit
Description of error messagesError messages that you receive if the PDC is offlineRedircmp and Redirusr change the wellKnownObjects attribute on the primary domain controller (PDC). If the PDC of the domain that is being changed is offline or inaccessible, you receive the following error messages.Error message 1 D:\>redirusr OU=userOU,DC=udc,dc=jkcertcontoso,dc=loc com Error, could not locate the Primary Domain Controller for the current domain: The specified domain either does not exist or could not be contacted. Redirection was NOT successful. Error message 2 D:\>redircmp OU=computerOU,DC=contoso,dc=com DC=udc,dc=jkcert,dc=loc Error, could not locate the Primary Domain Controller for the current domain: The specified domain either does not exist or could not be contacted. Redirection was NOT successful. Error messages that you receive if the domain functional level is not Windows Server 2003If you try to redirect the users or computer organizational unit in a domain that has not transitioned to the Windows Server 2003 domain functional level, you receive the following error messages.Error message 1 C:\>redirusr OU=usersou,DC=contoso,dc=comDC=company,DC=com
Error, unable to modify the wellKnownObjects attribute. Verify that the domain functional level of the domain is at least Windows Server 2003: Unwilling To Perform Redirection was NOT successful. Error message 2 C:\>REDIRCMP ou=computersou,DC=contoso,dc=comdc=company,dc=com
Error, unable to modify the wellKnownObjects attribute. Verify that the domain functional level of the domain is at least Windows Server 2003: Unwilling To Perform Error messages that you receive if you log on without the required permissionsIf you try to redirect the users or computer organizational unit by using incorrect credentials in the target domain, you may receive the following error messages.Error message 1 C:>REDIRCMP OU=computersou,DC=contoso,dc=comDC=company,DC=com
Error, unable to modify the wellKnownObjects attribute. Verify that the domain functional level of the domain is at least Windows Server 2003: Insufficient Rights Redirection was NOT successful. Error message 2 :\>redirusr OU=usersou,DC=contoso,dc=comDC=company,DC=com
Error, unable to modify the wellKnownObjects attribute. Verify that the domain functional level of the domain is at least Windows Server 2003: Insufficient Rights Redirection was NOT successful. Error messages that you receive if you redirect to an organizational unit that does not existIf you try to redirect the users or computer organizational unit to an organizational unit that does not exist, you may receive the following error messages.Error message 1 C:\>REDIRCMP OU=nonexistantou,DC=contoso,dc=com dc=rendom,dc=com
Error, unable to modify the wellKnownObjects attribute. Verify that the domain functional level of the domain is at least Windows Server 2003: No Such Object Redirection was NOT successful. Error message 2 C:\>redirusr OU=nonexistantou,DC=contoso,dc=com DC=company,DC=com
Error, unable to modify the wellKnownObjects attribute. Verify that the domain functional level of the domain is at least Windows Server 2003: No Such Object Redirection was NOT successful. Error messages that you receive in Exchange 2000 "setup /domainprep" when CN=Users is redirectedIf Exchange 2000 and Exchange 2003 setup /domainprep is unsuccessful, you receive the following error message:Setup failed while installing
sub-component Domain-level permissions with error code 0x80072030) (please
consult the installation logs for a detailed description). You may cancel the
installation or try the failed step again. (Retry / Cancel) [HH:MM:SS] Completed
DomainPrep of Microsoft Exchange 2000 component [HH:MM:SS] ScGetExchangeServerGroups (K:\admin\src\libs\exsetup\dsmisc.cxx:301) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] ScCreateExchangeServerGroups (K:\admin\src\libs\exsetup\dsmisc.cxx:373) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] CAtomPermissions::ScAddDSObjects (K:\admin\src\udog\exsetdata\components\domprep\a_permissions.cxx:144) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] mode = 'DomainPrep' (61966) CBaseAtom::ScSetup (K:\admin\src\udog\setupbase\basecomp\baseatom.cxx:775) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] Setup encountered an error during Microsoft Exchange Domain Preparation of DomainPrep component task. CBaseComponent::ScSetup (K:\admin\src\udog\setupbase\basecomp\basecomp.cxx:1031) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] CBaseComponent::ScSetup (K:\admin\src\udog\setupbase\basecomp\basecomp.cxx:1099) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] CCompDomainPrep::ScSetup (K:\admin\src\udog\exsetdata\components\domprep\compdomprep.cxx:502) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] CComExchSetupComponent::Install (K:\admin\src\udog\BO\comboifaces.cxx:694) Error code 0X80072030 (8240): There is no such object on the server. [HH:MM:SS] Setup completed REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
818470
(http://support.microsoft.com/kb/818470/
)
Exchange Server 2003 Setup returns error code 0x80072030 when you run setup.exe /domainprep
260914
(http://support.microsoft.com/kb/260914/
)
Domainprep utility does not work if Exchange Enterprise Servers group and Exchange Domain Servers group moved to a new container
Script to protect organizational units from accidental deletion: http://gallery.technet.microsoft.com/ScriptCenter/en-us/c307540f-bd91-485f-b27e-995ae5cea1e2
(http://gallery.technet.microsoft.com/ScriptCenter/en-us/c307540f-bd91-485f-b27e-995ae5cea1e2)
For more information about how to design a Group Policy infrastructure, visit the following Microsoft Web site: http://technet2.microsoft.com/windowsserver/en/library/c75e3e6f-c322-4220-b205-46c6e9ba76741033.mspx
(http://technet2.microsoft.com/windowsserver/en/library/c75e3e6f-c322-4220-b205-46c6e9ba76741033.mspx)
APPLIES TO
| Article Translations
|
Back to the top
