- Active Directory Administration Cookbook
- Sander Berkouwer
- 117字
- 2025-04-04 14:24:59
Performing metadata cleanup
Perform these steps to perform a metadata cleanup:
- Open Command Prompt (cmd.exe) with administrative privileges on a domain controller that is known to be good. The domain controller holding the Domain Naming Master is preferred.
- Run the following command to start the NTDS utility in interactive mode:
ntdsutil.exe
- Type the following command in interactive mode to start the metadata cleanup:
metadata cleanup
- Type the following command to remove the server, DC04.lucernpub.com:
remove selected server "CN=DC04,CN=Servers,CN=RemoteLocation,CN=Sites,CN=Configuration,DC=lucernpub,DC=com"
- Type the following command in interactive mode to exit the metadata cleanup context:
quit
- Type the following command in interactive mode to exit the NTDS utility itself:
quit
- Close the Command Prompt window.