Domain Controller - The Specified Domain Either Does Not Exist Or Could Not Be Contracted

Environment
  • Microsoft Windows Server 2003


Introduction
The computer is no more to be domain controller, however, get this error when removal
The Specified Domain Either Does Not Exist Or Could Not Be Contracted


Solutions
It is because it is offline, can find any other domain controllers there. Just Run
dcpromo /forceremoval
And answer the questions to continue removing
  • Naming master role
  • Schema master role
  • DNS server