Solved

Exchange uninstall error

Posted on 2015-01-23
7
27 Views
Last Modified: 2015-10-05
I'm trying to decommission one of our Exchange 2010 servers.  I've encountered several errors, most of which I've been able to resolve except for 2 that seem intertwined and pointing to each other.
When I try to uninstall Exchange through the control panel - programs and features, it fails when doing the readiness check for the mailbox role with the error - (paraphrased) - this computer is part of a cluster and must be removed from the database availability group.
So I use powershell to issue the command "remove-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer servername"  This command throws the error - (paraphrased) "Mailbox Server servername is not part of the DAG"  I've attached a screen print of these errors
As you can see, it appears to be a viscious circle - can anyone help me get of this merry-go-round?
ExchangeUnistallErrors.pdf
0
Comment
Question by:skbarnard
  • 5
7 Comments
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40567697
Try running the below commands in PowerShell (remember to "Run as administrator"):
Import-Module FailoverClusters
Remove-ClusterNode <Server> -Force

Open in new window


If the Remove-ClusterNode command doesn't work then try:
Clear-ClusterNode <Server> -Force 

Open in new window

1
 
LVL 12

Expert Comment

by:Md. Mojahid
ID: 40567927
Open ADSI Edit and delete all exchange server information from here.

http://techhead.co/removing-exchange-from-active-directory/
0
 

Author Comment

by:skbarnard
ID: 40570728
Before I accept a solution -- VB ITS - your solution did indeed let me remove the server from the cluster but I only wanted to uninstall Exchange from that particular server.
It appears that once this node was removed from the cluster, it may have removed the whole cluster or may have uninstalled Exchange from all nodes.
I now am receiving the attached error when trying to open the EMC on one of the 2 remaining nodes.  Can either of you or anyone else help me understand how to get around this?
ExchangeErrorAfterUnistallOneNodefromClu
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:skbarnard
ID: 40851315
OK, long pause before getting back to this question.  I'm now trying to decommission my remaining 2 Exchange 2010 servers.  I'm trying to uninstall via the control panel/programs and features area.  When I click on Exchange 2010 and click 'Uninstall', the wizard starts up and runs its checks.  I run into errors and close things down as the errors come up but the wizard still thinks that the node 2 server has connectors associated with it.  The node 2 server is part of a cluster, I haven't turned off the cluster services but I have disabled all connectors on this node.
Since it was causing a problem, I researched 'uninstall Exchange 2010' and found an article that said to manually remove registry keys.  I don't think we're ever going to install Exchange again but I still want to decommission these servers properly.
However, I did go ahead and remove the Exchange registry keys (HKLM\Software\Microsoft\Exchange & HKLM\Software\Microsoft\Exchange Server).  Now, of course, I can no longer open the EMC and when I click on 'Uninstall' in the programs area of control panel, the wizard won't even start.
My plan is to re-purpose the servers in the Exchange cluster.  I'm currently trying to uninstall Exchange from our remaining node and get the error that I can't remove the mailbox role because of the OAB.  How can I remove the mailbox role - do I just go ahead and delete the OAB?
0
 

Author Comment

by:skbarnard
ID: 40876648
OK, another comment -- I've been researching this online and found an article (I don't actually know where it is at this point) but I followed the directions in that article.  It was something to do with removing a stubborn node from the DAG by doing a registry hack.
I removed the DWORD or whatever from the registry and now I'm unable to uninstall Exchange (through Control Panel - Programs and Features) on that node - the uninstall wizard will not open.
The DAG is actually down (as seen through Failover Clustering on the other node I haven't touched yet) and I'm unable to expand anything out in the EMC (on the untouched node) - it opens but that's about it.  EMC will not open on the node that's had the registry hack.
Technically, I'm going to be repurposing the servers in my Exchange cluster so I don't really care that Exchange is not working,  but in my research I determined that if you don't decommission Exchange properly, if you ever try to install Exchange again the remnants left by not decommissioning properly can cause issues.
Can anyone help with PS commands or CLI commands or 3 party apps that will help me get out of the mess I've probably created for myself?
0
 

Author Comment

by:skbarnard
ID: 40876982
I know this was a quasi-abandoned question but I am actively seeking advice right now.  If I need to open a new question, I'd be glad to but I thought it best to try using this already open thread.
Off for the weekend - hope anyone viewing is having a nice one but looking forward to hopefully some good links to articles that will help me maybe force an uninstall of Exchange.
Thanks!
0
 

Author Closing Comment

by:skbarnard
ID: 41025562
It's been a long while since I initially asked this question and if anyone pokes down through the thread, they'll see I was asking for some additional advice which to date I haven't received.
I'm accepting the solution from VB ITS since their response did indeed allow me to do what I was initially asking about.
I will open a new thread on a similar topic but with a somewhat convoluted issue.
Thanks
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an Accepted Domain 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 >> Ac…
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…

831 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