Skip to content

Commit 0d27a4a

Browse files
Copilotrobinharwood
andcommitted
Add missing connection steps to ntdsutil metadata cleanup instructions
Co-authored-by: robinharwood <19212983+robinharwood@users.noreply.github.com>
1 parent 3f4e270 commit 0d27a4a

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

WindowsServerDocs/identity/ad-ds/deploy/ad-ds-metadata-cleanup.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,29 @@ As an alternative, you can clean up metadata by using ntdsutil.exe, a command-li
6666

6767
4. At the `metadata cleanup:` prompt, type the following command, and then press **Enter**:
6868

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+
6983
`remove selected server <ServerName>`
7084

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.
7286

7387
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.
7488

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**.
7690

77-
7. To confirm removal of the domain controller:
91+
10. To confirm removal of the domain controller:
7892

7993
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.
8094

0 commit comments

Comments
 (0)