Question: how to remove domain controller command line?
Answer: In the command line, type ntdsutil and press enter. ...  At the Ntdsutil: prompt, type metadata cleanup. ...  At the 'metadata cleanup:' prompt, type connections and press Enter. ...  In 'server connections:', type : ...  Type 'q' in server connections to quit and press Enter to return to the metadata cleanup prompt.