When launching Exchange Server setup your encounter this error message.
The Exchange Server is a inconsistent state. Only disaster recovery mode is available. Setup/m:recoverserver to recover this Exchange server.
This can occur when the Exchange server object already exists within Active Directory, which can occur when a server has B Een uninstalled and you is attempting to reinstall it.
If you don't wish to use disaster Recovery mode to reinstall the server you must first remove the Exchange server object From Active Directory.
Launch Adsiedit.msc and navigate to cn=configuration, cn=services, Cn=microsoft Exchange, Cn=<your Organization Na Me>, Cn=administrative Groups, cn= <exchange administrative group>, Cn=servers, Cn=<server Name> , and then delete the server object.
The example screenshot the server name is EX2.
After deleting the object, need to wait for the change to replicate throughout Active Directory. Then you can relaunch Exchange setup and proceed with your installation as planned.