• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 48
  • Last Modified:

Problems Uninstalling Exchange 2010 from Server 2012 R2

I have server 2012 box that was dying. We recently built new server 2016 box and migrated AD and DATA to new server. I now need to completely uninstall exchange 2010 from old server do that I can demote and eventually remove from network. Exchange mailboxes and database will NEVER be used again. I have tried to uninstall through Add/Remove programs but, as expected, that did not work. I have also followed many online "solutions" to no avail. Any help getting Exchange 2010 off the server would be appreciated.

When I run cmdlet get-mailboxdatabase "databasename" | get-mailbox it comes back empty so I believe all of the mailboxes are gone contrary to the attached file.

Also the errors state that I need to be a member of Organization Management role group or Enterprise Admins group. I am currently a member of both
1 Solution
Cliff GaliherCommented:
There is no attached file, but the commands you issued won't report all mailboxes. System mailboxes, in particular, can trip up an Uninstall. I also think public folders require a different command, but it's been awhile since I've worked with 2010, so I may be misremembering. Either way, that should give you a basis to Google a bit. I've never seen exchange throw a false positive when it comes to mailboxes preventing Uninstallation. So poke around in that direction.
SysToolsData Expert - Recovery,Backup,MigrationCommented:
Learn How to Uninstall Exchange Server 2010 Step by Step? Using the following guide:

fenski4435IT ConsultantAuthor Commented:
I have finally succeeded in getting rid of all Mailboxes and Public Folders. Now, the only error I get when trying to uninstall Exchange is:

You must be a member of the Organization Management role group or Enterprise Admins to continue. I am currently a member of both.

Given it sounds like you are halfway through, this might be too late, but I would advise against uninstalling Exchange 2010.

Rather, I would set the Exchange Services to not start up, which will mean it is not running, and will have no impact on your network.

If all is okay, you can then wipe the entire server in a few weeks time.

Much safer than uninstalling.

fenski4435IT ConsultantAuthor Commented:
Most of the documentation I read had to do with moving /upgrading Exchange. Through a lot of reading I was able to better understand the Power Shell commands necessary to complete the task. Getting rid of the Arbitration Mailboxes was the most difficult part. This link was helpful with that:


This link was helpful with Public Folder removal:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now