How to Uninstall Exchange Server 2010 mailbox Server Role
In my case I had DAG with 2 Mailbox Server Roles Installed
1) You can complete this step by going into the Organization Configuration - Mailbox -
Select Database Management Tab - Under Work Pane it will show the DBs which are added into the DAG. Right Click & select remove the Database & click remove - It will remove the Database membership from DAG
2) You can complete this step by going into the Organization Configuration - Mailbox -
Select Database Availability Groups Tab - Right Click properties of DAG name -
Click on Manage Membership Tab - Here you can remove the Member Servers which you want to uninstall the mailbox servers. Select the Server & Click Delete. Process will get completed.
3) Now Delete the DAG name under DAG Group TAB. Here the DAG is deleted.
4) Now you go to Add or Remove Programs & select Microsft Exchange Server 2010. Click Uninstall.
It will show below window;
Uncheck the Server Role which you need to Uninstall & uncheck Management Tools as shown above.
Click Next it will check the Readiness Check.
Need to close MMC and EMC to prevent errors otherwise errors will show up for uninstall.
Here Exchange 2010 Mailbox Server Role is Uninstalled.
NOTE : If this posts helpful to resolve your issue, please comment.