Exchange Dag removal with NO Exchange installed

I have a situation with a Domain that previously had 2 Exchange servers in a DAG. A situation arose where we lost one of the servers, which had to be rebuilt. On the other Exchange server we couldn't get into The Exchange Server Management Console, as it kept trying to connect to the first  exchange server, which currently does not have Exchange installed on it. Decision was made, probably wrongly in retrospect, to uninstall Exchange off of the 2nd Server, and just start the whole Exchange install from scratch
. Well Exchange did not want to come off voluntarily, so it was forcefully removed by manual editing of the Registry, and deletion of the Exchange folders, and finally by Adsi Edit. Now we are not able to re-install Exchange on EITHER Server, as it keeps failing with the message
"Exchange server is a member of a database availability group", this is using Setup /m:Recoverserver, as the normal setup forces us down that route. I have searched everywhere for a solution for DAG removal, but all the fixes I have seen require you to have at least access to the Exchange  Command Prompt Console, and as one is a new server build, and one has had the Exchange removed from it, there are currently no Exchange Consoles available on the network. Can anyone suggest a way in which we can clean out any of the old references to any previosly installed Dags? Or any other suggestions?
Many thanks in advance
.
Steve
steve-1966Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BusbarConnect With a Mentor Solutions ArchitectCommented:
can you try installing Exchange on re-installed OS and with new server names.
0
 
akitsupportCommented:
0
 
steve-1966Author Commented:
I'll try renaming one of the servers and see if that helps.

The Technet article I have already tried, but is no good for this situation as it requires a version of Exchange to be installed somewhere in order for any of the "Get-MailboxDatabase, Remove-MailboxDatabaseCopy, Remove-DatabaseAvailabilityGroupServer " commands to work.
0
 
steve-1966Author Commented:
OK, renaming one of the servers allowed me to proceed further, to a point where it said that I had to run setup /adprep. This was duly done and then received a different error during the process, saying something about "The well-known object..." which upon evaluation was referring to a link in AD that was pointing to something that no longer existed. Searching with Google said to remove the reference using adsi edit or ldp. Went through adsi edit again, but definitely no further references to Exchange remained. Went into lpd, and after some searching around, did find 2 remaining subtrees pertaining to Exchange. Deleting these has allowed me to install Exchange 2010 on both servers with their original names. So thanks to Busbar for your simple suggestion, although it didn't allow for a direct fix, it did give me another clue that allowed me to find a fix on the web for the issue - I wish I had thought of that!
0
 
steve-1966Author Commented:
Whilst this did not provide a direct fix, it led me to a different error that was the clue I needed in order to get this resolved, allbeit by searching the new error on Google.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.