Uninstalling Exchange 2010 Server

Posted on 2013-12-03
Medium Priority
Last Modified: 2013-12-11

I am not able to uninstall Exchange 2010 - I get the message "some settings are not  valid, please specify an existing server roles to uninstall" (see the attached screen shot)

I untick the mailbox role and continue then I get the following error message -

"Mailbox Role Failed

The following error was generated when "$error.Clear();
      get-MailboxDatabase -server $RoleFqdnOrName | remove-MailboxDatabase

" was run: "Exchange server "Mail-Server.domain.local" was not found. Please make sure you typed the name correctly.".

Exchange server "Mail-Server.domain.local" was not found. Please make sure you typed the name correctly.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=

I tried installing to and get a similar error.  It looks like I am in a loop. I just want to remove this.

Any ideas?

Question by:yaminz66
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
  • 5
  • 4
LVL 17

Expert Comment

by:Chris Millard
ID: 39692057
Not necessarily the cleanest way, but have you tried to force a removal?


Expert Comment

ID: 39692064
Confirm full AD connectivity, reboot the box and confirm again.

Author Comment

ID: 39692107

I am trying to do it manually using this -


When I installed the Exchange initially there was no Domain Controller on the server. I was relying on membership to 2003 domain.
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


Expert Comment

ID: 39692110
You can't install Exchange without a DC available.  Is there a DC there now or not?

Author Comment

ID: 39692337

there is a DC available - I tried the manual uninstall

once the ADSIEDIT - CN = Microsoft Exchange  and CN = Microsoft Exchange Server  removed.

and rebooted the server I am unable to install a fresh copy.

And of course it knocked out my Exchange 2003 server _ I thought it was only removing the organisation from the server.
I cant uninstall 2003 either.  It would be good if anyone knew how to do this manually.

I am in trouble, logged a call with microsoft.

In the past I could not install Exchange 2013 because there was 2003 server there. Now I am in a dilemma which do I get up first.  


Expert Comment

ID: 39692367
First you need to sort out the Domain not found error.   Are you using the right DNS server, can you ping the DC etc.

MS PSS will help you urgently of course.

Author Comment

ID: 39692393

there is no domain not found error - it said server.domain.com not found


Expert Comment

ID: 39692407
Ah yes sorry misread.  Good luck with PSS.

Accepted Solution

yaminz66 earned 0 total points
ID: 39702828
The issue has been resolved by MS Engineers - it was a nightmare, it took 6 Engineers about 30 hours to uninstall 2010 and install 2013

Author Closing Comment

ID: 39710909
It was resolved by Microsoft

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an email address policy 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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

764 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