none
How to delete Domain contoller that not exist in AD but he show in search object RRS feed

  • Question

  • How to delete Domain contoller that not exist in AD but he show in search object?

    the domain controller deleted already from AD that work,

    He show when I do search

    Monday, April 12, 2021 4:13 PM

All replies

  • There is a nice article. Please go through this.

    https://www.manageengine.com/products/active-directory-audit/kb/how-to/how-to-remove-a-domain-controller-that-no-longer-exists.html

    • Proposed as answer by A-Rookie Wednesday, April 14, 2021 9:16 AM
    Wednesday, April 14, 2021 9:13 AM
  • Its always a hassle when you don't remove a DC in the "normal" way.

    When you don't, you need to do a Metada cleanup for that DC.

    https://servergurunow.wordpress.com/2017/08/08/metadata-cleanup-of-a-domain-controller-2/


    Friday, May 7, 2021 1:29 PM
  • Hey,

    1Removing metadata via Active Directory Users and Computers
    2Removing the DC server instance from the Active Directory Sites and Services
    3Remove metadata via ntdsutil 

    C:\Users\Administrator>ntdsutil
    ntdsutil: metadata cleanup
    metadata cleanup: remove selected server DC2
    Binding to localhost ...
    Connected to localhost using credentials of locally logged on user.
    LDAP error 0x22(34 (Invalid DN Syntax).
    Ldap extended error message is 0000208F: NameErr: DSID-031001F7, problem 2006 (BAD_NAME), data 8350, best match of:'CN=Ntds Settings,DC2'
    Win32 error returned is 0x208f

    Friday, May 21, 2021 1:27 PM
  • Hi, 

    Removing metadata via Active Directory Users and Computers
    Log in to DC server as Domain/Enterprise administrator and navigate to Server Manager > Tools > Active Directory Users and Computers.
    Expand the Domain > Domain Controllers.
    Right click on the Domain Controller you need to manually remove and click Delete.

    Hope this answer will help you.

    Monday, May 24, 2021 7:25 AM
  • I m also facing this issue but from there i get solution. Thank you all of you.
    Tuesday, May 25, 2021 3:57 AM
  • i am also facing this issue as well
    Tuesday, May 25, 2021 7:56 AM
  • Thanks for the sulution
    Saturday, June 26, 2021 6:23 AM