Udostępnij za pośrednictwem


Create or delete an application directory partition

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To create or delete an application directory partition

  1. Open Command Prompt.

  2. Type:

    ntdsutil

  3. At the ntdsutil command prompt, type:

    domain management

  4. At the domain management command prompt, type:

    connection

  5. At the server connections command prompt, type:

    connect to server ServerName

  6. At the server connections command prompt, type:

    quit

  7. At the domain management command prompt, do one of the following:

    • To create an application directory partition, type:

      create nc ApplicationDirectoryPartition DomainController

    • To delete an application directory partition, type:

      delete nc ApplicationDirectoryPartition

Value Description

ServerName

The DNS name of the domain controller to which you want to connect.

ApplicationDirectoryPartition

The distinguished name of the application directory partition that you want to create or delete. For example, the distinguished name of the application directory partition test.microsoft.com is dc=test,dc=Microsoft,dc=com.

DomainController

The DNS name of the domain controller on which to create or delete the application directory partition. Type NULL to create the application directory partition on the domain controller to which you are currently connected.

Caution

  • Removing the last replica of an application directory partition will result in the permanent loss of any data contained in the partition. For more information, see Related Topics.

Notes

  • To perform this procedure, you must be a member of the Domain Admins group or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Ntdsutil
Application directory partitions
Application directory partitions and domain controller demotion