Ticker

6/recent/ticker-posts

Advertisement

ntdsutil metadata cleanup

How to clean Active directory Metadata 

Metadata cleanup is required after the forced removal of the Active Directory Domain Services (AD DS) forest. You can remove metadata on a domain controller in the domain of the domain controller that you forcibly removed. Metadata cleanup removes that data from Active Directory Domain Services that identifies a domain controller to the replication system. Metadata cleanup also removes File Replication Service (FRS) and Distributed File System (DFS) Replication connections and attempts to transfer or seize any operations master roles that the retired domain controller holds.

Clean up server metadata by using Ntdsutil


1. Open command prompt and type: Ntdsutil and press ENTER.


2. Now type metadata cleanup and press Enter.


3. At metadata cleanup type connections and press enter


4. At server connections type connect to server FQDN the server name and press enter (any working domain controller name in the same domain)


5. After connections done type and press enter


6. Now at metadata cleanup prompt type Select operation target and press enter.


7. Now at select operation target prompt type: List domains and press enter.


8. Now at select operation target prompt type: Select domain and domain number for example (i selected 3) and press enter.


9. Now at select operation target prompt type: List sites and press enter.


10. Now at select operation target prompt type: Select site 29 and press enter.


11. Now at select operation target prompt type: List servers in site and press enter.


12. Now at select operation target prompt type: Select server 0 ( choose the one you want to delete ) and press enter.


13. Now at select operation target prompt type: and press enter

14 At metadata cleanup type: remove selected server and press enter (there prompt a screen and want you select yes and no if you want to delete press yes

15. At metadata cleanup type: and press enter

16. At ntdsutil Now type: and press enter

17 .also remove failed AD entry from DNS.



Post a Comment

0 Comments