?
Solved

Exchange Dag removal with NO Exchange installed

Posted on 2011-09-05
5
Medium Priority
?
952 Views
Last Modified: 2013-11-05
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
0
Comment
Question by:steve-1966
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 33

Accepted Solution

by:
Busbar earned 150 total points
ID: 36483260
can you try installing Exchange on re-installed OS and with new server names.
0
 
LVL 9

Expert Comment

by:akitsupport
ID: 36483261
0
 

Author Comment

by:steve-1966
ID: 36483586
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
 

Author Comment

by:steve-1966
ID: 36484406
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
 

Author Closing Comment

by:steve-1966
ID: 36484438
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question