Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange Dag removal with NO Exchange installed

Posted on 2011-09-05
5
Medium Priority
?
955 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

610 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