Forum Discussion

jurgen73's avatar
jurgen73
Copper Contributor
Jan 31, 2020

How to remove active directory DS role after failing to demote server?

Hey guys,

 

I have an active directory domain services server role installed on a server that I want to remove, but it won't let me remove it because demotion fails, this is the only domain controller in a domain that I want to end, but it won't accept it's the last even though there are no others, so how can I remove this role from it if it doesn't demote itself?

 

Thanks.

14 Replies

    • jurgen73's avatar
      jurgen73
      Copper Contributor

      Dave Patrick 

       

      This is what I see:

       

      01/31/2020 11:13:16 [ERROR] Failed to find a DC for domain example.com: 1355
      01/31/2020 11:13:16 [ERROR] Failed to find a domain controller for example.com: 1355
      01/31/2020 11:13:16 [INFO] Error - A domain controller could not be contacted for the domain example.com that contained an account for this computer. Make the computer a member of a workgroup then rejoin the domain before retrying the promotion.
      (1355)

       

      I tried to unjoin the domain, but it's all greyed out (maybe because it's a domain controller)

      • Please run;
        • Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
        • repadmin /showrepl >C:\repl.txt
        • ipconfig /all > C:\dc1.txt

          then put unzipped text files up on OneDrive and share a link.
         
         
         

Resources