In Windows Server 2012 R2, the option to remove Roles and Features is a bit obscure, or at least not where you might look initially.
First, launch Server Manager from the Start menu.
Now, you can find Remove Roles and Features from the Manage menu along the top navigation options. From the Remove Roles and Features dialog, simply select the packages you would like to remove and proceed through the removal wizard.
This guide applies to:
- Windows Server 2012 R2
- Windows 8.1