Uninstalling Exchange 2010 Server

Posted on 2013-12-03
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...

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.
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.


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 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
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 discusses moving either the default database or any database to a new volume.

691 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