Can’t uninstall single Exchange 2013 role

I was very surprised to learn today that you cannot uninstall a single Exchange 2013 role from a serverb.

Quick review: one of the major changes in Exchange 2013 is that the number of server roles has decreased from 5 (hub, mailbox, edge, UM, CAS) to 2 (mailbox and CAS). This approach offers lots of potential benefits, but it also represents a major change to the internals of Exchange.

In Exchange 2007 and Exchange 2010, you could easily combine multiple roles on a single server, adding and removing roles more or less at will. This was fully supported and worked well: running setup with the /roles switch and the appropriate mode would do the trick.

For what I’m sure are excellent reasons, this is no longer supported; attempting to remove either the CAS or mailbox role from a server that has both will produce an error message indicating “invalid command line arguments”. In fairness, this is documented in the release notes, right up at the top– but I missed that the first time around and wanted to mention it here as a reference. 

The workaround: if you want to remove a role, you must remove Exchange entirely from the target server, then reinstall only the role you do want.


Filed under UC&C

2 responses to “Can’t uninstall single Exchange 2013 role

  1. Mduffey

    With SP1 just released is this functionality fixed/changed?

    • clreply2020

      Unfortunately No…
      Havning only 1 on premise Exchange Server I installed MailBox Server and CAS Server on the same machine. But now I’ve learned Exchange 2013 Anti Spam will not work on a CAS. As a result our mailboxes are being bombarded by SPAM. I wanted to remove CAS to see if that will fix the problem.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.