Log on to the server on which you want to remove one or more Exchange 2007 server roles.
Open a Command Prompt window and navigate to the directory where you installed the Exchange Server 2007 files.
Navigate to the \bin directory.
ExSetup.exe /mode:uninstall /role:
- Mailbox (or MB, or M)
- UnifiedMessaging (or UM, or U)
- ManagementTools (or MT, or T)
- HubTransport (or HT, or H)
- ClientAccess (or CA, or C)
- EdgeTransport (or ET, or E)