You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WindowsServerDocs/identity/ad-ds/deploy/ad-ds-metadata-cleanup.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,15 +66,29 @@ As an alternative, you can clean up metadata by using ntdsutil.exe, a command-li
66
66
67
67
4. At the `metadata cleanup:` prompt, type the following command, and then press **Enter**:
68
68
69
+
`connections`
70
+
71
+
5. At the `server connections:` prompt, type the following command, and then press **Enter**:
72
+
73
+
`connect to server <ServerName>`
74
+
75
+
Where `<ServerName>` is the fully qualified domain name (FQDN) or NetBIOS name of the domain controller you want to use to perform the metadata cleanup. This domain controller must be a replication partner of the removed domain controller.
76
+
77
+
6. At the `server connections:` prompt, type the following command, and then press **Enter**:
78
+
79
+
`quit`
80
+
81
+
7. At the `metadata cleanup:` prompt, type the following command, and then press **Enter**:
82
+
69
83
`remove selected server <ServerName>`
70
84
71
-
5. In **Server Remove Configuration Dialog**, review the information and warning, and then click **Yes** to remove the server object and metadata.
85
+
8. In **Server Remove Configuration Dialog**, review the information and warning, and then click **Yes** to remove the server object and metadata.
72
86
73
87
At this point, Ntdsutil confirms that the domain controller was removed successfully. If you receive an error message that indicates that the object cannot be found, the domain controller might have been removed earlier.
74
88
75
-
6. At the `metadata cleanup:` and `ntdsutil:` prompts, type `quit`, and then press **Enter**.
89
+
9. At the `metadata cleanup:` and `ntdsutil:` prompts, type `quit`, and then press **Enter**.
76
90
77
-
7. To confirm removal of the domain controller:
91
+
10. To confirm removal of the domain controller:
78
92
79
93
Open Active Directory Users and Computers. In the domain of the removed domain controller, click **Domain Controllers**. In the details pane, an object for the domain controller that you removed should not appear.
0 commit comments