Domain Controller

Copper Contributor

hello,

following a migration error, demote the 2008 R2 domain controller to Windows 2016, unable to connect AD DC on the new 2016 server.
can we recreate the domain controller ? former domain controller 2008 R2 is deleted.

Thank you in advance for your assistance.

4 Replies

@Sambath0204Do you still have a working domain? Or have you lost all your domain controllers?

@Mark Lewis 

old has been deleted, I have no other domain. but when I want to create again there is a message that the domain exists...

Thanks in advance.

You can try to clean metadata server.

Clean up server metadata using the command line
As an alternative, you can clean up metadata by using Ntdsutil.exe, a command-line tool that is installed automatically on all domain controllers and servers that have Active Directory Lightweight Directory Services (AD LDS) installed. Ntdsutil.exe is also available on computers that have RSAT installed.

To clean up server metadata by using Ntdsutil
Open a command prompt as an administrator: On the Start menu, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, provide credentials of an Enterprise Administrator if required, and then click Continue.

At the command prompt, type the following command, and then press ENTER:

ntdsutil

At the ntdsutil: prompt, type the following command, and then press ENTER:

metadata cleanup

At the metadata cleanup: prompt, type the following command, and then press ENTER:

remove selected server <ServerName>

In Server Remove Configuration Dialog, review the information and warning, and then click Yes to remove the server object and metadata.

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.

At the metadata cleanup: and ntdsutil: prompts, type quit, and then press ENTER.

To confirm removal of the domain controller:

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.

Open Active Directory Sites and Services. Navigate to the Servers container and confirm that the server object for the domain controller that you removed does not contain an NTDS Settings object. If no child objects appear below the server object, you can delete the server object. If a child object appears, do not delete the server object because another application is using the object.


For more: https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/ad-ds-metadata-cleanup

@Erick Garcia Godoy 

Thanks, I will try....