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:

Lightning-fast VPS hosting with enterprise SSD storage, global data centers, and 99.99% uptime. Built for developers, trusted by enterprises.
support@solvps.com
1-888-256-8213
Live Chat Now