In Windows Server 2012, you can install roles and features to local or remote servers, or offline virtual hard disks (VHDs) using the Server Manager console and/or Windows PowerShell cmdlets. You can install multiple roles and features in a single Add Roles and Features Wizard or Windows PowerShell session. (Server Manager cannot be used to manage a newer release of the Windows Server operating system).
Using the “Add Roles and Features Wizard”
- Open Server Manager
- On the Manage menu, click Add Roles and Features.
- On the Before you begin page, click Next. (You can verify that your destination server and network environment are prepared for the role and feature you want to install).
- On the Select installation type page, you can select:
Role-based or feature-based installation to install all parts of roles or features on a single server
Remote Desktop Services installation to install either a virtual machine-based desktop infrastructure or a session-based desktop infrastructure for Remote Desktop Services.
- On the Select destination server page, select a server from the server pool or select an offline VHD. Click Next.
- On Select server roles page, select role services for the role if applicable, then click Next.
The Add Roles and Features Wizard will automatically informs you if conflicts were found on the destination server that can prevent selected roles or features from installation or normal operation, and you will be prompted to add any roles, role services, or features that are required by the roles or features that you have selected.
- On Select features page, select features if applicable, click Next.
- Depending on the Role or Feature you are installing you will be prompted to a new page with extra information about the Role. Read the information and click Next.
Then on the Select Role Services page, select the role/s you want to install. Click Next.
- On the Confirm installation selections page, review your role, feature, and server selections. If you are ready to install, click
You can export your selections to an XML-based configuration file that you can use for unattended installations with Windows PowerShell, just click Export configuration settings, and then save the XML file to a convenient location.If you have removed role and feature files from a server, the Specify an alternate source path command on the Confirm installation selections page lets you specify an alternate source path for the files that are required to install roles and features on the selected server.
- After you click Install, the Installation progress page displays installation progress, results, and messages such as warnings, failures, or post-installation configuration steps that are required for the roles or features that you installed.