Add and Remove Roles and Features on Windows Server
This article applies to the following Microsoft® Windows® Server versions: 2012, 2012 R2, 2016, 2019
This article shows how to install and remove Windows Server roles and features by using Server Manager.
Add Windows roles and features
Use the following steps to add Windows roles and features:
-
To open Server Manager, click the Server Manager icon in the taskbar or select Server Manager in the Start Menu.
-
Click Manage in the upper right portion of the screen and click Add Roles and Features to open a wizard.
You cannot add roles and features until Server Manager finishes loading. Wait until Server Manager loads before you add roles and features.
-
On the Before you begin page, click Next to begin. You can skip this page in the future by checking Skip this page by default box.
-
On the Select installation type page, choose Role-based or feature-based installation and click Next.
-
On the Server Selection page, choose the server to which you want to add the role or feature. In most cases, this choice is the server you are logged in to. Click Next.
-
Select all desired roles on the Server Roles page. When you add roles, the wizard prompts you to add prerequisite roles and features, if any. After you have selected the desired roles, click Next.
-
Select all desired features on the Features page and click Next.
-
Complete the configuration of the selected roles and features and click Next on each screen.
-
After you complete the initial configuration of the chosen features, the Confirmation page displays and lists a summary of the changes. Verify the changes before proceeding. If you want the server to restart automatically after installation completes, check the box labeled Restart the destination server automatically if required.
-
Click Install to add the chosen roles and features.
Removing Windows roles and features
-
To open Server Manager, click the Server Manager icon in the taskbar or select Server Manager in the Start Menu.
-
Click on Manager in the upper right portion of the screen and click Remove Roles and Features to open a wizard.
You cannot add roles and features until Server Manager finishes loading. Wait until Server Manager loads before you add roles and features.
-
On the Before you begin page, click Next to begin. You can skip this page in the future by checking Skip this page by default box.
-
On the Select Destination Server page, choose the server from which you want to remove the role or feature. In most cases, this is the server you are logged in to. Click Next.
-
Select roles for removal on the Server Roles page. When you remove roles, the wizard prompts you to remove any roles and features that depend on the role you selected for removal. After you have selected
the desired roles, click Next. -
Select any features for removal on the Features page and click Next.
-
On the Confirmation page, verify the changes before proceeding. If you want the server to restart automatically after installation completes, check the box labeled Restart the destination server automatically if required.
-
Click Remove to remove the chosen roles and features.
Updated about 1 year ago