Pages

Friday, February 21, 2014

Attempting to decommission an Exchange 2003 server throws the error: “The component “Microsoft Exchange Messaging and Collaboration Services” cannot be assigned the action “Remove” because: - One or more users currently use a mailbox store on this server. These users must be moved to a mailbox store on a different server or be mail disabled before uninstalling this server.”

As many Exchange 2003 to 2007 and 2010 migrations I’ve done over the years, I think the part of the migration I dread most is the end of the migration when the Exchange 2003 server needs to be decommissioned.  Other than making sure that all the mailboxes are moved, public folders fully replicated and moved over, and all of your legacy routing connectors are recreated for large organizations that still have Exchange 2003 servers, I find that I almost always receive errors when I try to use the Add and Remove Programs wizard to uninstall Exchange.

Just when I thought I’ve seen all of the possible reasons why an uninstall would fail, one of the recent Exchange 2003 migrations threw me the following new error:

image

image

The component “Microsoft Exchange Messaging and Collaboration Services” cannot be assigned the action “Remove” because:
- One or more users currently use a mailbox store on this server. These users must be moved to a mailbox store on a different server or be mail disabled before uninstalling this server.

This was the last error of the 3 I fixed (the other ones being routing members and routing groups) and while I’ve seen something like this before where various users weren’t visible by browsing the mailbox stores on the Exchange 2003 servers via the System Manager console, so you had to use the following KB:

Error message when you try to remove Exchange Server from a mailbox server that no longer hosts mailboxes: "One or more users currently use a mailbox store on this server"
http://support.microsoft.com/kb/924170

To launch Active Directory Users and Computers, use the Find tool to search for users via the Exchange tab while checking:

  • Show only Exchange recipients
  • Users with Exchange mailbox

image

Then use the View tab to select the Choose Columns… option:

image

Then add the column Exchange Mailbox Store:

image

… then finally use the Exchange Home Server tab to sort the users and locate the mailboxes that are still associated with the Exchange 2003 server you are trying to decommission:

image

This has always worked for me but not for the last migration because no matter which domain I searched, I could not locate any mailboxes that are associated with the server I was trying to decommission:

image

After triple checking all the domains, I proceeded back to Google to see if I could find something that would help and that was when I came across this post:

http://social.technet.microsoft.com/Forums/exchange/en-US/2758744e-ab92-45af-bc01-5a1280887230/one-or-more-users-currently-use-a-mailbox-store-on-this-server?forum=exchange2010

So apparently there was another way to try searching for these mailboxes and that is to select the Custom Search option in the Find drop down menu:

image

Select the Advanced tab:

image

In the Enter LDAP query textbox, type in:

objectClass=User

Searching with this method finally revealed the mailboxes I was looking for:

image

Proceeding to select the accounts with the mailboxes and then using Exchange Tasks… enabled me to remove these mailboxes and proceed with the uninstall:

image

image image

image image

Once the mailboxes in question have been removed, proceed with restarting the uninstaller and the error should go away:

image image

image

16 comments:

Anonymous said...

Thanks Terence - this was a great help

Unknown said...

pls I tried all and it stil does not work,pls help me,it is now 2 weeks

Unknown said...

pls I tried all and it stil does not work,pls help me,it is now 2 weeks

Unknown said...

Any help,i m trying http://support.microsoft.com/?id=555147,it sends me to Microsoft supportwhere is that article

Anonymous said...

This worked perfectly! I had to do the custom search and there they were. Thanks for your updated Post!

Larry said...

Thanks - this helped me as well remove one account that was hiding with the Exchange 2003 home server attribute!

Frank said...

Perfect directions! It's great to now have ZERO Exchange 2003 servers!

-Frank-

Anonymous said...

On the money, thanks

Anonymous said...

Thank you very much, it worked!

Bitumen said...

Thanks a lot, this saved my day!

Anonymous said...

Thanks! Worked like a charm!

Anonymous said...

You SIR are Awesome! This was just what i needed!

Unknown said...

it's work for me! Thanks your post

Anonymous said...

Thanks, sir! I was started to feel anxious! Great post!

Unknown said...

Extremely helpful! Thank you for helping us find the hidden user accounts stuck on the old Exchange 2003 server. We were able to decommission the 2003 Exchange server finally.

DJ Shaun said...

If all above doesnt work also set the limits under the email database store settings to Zero for days to keep mailboxes and emails.

This sometimes prevents the boxes from actually being deleted.

We has to do this as well.

Regards,

Shaun