Share via


Delete extinct domain metadata

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

To delete extinct domain metadata

  1. Open Command Prompt.

  2. Type:

    ntdsutil

  3. At the ntdsutil command, type:

    metadata cleanup

  4. At the metadata cleanup command, type:

    connection

  5. At the connection command, type:

    connect to serverServer

  6. At the connection command, type:

    quit

  7. At the metadata cleanup command, type:

    select operation target

  8. At the select operation target command, type:

    list sites

  9. A numbered list of sites will be displayed, type:

    select siteSiteNumber

  10. At the select operation target command, type:

    list domains in site

  11. A numbered list of domains in the selected site will be displayed, type:

    select domainDomainNumber

    quit

  12. At the metadata cleanup command, type:

    remove selected domain

Value Description

Server

The DNS name of a domain controller.

SiteNumber

The number in the displayed list that corresponds to the site that you want to connect to.

DomainNumber

The number in the displayed list that corresponds to the domain that you want to clean up.

Notes

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

  • To clean metadata you must first select the operation target. When selecting the operation target for a server, you must first select the site and then the domain.

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
Administration tools for the Active Directory schema
Managing Active Directory from the command line