Removing SharePoint from a Domain Controller
Never, never, never, ever, never ever… install SharePoint on a Domain Controller in a production environment. On a development environment (like a virtual single server), sure I can live with that (and do it myself). But installing SharePoint on a DC in a production environment is asking for many troubles down the road.
If you ever try to remove SharePoint from a domain controller, its not a fun task. You will run into a lot of issues, and ultimately do a lot of searching for resolutions on problems that will arise from it. Paul Culmsee has a great article on it – and I suggest you start there before beginning the endeavor.
https://www.cleverworkarounds.com/2008/09/16/sometimes-microsoft-bashing-is-justified/