Cannot remove server meta data or access domain controller after role seizure
Posted on 2016-09-19
Had to seize roles from a bust DC. When i now try to connect to Users and computers or sites and services, server says no domain exist or not available. When i try and connect to it by selecting change domain controller i can type in the name, it says that the server is online, however when i click connect it says it is not available. I then ran dcdiag and it says that replication is not happening. I tried to remove the old DC using command line as i cannot access it via the GUI, however it does not want to remove it giving the error following error:
ntdsutil: metadata cleanup
metadata cleanup: remove selected server <xx-xx-xxxxxxx>
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-03100225, problem 2006 (B
AD_NAME), data 8350, best match of:
Win32 error returned is 0x208f(The object name has bad syntax.)
Unable to determine the domain hosted by the Active Directory Domain Controller
(5). Please use the connection menu to specify it.
I also tried to access my other DC's however they give me the same error of not being able to connect.
Any would be appreciated.