Exchange 2003 uninstall fails

A couple of months ago, we moved from a Exchange 2003 to a Exchange 2010, which runs perfectly. Now I want to uninstall Exchange 2003. I have followed the steps on this page:

But every time I try to uninstall Exchange from 'Add or remove', I get this 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 the server."

 Exchange uninstall error
I've tried in AD to make a search for Exchange account and then see which Exchange Home Server they had and the old Exchange 2003 server was not specified in any of them.

Does anyone know how i remove my Exchange 2003?
Sum WumAsked:
Who is Participating?
AkhaterConnect With a Mentor Commented:
please run and make sure to replace


by the correct values

ldifde -d "DC=ROOT,DC=COM" -f c:\output.txt -r "(&(objectCategory=person)(objectClass=user)(msExchHomeServerName=/o=ORGANIZATION NAME/ou=ADMINISTRATIVE GROUP NAME/cn=Configuration/cn=Servers/cn=SERVER-NAME-TO-REMOVE))"

when you do this check the file c:\output.txt it will show you all users and/or groups still referencing to exchange 2003

go to them in ADUC right click and clear all exchange attributes and change again
JamesSenior Cloud Infrastructure EngineerCommented:
Try stop all the services Exchange and then disable them. Reboot your Server and then try to uninstall Exchange. Also, check your antivirus is locking any of the files that Exchange is trying to access for the uninstallation.
Sum WumAuthor Commented:
JBond2010: I tried with the disabling all Exchange services and a restart but it didnt help.

Akhater: I had forgot what my organisation name was, but after i found that, the command showed me that there was one user left. After removing the exchange attributes, i was able to uninstall Exchange 2003. Thank you! :)

Akhater is brilliant!. Thanks so much!
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.

All Courses

From novice to tech pro — start learning today.