The Remote Server Administration Tools pack is a feature that is included with Windows Server® 2008 R2. You can install the Remote Server Administration Tools pack by using either the Add Features Wizard in Windows Server 2008 R2, or by using a command line to install the feature.
Prerequisites for installing the Remote Server Administration Tools pack
You can install the Remote Server Administration Tools pack on a computer that is running any Windows Server 2008 R2 operating system, except the Server Core installation option of the Windows Server 2008 R2 operating system.
You should only install Remote Server Administration Tools to perform administrative tasks on computers that are running either Windows Server 2008 or Windows Server 2008 R2. Some tools might also work on roles or features that are running on Windows Server 2003.
You must be either a member of the Administrators group on the server on which you want to install the Remote Server Administration Tools pack, or you must be logged on to the computer by using the built-in Administrator account.
In this topic
How to install the Remote Server Administration Tools pack
You can install the Remote Server Administration Tools pack on a computer that is running Windows Server 2008 R2 either by using the Windows user interface, Windows PowerShell, or the command line.
Using the Windows user interface
Using the Windows user interface
This procedure describes how to install Remote Server Administration Tools by using Server Manager.
To install the Remote Server Administration Tool pack by using the Windows user interface |
Open the Add Features Wizard by doing one of the following.
- In the Initial Configuration Tasks window, in the Customize This Server area, click Add features.
- Open Server Manager by clicking Start, pointing to Administrative Tools, and then clicking Server Manager. In the Features section of the Server Manager home page, click Add features.
Note You can also open Server Manager by clicking the Server Manager button on the Quick Launch tool, or by typing servermanager into a Command Prompt window, and then pressing ENTER.
- Open Control Panel. Double-click Programs and Features. In the Tasks list, click Turn Windows features on or off. When the Server Manager console opens, click Add features in the Features section of the home page.
- In the Initial Configuration Tasks window, in the Customize This Server area, click Add features.
On the Select Features page of the Add Features Wizard, select Remote Server Administration Tools.
Open Role Administration Tools or Feature Administration Tools, depending on the technologies that you want to manage remotely. Select roles, role services, or features that are installed on other computers and that you want to manage from the current computer. Click Next.
Note Installing Remote Server Administration Tools does not install any roles, role services, or features on a computer. For each role, role service, or feature that you select within Remote Server Administration Tools, you are installing only management tools and snap-ins that allow you to perform administration tasks for specified roles, role services, or features installed on other computers.
On the Confirm Installation Options page, click Install.
When installation is complete, exit the wizard.
Using Windows PowerShell cmdlets
This procedure describes how to use the Add-WindowsFeature cmdlet to install Remote Server Administration Tools on your computer.
To install Remote Server Administration Tools by using Windows PowerShell |
Open a Windows PowerShell session with elevated user rights. To do this, click Start, click All Programs, click Accessories, click Windows PowerShell, right-click the Windows PowerShell shortcut, and then click Run as administrator.
Import the Server Manager module into the Windows PowerShell session before working with Server Manager cmdlets. Type the following, and then press Enter.
Import-Module Servermanager
Note Windows PowerShell cmdlets are not case-sensitive.
If you do not know the command name of the remote management tool that you want to install, type the following, and then press Enter to return a list of all command names in the Name column. The command name is required for the next step.
Get-WindowsFeature
You can install remote administration tools for all roles or all features in a single command instance by choosing one of the container identifiers shown in the following list.
- RSAT for installing or removing all available Remote Server Administration Tools.
- RSAT-Role-Tools for installing or removing all available remote role administration tools.
- RSAT-Feature-Tools for installing or removing all available remote feature administration tools.
- RSAT for installing or removing all available Remote Server Administration Tools.
Type the following, in which name represents the command name of the remote administration tool that was obtained in the previous step, and then press Enter to install the remote administration tool.
Add-WindowsFeature name
You can install multiple tools by using commas to separate the command names, as shown in the following example.
Add-WindowsFeature RSAT-RDS,RSAT-Web-Server,RSAT-BitLocker
When installation is complete, verify that your selected remote administration tools installed by running the Get-WindowsFeature cmdlet as shown in step 3.
Using the command line
Note | |
Because of security restrictions imposed by User Account Control in Windows Server 2008 R2, to complete the following procedure, you must run a Command Prompt window with elevated user rights. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. |
Before you begin to install Remote Server Administration Tools by using the command line, we strongly recommend that you read the topic "Overview of Server Manager Commands" in the Server Manager Help.
This procedure shows how to install one set of tools contained within a single command identifier. If you want to install remote administration tools for multiple roles or features, you can do this in one of the following two ways.
-
You can install remote administration tools for all roles or all features in a single command instance by choosing one of the container identifiers shown in the following list.
-
RSAT for installing or removing all available Remote Server Administration Tools.
-
RSAT-Role-Tools for installing or removing all available remote role administration tools.
-
RSAT-Feature-Tools for installing or removing all available remote feature administration tools.
-
RSAT for installing or removing all available Remote Server Administration Tools.
-
You can install or remove multiple remote administration tools by creating an answer file for the command that you use. For more information about how to create an answer file, see "Creating an Answer File for Server Manager Commands" in the Server Manager Help.
To install Remote Server Administration Tools by using a command line |
Open a Command Prompt window with elevated user rights by right-clicking the Command Prompt executable, or the Command Prompt object on the Start menu, and then clicking Run as administrator.
At the prompt, type the following, where command Id represents the identifier (found in the previous table) for the tools that you want to install, and then press ENTER.
ServerManagerCmd.exe -install <command Id>
Notes - Command Prompt commands are not case-sensitive.
- You can obtain a complete list of command identifiers by entering ServerManagerCmd.exe –query in a Command Prompt window opened with elevated user rights. Other parameters are available for the ServerManagerCmd.exe command, such as -restartthat automatically restarts the computer after installation if it is required by the administration tools that you have installed. We recommend that you read about additional Server Manager command line parameters in the topic "Overview of Server Manager Commands" in the Server Manager Help.
When installation is complete, the command prompt displays an exit code of 0, together with a message that confirms a successful installation.
If the installation failed or other messages are displayed, refer to "Interpreting Output from Server Manager Commands" in the Server Manager Help to identify and resolve any problems.
How to remove the Remote Server Administration Tools pack
You can remove Remote Server Administration Tools from a computer that is running Windows Server 2008 R2 either by using the Windows user interface, Windows PowerShell, or the command line.
Using the Windows user interface
Using the Windows user interface
This procedure describes how to remove tools within Remote Server Administration Tools by using Server Manager.
To remove Remote Server Administration Tools by using Windows |
Open the Remove Features Wizard by doing one of the following.
-
In the Initial Configuration Tasks window, in the Customize This Server area, click Remove features.
-
Open Server Manager by clicking Start, pointing to Administrative Tools, and then clicking Server Manager. In the Features section of the Server Manager home page, click Remove features.
Note You can also open Server Manager by clicking the Server Manager button on the Quick Launch bar, or by typing servermanager into a Command Prompt window, and then pressing ENTER.
-
Open Control Panel. Double-click Programs and Features. In the Tasks list, click Turn Windows features on or off. When the Server Manager console opens, click Remove features in the Features section of the home page.
-
In the Initial Configuration Tasks window, in the Customize This Server area, click Remove features.
On the Select Features page of the Remove Features Wizard, select Remote Server Administration Tools Pack.
Select remote administration tools that you want to remove from the local computer. Click Next.
Note Removing Remote Server Administration Tools does not remove any roles, role services, or features from a computer. For each role, role service, or feature that you select within Remote Server Administration Tools, you are removing only management tools and snap-ins that allow you to perform administration tasks for specified roles, role services, or features installed on other computers.
On the Confirm Removal Options page, click Remove.
When removal is complete, exit the wizard.
Using Windows PowerShell cmdlets
This procedure describes how to use the Remove-WindowsFeature cmdlet to remove Remote Server Administration Tools from your computer.
To remove Remote Server Administration Tools by using Windows PowerShell |
Open a Windows PowerShell session with elevated user rights. To do this, click Start, click All Programs, click Accessories, click Windows PowerShell, right-click the Windows PowerShell shortcut, and then click Run as administrator.
Import the Server Manager module into the Windows PowerShell session before working with Server Manager cmdlets. Type the following, and then press Enter.
Import-Module Servermanager
Note Windows PowerShell cmdlets are not case-sensitive.
If you do not know the command name of the remote management tool that you want to remove, type the following, and then press Enter to return a list of all command names in the Name column. The command name is required for the next step.
Get-WindowsFeature
You can remove remote administration tools for all roles or all features in a single command instance by choosing one of the container identifiers shown in the following list.
- RSAT for removing all installed Remote Server Administration Tools.
- RSAT-Role-Tools for removing all installed remote role administration tools.
- RSAT-Feature-Tools for removing all installed remote feature administration tools.
- RSAT for removing all installed Remote Server Administration Tools.
Type the following, in which name represents the command name of the remote administration tool that was obtained in the previous step, and then press Enter to remove the remote administration tool.
Remove-WindowsFeature name
You can remove multiple tools by using commas to separate the command names, as shown in the following example.
Remove-WindowsFeature RSAT-RDS,RSAT-Web-Server,RSAT-BitLocker
When removal is complete, verify that your selected remote administration tools were removed by running the Get-WindowsFeature cmdlet as shown in step 3.
Using the command line
Note | |
Because of security restrictions imposed by User Account Control in Windows Server 2008 R2, to complete the following procedure, you must run a Command Prompt window with elevated user rights. |
Before you start to remove Remote Server Administration Tools by using the command line, we strongly recommend that you read the topic "Overview of Server Manager Commands" in the Server Manager Help.
This procedure shows how to remove one set of tools contained in a single command identifier. If you want to remove remote administration tools for multiple roles or features, you can do this in one of the following two ways.
-
You can remove remote administration tools for all roles or all features in a single command instance by choosing one of the container identifiers shown in the following list.
- RSAT for removing all installed Remote Server Administration Tools.
- RSAT-Role-Tools for removing all installed remote role administration tools.
- RSAT-Feature-Tools for removing all installed remote feature administration tools.
- RSAT for removing all installed Remote Server Administration Tools.
-
You can remove multiple remote administration tools by creating an answer file for the command that you use. For more information about creating an answer file, see "Creating an Answer File for Server Manager Commands" in the Server Manager Help.
To remove Remote Server Administration Tools by using a command line |
Open a Command Prompt window with elevated user rights by right-clicking the Command Prompt executable, or the Command Prompt object on the Start menu, and then clicking Run as administrator.
At the prompt, type the following, where command Id represents the identifier (found in the previous table) for the tools that you want to remove, and then press ENTER.
ServerManagerCmd.exe -remove <command Id>
Note You can obtain a complete list of command identifiers by entering ServerManagerCmd.exe –query in a Command Prompt window opened with elevated user rights. Other parameters are available for this command, such as -restart, which automatically restarts the computer after removal if it is required by remaining programs on the computer. We recommend that you read about additional Server Manager command line parameters in the topic "Overview of Server Manager Commands" in the Server Manager Help.
When removal is complete, the command prompt displays an exit code of 0, together with a message that confirms a successful removal.
If the removal failed or other messages are displayed, refer to "Interpreting Output from Server Manager Commands" in the Server Manager Help to identify and resolve any problems.