Remote server administration tools for windows server 2019

The Remote Server Administration Tools (RSAT) have been with Windows Server since Server 2000. On various versions of Windows the tools are sometimes included and sometimes they need to be downloaded from the Microsoft website and installed. In Server 2019 these tools are included as optional features and can be installed using the Add Roles and Features wizard in Server Manager; no download is required.

Remote Server Administration Tools (RSAT) Background

The Remote Server Administration Tools (RSAT) have been with Windows Server since Server 2000. On various versions of Windows the tools are sometimes included and sometimes they need to be downloaded from the Microsoft website and installed. In Server 2019 these tools are included as optional features and can be installed using the Add Roles and Features wizard in Server Manager; no download is required.

The following tools are included as part of the installation:

  • SMTP Server Tools
  • Hyper-V Management Tools
  • Hyper-V Module for Windows PowerShell
  • Hyper-V GUI Management Tools
  • Windows Server Update Services Tools
  • API and PowerShell cmdlets
  • User Interface Management Console
  • Active Directory Users and Computers Snap-in
  • Active Directory Sites and Services Snap-in
  • Active Directory Domains and Trusts Snap-in
  • Active Directory Administrative Center Snap-in
  • ADSI Edit Snap-in
  • Active Directory Schema Snap-in (Not Registered)
  • Active Directory Command Line Tools
  • Active Directory Module for Windows PowerShell
  • IIS Management Tools
  • IIS Management Console
  • IIS Management Compatibility
  • Feature Tools
  • Remote Desktop Services Tools
  • Role Tools
  • Update Services Tools

Prerequisites for installing Remote Server Administration Tools (RSAT)

You will require a Windows Server 2019 computer with the “Graphical Management Tools and Infrastructure” installed to install the Remote Server Administration Tools (RSAT) using the Server Manager graphical user interface.

Instructions for installing Remote Server Administration Tools (RSAT)

To install the Remote Server Administration Tools (RSAT) on Windows Server 2019 please follow these instructions.  If some of the Roles or Features are already installed you may not have to perform all the steps listed below.

  1. On the Windows Server 2019 open Server Manager. If Server Manager does not start by default press the “Windows + R” keys, Type “servermanager” in the “Open” field and press “Enter” or click the OK button.Start Server Manager in Windows Server 2019
  2. On the Server Manager main windows Click “Add roles and features”.Start Add Roles and Features Wizard in Windows Server 2019 Server Manager
  3. In the “Add Roles and Features Wizard” under “Installation Type” check the “Role-based or feature-based installation” radio button and click “Next”Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 3
  4. In the “Add Roles and Features Wizard” under “Server Selection” check the “Select a server from the server pool” radio button, select the server you want to install the Remote Server Administration Tools (RSAT) on and click “Next”Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 4
  5. In the “Add Roles and Features Wizard” under “Server Roles” click “Next”Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 5
  6. In the “Add Roles and Features Wizard” under “Features” scroll down and check the “Remote Server Administration Tools” check box. Click “Next”.Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 6
  7. In the “Add Roles and Features Wizard” at the “Confirmation” page click “Install” to begin the installation of the Remote Server Administration Tools (RSAT)Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 7
  8. The installation of the Remote Server Administration Tools (RSAT) will begin and the progress will be displayed. This installation should not require a restart of the server.Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 8
  9. When the installation of the Remote Server Administration Tools (RSAT) is complete you can find the RSAT tools under the “Tools” menu in “Server Manager”.Windows Server 2019 Server Manager Add Roles and Features Wizard install Remote Server Administration Tools (RSAT) - Step 9

In this post I will cover the steps to install Remote Server Administration Tools (RSAT tools) on Windows Server 2019. You can also use the same steps to install RSAT on other editions of Windows Servers.

RSAT is a set of tools that allows system administrators to manage the active directory and all its components from their system or a member server without much hassle.

In addition, Remote Server Administration Tools includes Server Manager, Microsoft Management Console (mmc) snap-ins, consoles. It also includes some command-line tools for managing roles and features that run on Windows Server.

Recently while setting up the SCCM technical preview lab, I had to login to my domain controller to perform certain tasks. Having the RSAT tools installed on member server is really an advantage. Rather than logging in to your domain controller, you can install RSAT tools on member server.

If you are looking to install RSAT tools on your Windows 10 OS, check this post.

Remote Server Administration Tools

When you plan to install RSAT tools for Windows Server 2019, here are the components.

  • Active Directory Users and Computers Snap-in
  • Active Directory Sites and Services Snap-in
  • Hyper-V Management Tools
  • Hyper-V Module for Windows PowerShell
  • Active Directory Schema Snap-in
  • Active Directory Command Line Tools
  • SMTP Server Tools
  • Active Directory Domains and Trusts Snap-in
  • Active Directory Administrative Center Snap-in
  • Hyper-V GUI Management Tools
  • Windows Server Update Services Tools
  • ADSI Edit Snap-in
  • Active Directory Module for Windows PowerShell
  • API and PowerShell cmdlets
  • User Interface Management Console
  • IIS Management Tools
  • IIS Management Console and Compatibility
  • Feature Tools
  • Remote Desktop Services Tools
  • Role Tools
  • Update Services Tools

Here are the steps to install RSAT Tools on your Windows Server 2019.

Login to your Windows Server 2019 and launch Server Manager. On the Server Manager Dashboard, under Configure this local server, click Add roles and features.

Add Roles and Features

Select Role-based or feature-based installation. Click Next.

Add Roles and Features

On the Server Selection page, ensure you are installing the RSAT tools on correct Windows Server. Click Next.

Add Roles and Features

On the Server Roles page, click Next.

Install RSAT Tools on Windows Server 2019

Under Role Administration Tools, select the RSAT components that you wish to install. Click Next.

Install RSAT Tools on Windows Server 2019

On the Confirmation page, click Install.

How to Install RSAT Tools on Windows Server 2019 Snap6

Click Close. Congratulations, you have successfully installed RSAT tools on your Windows Server 2019. Open Server Manager and click Tools. You will find all the installed RSAT Tools.

install rsat tools on windows server 2019

Набор компонентов RSAT (Remote Server Administration Tools / Средства удаленного администрирования сервера) позволяет удаленно управлять серверными ролями и компонентами на серверах Windows Server с обычной рабочей станции . В RSAT входят как графические MMC оснастки, так и утилиты командной строки, и модули PowerShell. Вы можете установить RSAT как на десктопных версиях Windows 10 или 11, так и на платформе Windows Server. В этой статье мы покажем, как установить RSAT в Windows 10 и Windows 11, и в Windows Server 2022/2019/2022 в онлайн и в офлайн режиме через Feature on Demand из графического интерфейса Windows и через консоль PowerShell.

Содержание:

  • Установка RSAT из графического интерфейса Windows 10 через Features on Demand (FoD)
  • Установка RSAT в Windows 10 с помощью PowerShell
  • Установка RSAT в Windows 11
  • Как установить Remote Server Administration Tools в Windows Server 2022,2019,2016?
  • Ошибка 0x800f0954 при установке RSAT в Windows 10
  • Установка RSAT в Windows 10 в офлайн режиме
  • Частые ошибки установки Remote Server Administration Tools в Windows

Установка RSAT из графического интерфейса Windows 10 через Features on Demand (FoD)

До версии Windows 10 1809 пакет удаленного администрирования серверов RSAT (Remote Server Administration Tools) устанавливался в виде MSU обновления, которое нужно было вручную скачивать с серверов Microsoft и устанавливать на компьютерах. При каждом обновлении билда Windows 10 нужно было устанавливать новую версию RSAT. Сейчас на странице загрузки RSAT сайте Microsoft висит следующая надпись:

IMPORTANT: Starting with Windows 10 October 2018 Update, RSAT is included as a set of “Features on Demand” in Windows 10 itself.

Дело в том, что в современных билдах Windows 10 пакет Remote Server Administration Tools не нужно скачивать вручную. Средства его установки уже встроены в образ Windows 10 и доступны через опцию Функции по требованию / Features on Demand.

Дистрибутив Windows 10 не включает в себя установочные файлы RSAT. Для их установки вашему компьютеру нужен прямой доступ в Интернет. Кроме того установить RSAT можно Professional и Enterprise редакциях в Windows 10, но не в Windows 10 Home.

Чтобы установить RSAT в Windows 10 нужно перейти в раздел Settings -> Apps -> Optionla Features -> Add a feature (Параметры Windows -> Приложения -> Дополнительные возможности -> Добавить компонент).

установка Remote Server Administration Tools в windows 10 через optional features

Выберите нужные компоненты RSAT и нажмите Install.

установить компоненты rsat в Windows онлайн

Для установки некоторых компонентов RSAT может потребоваться перезагрузка.

Для Windows 10 доступны следующие инструменты администрирования RSAT:

  • RSAT: Active Directory Domain Services and Lightweight Directory Services Tools
  • RSAT: BitLocker Drive Encryption Administration Utilities
  • RSAT: Active Directory Certificate Services Tools
  • RSAT: DHCP Server Tools (настройка и управление DHCP сервером на Windows Server)
  • RSAT: DNS Server Tools
  • RSAT: Failover Clustering Tools
  • RSAT: File Services Tools
  • RSAT: Group Policy Management Tools
  • RSAT: IP Address Management (IPAM) Client
  • RSAT: Data Center Bridging LLDP Tools
  • RSAT: Network Controller Management Tools
  • RSAT: Network Load Balancing Tools
  • RSAT: Remote Access Management Tools
  • RSAT: Remote Desktop Services Tools
  • RSAT: Server Manager
  • RSAT: Shielded VM Tools
  • RSAT: Storage Migration Service Management Tools
  • RSAT: Storage Replica Module for Windows PowerShell
  • RSAT: System Insights Module for Windows PowerShell
  • RSAT: Volume Activation Tools (консоль активации KMS сервера)
  • RSAT: Windows Server Update Services Tools

После установки, графические mmc оснастки RSAT доступны в панели управления в секции Administrative Tools (Control PanelSystem and SecurityAdministrative Tools).

Запустить rsat из Administrative Tools

Установка RSAT в Windows 10 с помощью PowerShell

Вы можете установить компоненты администрирования RSAT с помощью PowerShell. В этом примере мы покажем, как управлять компонентами RSAT в Windows 10 20H2.

С помощью следующей PowerShell команды можно вывести список компонентов RSAT, установленных на вашем компьютере:

Можно представить статус установленных компонентов RSAT в более удобной таблице:

Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State

В нашем примере инструменты управления DHCP и DNS установлены (
Installed
), а все остальные модуль RSAT отсутствуют (
NotPresent
).

Get-WindowsCapability вывести список установленных компонентов rsat с помощью powershell

Для установки RSAT в Windows используется PowerShell командлет Add-WindowsCapability.

Чтобы установить конкретный инструмент RSAT, например инструменты управления AD (в том числе консоль ADUC из модуль Active Directory для Windows Powershell), выполните команду:

Add-WindowsCapability –online –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

Для установки консоли управления DNS и модуля PowerShell DNSServer, выполните:

Add-WindowsCapability –online –Name Rsat.Dns.Tools~~~~0.0.1.0

И т.д.

Add-WindowsCapability -Online -Name Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.CertificateServices.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.DHCP.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0

Add-WindowsCapability -Online -Name Rsat.FileServices.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.IPAM.Client.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.LLDP.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.NetworkController.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.RemoteAccess.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.ServerManager.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.Shielded.VM.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.StorageReplica.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.SystemInsights.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.VolumeActivation.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.WSUS.Tools~~~~0.0.1.0

Чтобы установить сразу все доступные инструменты RSAT, выполните:

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online

Также вы можете установить компоненты RSAT с помощью утилиты управления образом DISM. Например:

DISM.exe /Online /add-capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 /CapabilityName:Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0 /CapabilityName:Rsat.WSUS.Tools~~~~0.0.1.0

Чтобы установить только отсутствующие компоненты RSAT, выполните:

Get-WindowsCapability -Name RSAT* -Online | where State -EQ NotPresent | Add-WindowsCapability –Online

Add-WindowsCapability в Windows 10 1809 Rsat.LLDP.Tools

Теперь убедитесь, что инструменты RSAT установлены (статус Installed);

состояние компоеннтов RSAT

После этого установленные инструменты RSAT отобразятся в панели Manage Optional Features.

Установка RSAT в Windows 11

RSAT в Windows 11 также можно установить через панель Settings -> Apps -> Optional Features -> Add an optional feature (View features).

Наберите
RSAT
в поисковой строке и выберите компоненты для установки.

установка RSAT в windows 11 через компоненты в панели управления параметры

Также вы можете использовать PowerShell для установки RSAT в Windows 11:

Add-WindowsCapability –online –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

windows 11: установить Remote Server Administration Tools с помощью консоли powershell

Как установить Remote Server Administration Tools в Windows Server 2022,2019,2016?

В Windows Server для установки RSAT не нужен доступ в интернет. Компоненты RSAT можно устанавливать при установке соответствующих ролей или фич Windows Server, либо можно установить их через Server Manager (Add roles and Features -> Features -> Remote Server Administration Tools). Все компоненты RSAT разбиты на две секции: Feature Administration Tools и Role Administration Tools. Выберите необходимые компоненты и нажмите Next -> Next.

windows server: установка RSAT через Server Manager

Для установки RSAT в Windows Server используется командлет установки компонентов и ролей — Install-WindowsFeature. Вывести список доступных компонентов RSAT в Windows Server 2022, 2019 и 2016:

Get-WindowsFeature| Where-Object {$_.name -like "*RSAT*"}| ft Name,Installstate

Для установки выбранного компонента RSAT, укажите его имя. Например, установим консоль диагностики лицензирования RDS:

Install-WindowsFeature RSAT-RDS-Licensing-Diagnosis-UI

windows server: установить компоненты rsat с помощью командлета powershell Install-WindowsFeature

Установленные графические консоли RSAT доступны из Server Manager или через панель управления.

Ошибка 0x800f0954 при установке RSAT в Windows 10

Если ваш компьютер Windows 10 с помощью групповой политики настроен на получение обновлений с локального сервера обновлений WSUS или SCCM SUP, то при установке RSAT через Add-WindowsCapability или DISM вы получите ошибку 0x800f0954.

Add-WindowsCapability ошибка установки rsat 0x800f0954

Для корректной установки компонентов RSAT в Windows 10 вы можете временно отключить обновление со WSUS сервера в реестре (HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU параметр UseWUServer= 0) и перезапустить службу обновления. Воспользуйтесь таким скриптом PowerShell:

$val = Get-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU" -Name "UseWUServer" | select -ExpandProperty UseWUServer
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU" -Name "UseWUServer" -Value 0
Restart-Service wuauserv
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU" -Name "UseWUServer" -Value $val
Restart-Service wuauserv -Force

Либо вы можете настроить новый параметр GPO, который позволяет настраивать параметры установки дополнительных компонентов Windows и Feature On Demand (в том числе RSAT).

  1. Откройте редактор локальной GPO –
    gpedit.msc
    или используйте доменную консоль управления GPO –
    gpmc.msc
    );
  2. Перейдите в раздел Computer Configuration -> Administrative Templates -> System;
  3. Включите политику Specify settings for optional component installation and component repair, и включите опцию Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS) (опция “Скачайте содержимое для восстановления и дополнительные компненты непосредственно из Центра обновления Windows вместо использования службы WSUS”);gpo: Specify settings for optional component installation and component repair
  4. Сохраните изменения и обновите настройки групповых политик (
    gpupdate /force
    ).

Теперь установка RSAT через PowerShell или Dism должна выполняться без ошибок.

Установка RSAT в Windows 10 в офлайн режиме

Если при установке RSAT вы столкнетесь с ошибкой Add-WindowsCapability failed. Error code = 0x800f0954, или в списке дополнительных компонентов вы не видите RSAT (Компоненты для установки отсутствуют), скорее всего ваш компьютер настроен на получение обновлений со внутреннего WSUS/SCCM SUP сервера. Если вы не можете открыть прямой доступ с рабочей станции к серверам Windows Update, вы можете воспользоваться офлайн установкой RSAT (рекомендуется для корпоративных сетей без прямого доступа в Интернет).

Windows 10 дополнительные возможности - Компоненты для установки отсутствуют

Для офлайн установки RSAT нужно скачать ISO образ диска с компонентами FoD для вашей версии Windows 10 из вашего личного кабинета на сайте лицензирования Microsoft — Volume Licensing Service Center (VLSC). Образ называется примерно так: Windows 10 Features on Demand, version 1903.

Например, для Windows 10 1903 x64 нужно скачать образ SW_DVD9_NTRL_Win_10_1903_64Bit_MultiLang_FOD_.ISO (около 5 Гб). Распакуйте образ в сетевую папку. У вас получится набор из множества *.cab файлов, среди которых есть компоненты RSAT.

Теперь для установки компонентов RSAT на десктопе Windows 10 нужно указывать путь к данному сетевому каталогу с FoD. Например:

Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 -LimitAccess -Source \msk-fs01DistrWindows-FODWin101903x64

Add-WindowsCapability установить компоненты rsat из сетевой папки

Также вы можете указать путь к каталогу с компонентами FoD с помощью рассмотренной выше групповой политики. Для этого в параметре Alternative source file path нужно указать UNC путь к каталогу.

windows 10 1903: настройки features on demand для установки RSAT через GPO

Или можете задать этот параметр через реестр отдельной политикой, указав путь к каталогу в параметр LocalSourcePath (тип REG_Expand_SZ) в ветке реестра HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesServicing.

После этого, пользователи смогут самостоятельно устанавливать компоненты RSAT через графический интерфейс добавления компонент Windows 10.

В изолированной среде, если вы не можете получить образ FoD, можно также скачать обновление
WindowsTH-RSAT_WS2016-x64.msu
из каталога Microsoft Update , извлечь содержимое MSU файла обновления и с помощью DISM установит компонент KB2693643-x64.cab (протестировано на Windows 10 2004):
expand -f:* c:WindowsTH-RSAT_WS2016-x64.msu C:RSAT
dism.exe /online /add-package /packagepath:C:RSATWindowsTH-KB2693643-x64.cab

Частые ошибки установки Remote Server Administration Tools в Windows

  • 0x8024402c, 0x80072f8f – Windows не может поучить доступ к серверам обновления Windows для получения компонентов RSAT. Проверьте доступ в интернет или установите компоненты из локального образа FoD:
    Add-WindowsCapability -Online -Name Rsat.Dns.Tools~~~~0.0.1.0 -LimitAccess -Source E:RSAT
  • 0x800f081f – проверьте путь к каталогу с компонентами RSAT, указанному в параметре –Source;
  • 0x800f0950 – ошибка аналогична 0x800f0954;
  • 0x80070490 –проверьте целостность образа Windows с помощью DISM:
    DISM /Online /Cleanup-Image /RestoreHealth

In this post I will take you through the process on how to install Remote Server Administration Tools (RSAT) on Windows Server. Installation of RSAT tools gives us the flexibility of managing few remote administration tasks related to server such ad Active Directory, BitLocker management etc.

Microsoft RSAT is a server management tools which can either be installed on workstation or on any Windows Server. RSAT is a combination of Windows Admin tools, Installing the tool on Windows Server can be done through Server Manager tools. Following are the RSAT components which we can install:

Run following PowerShell command to get this info

Get-WindowsFeature | Where-Object {$_.Name -like 'RSAT*'} | select Name,DisplayName

Get-WindowsFeature

Name DisplayName
RSAT Remote Server Administration Tools
RSAT-Feature-Tools Feature Administration Tools
RSAT-SMTP SMTP Server Tools
RSAT-Feature-Tools-BitLocker BitLocker Drive Encryption Administration Utilities
RSAT-Feature-Tools-BitLocker-RemoteAdminTool BitLocker Drive Encryption Tools
RSAT-Feature-Tools-BitLocker-BdeAducExt BitLocker Recovery Password Viewer
RSAT-Bits-Server BITS Server Extensions Tools
RSAT-DataCenterBridging-LLDP-Tools DataCenterBridging LLDP Tools
RSAT-Clustering Failover Clustering Tools
RSAT-Clustering-Mgmt Failover Cluster Management Tools
RSAT-Clustering-PowerShell Failover Cluster Module for Windows PowerShell
RSAT-Clustering-AutomationServer Failover Cluster Automation Server
RSAT-Clustering-CmdInterface Failover Cluster Command Interface
RSAT-NLB Network Load Balancing Tools
RSAT-Shielded-VM-Tools Shielded VM Tools
RSAT-SNMP SNMP Tools
RSAT-SMS Storage Migration Service Tools
RSAT-Storage-Replica Storage Replica Module for Windows PowerShell
RSAT-System-Insights System Insights Module for Windows PowerShell
RSAT-WINS WINS Server Tools
RSAT-Role-Tools Role Administration Tools
RSAT-AD-Tools AD DS and AD LDS Tools
RSAT-AD-PowerShell Active Directory module for Windows PowerShell
RSAT-ADDS AD DS Tools
RSAT-AD-AdminCenter Active Directory Administrative Center
RSAT-ADDS-Tools AD DS Snap-Ins and Command-Line Tools
RSAT-ADLDS AD LDS Snap-Ins and Command-Line Tools
RSAT-Hyper-V-Tools Hyper-V Management Tools
RSAT-RDS-Tools Remote Desktop Services Tools
RSAT-RDS-Gateway Remote Desktop Gateway Tools
RSAT-RDS-Licensing-Diagnosis-UI Remote Desktop Licensing Diagnoser Tools
RSAT-ADCS Active Directory Certificate Services Tools
RSAT-ADCS-Mgmt Certification Authority Management Tools
RSAT-Online-Responder Online Responder Tools
RSAT-ADRMS Active Directory Rights Management Services Tools
RSAT-DHCP DHCP Server Tools
RSAT-DNS-Server DNS Server Tools
RSAT-Fax Fax Server Tools
RSAT-File-Services File Services Tools
RSAT-DFS-Mgmt-Con DFS Management Tools
RSAT-FSRM-Mgmt File Server Resource Manager Tools
RSAT-NFS-Admin Services for Network File System Management Tools
RSAT-NetworkController Network Controller Management Tools
RSAT-NPAS Network Policy and Access Services Tools
RSAT-Print-Services Print and Document Services Tools
RSAT-RemoteAccess Remote Access Management Tools
RSAT-RemoteAccess-Mgmt Remote Access GUI and Command-Line Tools
RSAT-RemoteAccess-PowerShell Remote Access module for Windows PowerShell
RSAT-VA-Tools Volume Activation Tools

Install RSAT on Windows Server 2019 / 2022

The process will remain same for on all Windows Server. Login to Windows Server and open Server Manager or type ServerManager.exe on windows + Run.

On Server Manager > Dashboard, click on Manage and select Add Roles and Features.

Add Roles and Features

On Add Roles and Features Wizard, select Next.

Before you begin

On Select installation type page, select Role-based or feature-based installation if you are installing the roles & features manually or else select Remote Desktop Services Installation for remote install.

Select installation type

On Server Selection page, click Next.

Select destination server

On Select server roles page, click Next.

Select server roles

On Feature page, scroll down and select AD DS and AD LDS Tools which is under Remote Server Administration Tools > Role Administration Tools. Selecting this feature will automatically select other features required related to it:
Active Directory module for Windows PowerShell
Active Directory Administrative Center
AD DS Snap-Ins and Command-Line Tools

AD DS and AD LDS Tools

On Confirm installation selections page, click Install to initiate the installation process.

Confirm installation selections

Once installation is done for RSAT program, we can see following Windows Administrative Tools installed :

Domain.msc : Active Directory Domains and Trusts
dsa.msc : Active Directory Users and Computers
dssite.msc : Active Directory Sites and Services

Windows Administrative Tools

Previously we saw how to install RSAT on Server using Server Manager. However, if you want to expedite the process on multiple server with multiple components, PowerShell cmdlets can be used

Lets check the RSAT-AD-Tools component details. Run following PowerShell command which gives the result:

get-WindowsFeature | Where-Object {$_.Name -like "RSAT-AD-Tools"} | select *

Name                      : RSAT-AD-Tools
DisplayName          : AD DS and AD LDS Tools
Description               : Active Directory Domain Services (AD DS) and Active Directory Lightweight Directory Services (AD LDS) Tools includes snap-ins and command-line tools for remotely managing AD DS and AD LDS.
Installed                 : False
InstallState              : Available
FeatureType               : Feature
Path                      : Remote Server Administration ToolsRole Administration ToolsAD DS and AD LDS Tools
Depth                     : 3
DependsOn           : {}
Parent                    : RSAT-Role-Tools
ServerComponentDescriptor : ServerComponent_RSAT_AD_Tools
SubFeatures               : {RSAT-AD-PowerShell, RSAT-ADDS, RSAT-ADLDS}
SystemService             : {}
Notification              : {}
BestPracticesModelId      :
EventQuery                :
PostConfigurationNeeded   : False
AdditionalInfo            : {MajorVersion, MinorVersion, NumericId, InstallName}

RSAT-AD-Tools

Install State is showing as Available and ready to install in next command.

Run another PowerShell Command:

get-WindowsFeature | Where-Object {$_.Name -like "RSAT-AD-Tools"} | Install-WindowsFeature

Install-WindowsFeature RSAT-AD-Tools

We can installation succeeded with Exit Code Success

Install other RSAT Components using PowerShell Command

I am sharing few other PowerShell command line which can be used to for installation of other RSAT Tools:

To install all default components under Remote Server Administration Tools:

Get-WindowsFeature | Where-Object {$_.Name -like "RSAT*"} | Install-WindowsFeature

InstallRSATServer 12

To install all other components under selected component, use:

get-WindowsFeature | Where-Object {$_.Name -like "RSAT*"} -IncludeAllSubFeature | Install-WindowsFeature | Install-WindowsFeature -WhatIf

For Rest other Windows Server components to install using PowerShell:

DHCP Server Tools : Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-DHCP"}
DNS Server Tools : Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-DNS-Server"}
Hyper-V Management Tools : Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-Hyper-V-Tools"}
Remote Desktop Services Tools : Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-RDS-Tools"}
DFS Management Tools : Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-DFS-Mgmt-Con"}
Remote Access Management Tools : Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-RemoteAccess"}
Volume Activation Tools: Get-WindowsFeature | Where-Object {$_.Name -like "RSAT-RSAT-VA-Tools"}

For complete list of RSAT tools that can be installed, use following PowerShell Command: get-WindowsFeature | Where-Object {$_.Name -like "RSAT*"}  | select name,displayname

InstallRSATServer 13

Offline Install Remote Server Administration Tools RSAT in Windows 10 v1903Ранее мы уже писали об особенностях установки пакета Remote Server Administration Tools (RSAT) в Windows 10. Но время идёт и новые релизы Windows 10 вносят новые правила работы с этим пакетом. В этой заметке мы поговорим об особенностях автономной установки RSAT в актуальной версии Windows 10 1903.

Графический интерфейс «Параметры Windows» и UAC

В рассматриваемой нами версии Windows 10 активацию компонент RSAT можно выполнить через графический интерфейс Windows, пройдя последовательно в Параметры Windows > Приложения > Дополнительные возможности > Добавить компонент

Windows 10 1903 Add Optional Feature

Однако, если с помощью этого графического интерфейса мы попытаемся выполнить добавление компонент на системе, подключенной к локальному серверу WSUS/SCCM SUP, то может получиться так, что мы даже не сможем получить перечень доступных к установке компонент.

Windows 10 Feature Install and UAC

Эта проблема будет воспроизводится в том случае, если текущий пользователь системы не имеет прав локального администратора и доступ к интерфейсу добавления компонент выполняется с запросом повышения привилегий UAC. При этом, если войти в систему интерактивно с правами администратора, то список компонент в графическом интерфейсе мы всё же сможем увидеть.

Компоненты RSAT и PowerShell

В качестве альтернативного варианта получения списка опциональных компонент Windows можно использовать оболочку PowerShell, запущенную с правами администратора. Для получения компонент, относящихся к пакету RSAT можно выполнить команду:

Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property State,Name,DisplayName | Format-Table -AutoSize

Get-WindowsCapability RSAT

Установку той или иной компоненты можно выполнить командой типа:

Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Feature On Demand и проблема Offline-клиентов

Теперь нам понятно, что графический интерфейс Windows 10 1903 работает с UAC криво, а в PowerShell всё в этом плане хорошо. Однако, безотносительно способа установки, в том случае, если компьютер настроен на использование WSUS/SUP и не имеет прямого доступа в интернет, при попытке установки выбранной компоненты мы можем получить ошибку 0x800f0954.

Add-WindowsCapability Error 0x800f0954

И ошибка эта будет воспроизводиться как при использовании PowerShell, так и при использовании графического интерфейса. Правда, в графическом интерфейсе, опять же, это может быть не так очевидно.

Как я понял, связано это с тем, что для установки опциональных компонент требуется наличие доступа к комплекту пакетов установки Feature On Demand (FOD) для нашей «модной» версии Windows 1903. Именно в этот комплект включаются компоненты RSAT, начиная с обновления Windows 10 1809 от Октября 2018 года. Об этом, в частности, гласит примечание на странице загрузки Remote Server Administration Tools for Windows 10

Интересно то, что на этой же веб-странице имеется сноска о том, что пользователям, использующим WSUS/SUP, и получающим выше обозначенную ошибку 0x800f0954, для возможности установки компонент RSAT придётся настраивать прямой доступ на Windows Update, либо использовать метод с сетевым каталогом.

Known issues affecting various RSAT versions:

Issue: RSAT FOD installation fails with error code 0x800f0954
Impact: RSAT FODs on Windows 10 1809 (October 2018 Update) in WSUS/SCCM environments
Resolution: To install FODs on a domain-joined PC which receives updates through WSUS or SCCM, you will need to change a Group Policy setting to enable downloading FODs directly from Windows Update or a local share.

И в этой ситуации администраторы используют разные пути. Некоторые идут по пути наименьшего сопротивления, не заморачиваясь при этом вопросами удобства и безопасности, и отключают на время установки RSAT нацеливание клиента на WSUS с последующей организацией прямого доступа к Windows Update.

На мой взгляд, этот метод «так себе», так как далеко не всегда и не во всех ситуациях возможно, или даже временно допустимо, обеспечивать прямой доступ на внешние интернет-узлы. К тому же решение с временной правкой реестра и последующим перезапуском службы клиента Windows Update назвать удобным язык не повернётся. При этом ведь ещё нужно помнить про том, что нигде в групповых политиках не должно быть настроено явных запретов на до-загрузку контента Windows c Windows Update.

Feature On Demand и WSUS

А что же нам в этой ситуации может предложить наш локальный источник обновлений — WSUS? Если заглянуть в свойствах сервера WSUS в перечень продуктов, относящихся к Windows 10 (…интересно, в Microsoft сами ориентируются в этом списке?…), то мы увидим такую интересную позицию, как Windows 10 Feature On Demand.

Windows 10 Feature On Demand on WSUS

Не найдя нигде в открытых источниках вменяемого развёрнутого описания этой позиции (…впрочем, как и многих других…) мы решили включить её и проверить, что она нам даст. По итогу могу сказать, что среди метаданных о более, чем тысячи обновлений, прилетевших после синхронизации WSUS с Windows Update, я увидел только некоторые компоненты FOD, большинство из которых применимы только для старых версий Windows 10. Ну и в придачу мы получили целый ворох языковых пакетов на всех мыслимых и немыслимых языках, невзирая на то, что в настройках сервера WSUS у нас включены только английский и русский языки. В общем и целом эта позиция на WSUS для нас оказалась бесполезной и даже вредительской.

Раздача Feature On Demand для Offline-клиентов

В результате проведённых экспериментов стало очевидно, что единственным приемлемым в нашей ситуации вариантом, позволяющим выполнять Offline-установку RSAT, является вариант с развёртыванием специального сетевого каталога с компонентами Feature On Demand с нацеливанием клиентов на этот каталог через групповые политики.

Для начала нам потребуется получить образы дисков с компонентами FOD для нашей версии Windows 10. Загрузить эти образы можно вручную с сайта Volume Licensing Service Center (VLSC)

Windows 10 1903 Feature On Demand Images

Создаём на файловом сервере общедоступный сетевой ресурс для клиентских систем 64-bit и распаковываем в него всё содержимое образов SW_DVD9_NTRL_Win_10_1903_64Bit_MultiLang_FOD_.ISO. Рядом создаём аналогичный ресурс для систем 32-bit и распаковываем туда образы SW_DVD9_NTRL_Win_10_1903_W32_MultiLang_FOD_.ISO.

Распакованный контент будет представлять из себя множество *.cab файлов, среди которых есть и интересующие нас опциональные компоненты RSAT.

Теперь на любом Offline-клиенте c Windows 10 1903 мы можем попытаться выполнить установку компонент RSAT c помощью PowerShell, указывая в качестве источника получения подготовленный сетевой каталог:

Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 -LimitAccess -Source \holding.comInstallersWindows-Feature-On-DemandWin10-190364-bit

Add-WindowsCapability from Share

Имейте в виду, что командлет Add-WindowsCapability работает довольно специфично. То есть он может отработать без ошибки, но если в указанном источнике не будут найдены файлы, подходящие для данной системы, никакой установки на самом деле не произойдёт… Разумеется, «это не баг, а фича»… Поэтому после выполнения командлета установки всех нужных компонент, лучше повторно проверять установленные компоненты:

Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property State,DisplayName | Where {$_.State -eq "Installed"} | Format-Table -AutoSize

PowerShell Get-WindowsCapability where Installed

После этого установленные компоненты RSAT можно будет видеть в уже «горячо полюбившейся» нам графической оболочке Windows 10 1903 в ранее упомянутом перечне дополнительных компонент Windows

Windows 10 Uninstall FOD in UI

И отсюда же их можно будет удалить при необходимости.

Таким образом все администраторы в организации смогут с помощью PowerShell вручную установить нужные им компоненты RSAT на свои системы Windows 10 1903, не имея прямого доступа в интернет. Однако Offline-установку можно сделать ещё удобней, если дополнительно настроить специальный параметр групповой политики, указывающий клиентам расположение сетевого каталога с компонентами FOD. Описан этот параметр GPO, например, в документе: How to make Features on Demand and language packs available when you’re using WSUS/SCCM.

Переходим в консоль управления групповыми политиками и в разделе политик Administrative Templates > System  находим параметр «Specify settings for optional component installation and component repair«

Group Policy - Specify settings for optional component installation and component repair

Включаем этот параметр и указываем путь к сетевому каталогу с компонентами FOD в поле «Alternate source file path«.

Этот параметр групповой политики фактически принесёт на клиентские системы параметр реестра «LocalSourcePath» в ключе HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesServicing

LocalSourcePath in Windows 10 Registry

После этого Offline-установка компонент FOD станет доступна и через графический интерфейс Windows без использования танцев с PowerShell

Install FOD in Windows 10 1903 in GUI

Однако при этом стоит помнить про ранее обозначенный нюанс с пустым списком компонент в случае использования графического интерфейса в связке с UAC. То есть выполнять установку компонент FOD через графический интерфейс окна «Параметры Windows» нужно только при интерактивном входе в систему из под административной учётной записи. Если по какой-то причине заходить в систему администратором интерактивно нет желания/возможности, то можно использовать выше описанный метод с установкой через PowerShell.

При этом опять же стоит отметить то, что приятным плюсом использования настройки пути к компонентам FOD через групповую политику станет и то, что теперь при использовании PowerShell не потребуется явно указывать путь для установки нужных компонент:

PowerShell install FOD in Windows 10

И вроде бы теперь всё здорово, результат достигнут, то есть Offline-установка работает и через графический интерфейс и через PowerShell. Но дивные «фичи» на этом не кончаются.

Обработка «LocalSourcePath» с несколькими путями

Ещё одной странной штукой, которая была обнаружена при работе с выше обозначенным параметром групповой политики, это то, что, судя по описанию в GPO, значение опции «Alternate source file path» может принимать несколько путей с разделителем в виде точки с запятой. Однако практические эксперименты с Windows 10 1903 показали, что при считывании значения «LocalSourcePath» из реестра система заглядывает только в первый по счёту каталог (указанный до точки с запятой), а остальные игнорирует. Такое поведение вполне вписывается в рамки обработки значения ключа -Source командлета Add-Windows​Capability, в описании которого есть соответствующее примечание

If you specify multiple Source arguments, the files are gathered from the first location where they are found and the rest of the locations are ignored.

Вариантом выхода из этой ситуации может быть отказ от использования классического параметра из административных шаблонов GPO и настройка пути в реестре средствами Group Policy Preferences (GPP) с использованием таргетинга по версии и разрядности клиентской операционной системы.

Group Policy Preferences for FOD Source in Local Network

По крайней мере именно на таком варианте мы и остановились, как на наиболее гибком и работоспособном.

Финиш

В итоге квест под названием «Выполнить Offline-установку RSAT в Windows 10 и не слететь с катушек» пройден, и теперь все административные пользователи, работающие на новой Windows 10 1903, могут устанавливать компоненты RSAT, как через графический интерфейс Windows, так и через PowerShell фактически в Offline-режиме и без дополнительных сложностей и манипуляций по аналогии с Online-клиентами.

PS: Никогда ещё установка RSAT в Windows у меня не была такой увлекательной и долгой. Чем больше смотрю на новые релизы Windows 10, тем становится интересней, во что же вся эта тенденция в итоге выльется. Коллега предположил, что в итоге получится, что-то вроде ранних выпусков Mandriva Linux – жутко красиво, но пользоваться этим без слёз невозможно Smile

The Remote Server Administration Tools (RSAT) allow you to remotely manage roles and features on Windows Server hosts from desktop computers. RSAT includes both graphical MMC snap-ins, command-line tools, and PowerShell modules. You can install RSAT on both desktop computers running Windows 10 or 11, as well as on the Windows Server hosts. In this article, we’ll show you how to install RSAT on Windows 10, Windows 11, and Windows Server 2022/2019/2022 online and offline through Feature on Demand from the Windows GUI and using the PowerShell console.

Contents:

  • Install RSAT on Windows 10 as Features on Demand (FoD)
  • Install Remote Server Administration Tools (RSAT) on Windows 10 via PowerShell
  • Installing RSAT Tools on Windows 11
  • How to Install Remote Server Administration Tools on Windows Server 2022,2019, and 2016?
  • RSAT Tools Installation Error 0x800f0954 on Windows 10
  • Deploying RSAT on Windows 10 Offline Using FoD ISO Image

Install RSAT on Windows 10 as Features on Demand (FoD)

Prior to Windows 10 build 1809, the Remote Server Administration Tools (RSAT) was installed as a separate MSU update that had to be manually downloaded from Microsoft servers and installed on computers. After each Windows 10 build upgrade, you had to manually download the new MSU package with the latest version of the RSAT package and install it on your computer. However, today the following message is displayed on the RSAT download page on the Microsoft website:

IMPORTANT: Starting with Windows 10 October 2018 Update, RSAT is included as a set of “Features on Demand” in Windows 10 itself.

The fact is that in current Windows 10 builds, the Remote Server Administration Tools package doesn’t need to be downloaded manually. Now the Remote Server Administration Tools installation package is built-in into the Windows 10 image and is installed as a separate feature  (Features on Demand). You can now install RSAT on Windows 10 from the Settings app.

The Windows 10 distro doesn’t contain RSAT installation files. To install the RSAT package, your computer needs direct Internet access. In addition, you can install RSAT in Professional and Enterprise editions in Windows 10, but not in Windows 10 Home.

To install RSAT in Windows 10, go to Settings -> Apps -> Manage Optional Features -> Add a feature.

install rsat via optonal features in windows 10

Select the required RSAT components and click Install.

win10: installing rsat features online

Some RSAT components may require a reboot to install.

The following server administration tools are available on Windows 10:

  • RSAT: Active Directory Domain Services and Lightweight Directory Services Tools
  • RSAT: BitLocker Drive Encryption Administration Utilities
  • RSAT: Active Directory Certificate Services Tools
  • RSAT: DHCP Server Tools (used to configure and manage DHCP server on Windows Server)
  • RSAT: DNS Server Tools
  • RSAT: Failover Clustering Tools
  • RSAT: File Services Tools
  • RSAT: Group Policy Management Tools
  • RSAT: IP Address Management (IPAM) Client
  • RSAT: Data Center Bridging LLDP Tools
  • RSAT: Network Controller Management Tools
  • RSAT: Network Load Balancing Tools
  • RSAT: Remote Access Management Tools
  • RSAT: Remote Desktop Services Tools
  • RSAT: Server Manager
  • RSAT: Shielded VM Tools
  • RSAT: Storage Migration Service Management Tools
  • RSAT: Storage Replica Module for Windows PowerShell
  • RSAT: System Insights Module for Windows PowerShell
  • RSAT: Volume Activation Tools (KMS server console)
  • RSAT: Windows Server Update Services Tools.

Once installed, the graphical mmc RSAT snap-ins are available in the Control Panel under Administrative Tools (Control PanelSystem and SecurityAdministrative Tools).

Install Remote Server Administration Tools (RSAT) on Windows 10 via PowerShell

You can install RSAT administration components using PowerShell. In this example, we will show you how to manage RSAT components in Windows 10 20H2.

Using the following command, you can list the RSAT components installed on your computer:

Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State

In our example, the DHCP and DNS management tools are installed (Installed), and all other RSAT modules are missing (NotPresent).

get-windowscapability: list installed rsat items with powershell

You can use the Add-WindowsCapability cmdlet to install RSAT features on Windows.

To install a specific RSAT tool, such as AD management tools (including the ADUC console and the Active Directory module for Windows PowerShell), run the command:

Add-WindowsCapability –online –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

To install the DNS management console and the PowerShell DNSServer module, run:

Add-WindowsCapability –online –Name Rsat.Dns.Tools~~~~0.0.1.0

Etc.

Add-WindowsCapability -Online -Name Rsat.FileServices.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.IPAM.Client.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.LLDP.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.NetworkController.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.CertificateServices.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.DHCP.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.RemoteAccess.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.ServerManager.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.Shielded.VM.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.StorageReplica.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.SystemInsights.Management.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.VolumeActivation.Tools~~~~0.0.1.0
Add-WindowsCapability -Online -Name Rsat.WSUS.Tools~~~~0.0.1.0

You can also install RSAT using the DISM utility. For example:

DISM.exe /Online /add-capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 /CapabilityName:Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0 /CapabilityName:Rsat.WSUS.Tools~~~~0.0.1.0

To install all the available RSAT tools at once, run:

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online

To install only the missing RSAT tools, run:

Get-WindowsCapability -Name RSAT* -Online | where State -EQ NotPresent | Add-WindowsCapability –Online

Add-WindowsCapability install rsat using powershell

Now make sure that all RSAT tools are installed (Installed state).

all rsat tools installed in windows 10 1809

After that, the installed RSAT tools will appear in the Manage Optional Features panel.

Installing RSAT Tools on Windows 11

You can install RSAT on Windows 11 through the Settings -> Apps -> Optional Features -> Add an optional feature (View features) panel.

Type RSAT in the search field and select the RSAT features to install.

install rsat on windows 11

Also, you can use PowerShell to install RSAT on Windows 11:

Add-WindowsCapability –online –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

windows11: add rsat tools using install-powershell add-windowscapability cmdlet

How to Install Remote Server Administration Tools on Windows Server 2022,2019, and 2016?

On Windows Server, you don’t need direct Internet access to install RSAT. RSAT features can be installed when the corresponding Windows Server roles or features are installed, or you can install them via Server Manager (Add Roles and Features -> Features -> Remote Server Administration Tools). All RSAT components are located into two sections: Feature Administration Tools and Role Administration Tools. Select the required options and click Next -> Next.

windows server: install remote server administration tools

You can use the Install-WindowsFeature PowerShell cmdlet to install RSAT on Windows Server 2022, 2019, and 2016:

Get-WindowsFeature| Where-Object {$_.name -like "*RSAT*"}| ft Name,Installstate

To install the selected RSAT component, specify its name. For example, let’s install the RDS Licensing Diagnostic console:

Install-WindowsFeature RSAT-RDS-Licensing-Diagnosis-UI

windows server 2022 and 2019: Install-WindowsFeature RSAT

You can access installed graphical RSAT consoles from Server Manager or through the Control Panel.

RSAT Tools Installation Error 0x800f0954 on Windows 10

If your Windows device is configured to receive updates from a local WSUS update server or SCCM SUP using Group Policy, you will receive error 0x800f0954 when installing RSAT via Add-WindowsCapability or DISM.

DISM add-capability rsat error 0x800f0954

To correctly install RSAT components in Windows 10, you can temporarily disable updating from the WSUS server through the registry (open the registry key HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU and change the UseWUServer to 0) and restart the Windows Update Service (wuauserv).

You can use the following PowerShell script:

$currentWU = Get-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU" -Name "UseWUServer" | select -ExpandProperty UseWUServer
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU" -Name "UseWUServer" -Value 0
Restart-Service wuauserv
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU" -Name "UseWUServer" -Value $currentWU
Restart-Service wuauserv -force

Or you can configure a new Group Policy parameter that allows you to configure installation options for additional Windows and Features On Demand components (including RSAT).

  1. Open the local GPO editor – gpedit.msc or use the domain Group Policy Management Console (gpmc.msc);
  2. Go to the GPO section Computer Configuration -> Administrative Templates -> System;
  3. Enable the policy Specify settings for optional component installation and component repair, and check the option Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS);windows 10 1903 policy Specify settings for optional component installation and component repair, and check the option Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)
  4. Save the changes and update Group Policy settings (gpupdate /force).

Installing RSAT via PowerShell or DISM should now be completed without error.

Deploying RSAT on Windows 10 Offline Using FoD ISO Image

If you are facing the “Add-WindowsCapability failed. Error code = 0x800f0954” error when installing RSAT, or you don’t see RSAT in the list of optional features (No features to install), most likely your computer is configured to receive updates from the internal WSUS/SCCM SUP server. Let’s consider how to install RSAT in Windows 10 1903 offline (in disconnected environments / corporate domain networks without direct access to the Internet).

windows10 fod offline: No features to install

For offline RSAT installation, you need to download the FoD ISO image for your Windows 10 build from your personal section on the Microsoft MSDN / Volume Licensing Service Center (VLSC). The image is named something like this: Windows 10 Features on Demand, version 1903.

For example, for Windows 10 1903 x64 you need to download the image file SW_DVD9_NTRL_Win_10_1903_64Bit_MultiLang_FOD.ISO (about 5 GB). Extract the iso image file to the shared network folder. You will get a set of *.cab files, including RSAT cab files.

Now, to install the RSAT components on the Windows 10 desktop, you need to specify the path to this FoD shared network folder. For example:

Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 -LimitAccess -Source \fs01Windows-FODWin101903x64

Add-WindowsCapability install rsat from shared folder FOD source

You can also specify the path to the directory with the FoD components using the Group Policy parameter discussed above. To do this, in the Alternative source file path you need to specify the UNC directory path to the FoD folder.

windows 10 1903 fod source path via gpo

Or you can set this parameter through the registry with a separate policy by specifying the directory path in the LocalSourcePath parameter (REG_Expand_SZ) under the registry key HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesServicing.
After that, users will be able to independently install RSAT components in Windows 10 through the graphical interface of Manage Optional Features.

If you cannot get the FoD image from VLSC, you can also download the update “WindowsTH-RSAT_WS2016-x64.msu”, extract the contents of MSU file and use DISM to install the KB2693643-x64.cab file (tested on Windows 10 2004):

expand -f:* c:WindowsTH-RSAT_WS2016-x64.msu C:RSAT
dism.exe /online /add-package /packagepath:C:RSATWindowsTH-KB2693643-x64.cab

Common Remote Server Administration Tools Installation Errors

  • 0x8024402c, 0x80072f8f – Windows cannot access the Microsoft Update service to download RSAT files. Check internet access or install components from local FoD image: Add-WindowsCapability -Online -Name Rsat.Dns.Tools~~~~0.0.1.0 -LimitAccess -Source E:RSAT
  • 0x800f081f – check the path to the directory with RSAT components specified in the –Source parameter;
  • 0x800f0950 – the error is similar to 0x800f0954;
  • 0x80070490 – check and repair your Windows image using DISM: DISM /Online /Cleanup-Image /RestoreHealth

As Microsoft is moving Windows Server closer to a GUI-less operating system is important to know how to remotely manage servers and common server applications such as Active Directory, DNS, DHCP, and so forth.

Microsoft created Remote Server Administration Tools (commonly referred to as RSAT) to enable you to do just that.

RSAT is a remote admin pack for Windows 10 [and below] that includes Server Manager, Microsoft Management Console (mmc) snap-ins, consoles, Windows PowerShell cmdlets, and command-line tools for managing roles and features that run on Windows Server 2019 and below.

The best-practices way of using RSAT for remote server administration is to open Server Manager, add your servers to the pool, and remotely manage them with the tools in the Tools menu.

But let’s not get ahead of ourselves, first we need to download RSAT for Windows 10 and install it.

This is super simple!

How to Download Windows 10 RSAT

  1. To download RSAT you just need to head over to https://www.microsoft.com/en-us/download/details.aspx?id=45520, select your language, and click the red Download button.
    Red download button for Windows 10 RSAT on the Microsoft website.
  2. You then need to choose the correct windows version that you’re installing to, in my case it’s 64-bit Windows 10 1803, and click Next
    Download options for Windows 10 RSAT installs.

This will begin the download of the WindowsTH-RSAT_WS_1803-x64.msu file to your default download directory.

  1. Now that you have your RSAT .msu file, you need to run it.
  2. A Windows Update Standalone Installer will open asking you to install KB2693643 (at the time of this writing). This is RSAT. Click Yes.
    Windows update installer prompt for installing RSAT on Windows 10.
  3. You’ll need to read the license terms and click I Accept.
    License terms that you must accept to install windows remote server admin tools on Windows 10.
  4. The install will proceed and eventually complete. You just need to click close.

How to Verify RSAT was Installed on Windows 10

  1. Open the start menu and scroll to Windows Administrative Tools and expand the folder.
    Windows 10 start menu list of icons for the remote server admin tools.

Don’t Leave Yet! Enable PSremoting

RSAT includes Windows PowerShell cmdlet modules that you can use to remotely manage roles and features on your Windows Servers. Before you can use these tools you need to enable Windows PowerShell Remote Management. To do this:

  1. Open Windows PowerShell as an Administrator.
  2. Run the command Enable-PSremoting
    Windows 10 PowerShell box ran as administrator showing the enable-psremoting command after installing RSAT.

Remote Management is enable by default on Windows Server 2019 so you only need to do this on your Windows 10 machine.

That’s it! Now you can open Server Manager on your Windows 10 workstation or virtual desktop, add some servers to the pool, and start managing them. Please note that you won’t find Server Manager in the start menu. You’ll have to access it from Control Panel -> Administrative Tools.

If you fancy yourself to be old-school, you can open the start menu and launch the various tools like Active Directory Users and Computers, DHCP, DNS, etc… from there.

Related: Hands on Review of the 10 Best Remote Desktop Connection Managers

Recommended for You: Solarwinds Hybrid Systems Monitoring Bundle

Know which applications are having issues in your environment before users complain? Know which systems are causing those problems or were recently changed by someone? How about which servers are about to have problems like running out of space or memory?

Automate collection of data and alerting on your local or cloud applications and servers with Solarwinds Hybrid Systems Bundle so you have these answers.

Get insight into Active Directory, DNS, DHCP, and your Virtual and Applications environments, both locally and cloud hosted, without needing to mess with complex templates or knowing a single line of code.

Понравилась статья? Поделить с друзьями:
  • Remote server administration tools for windows 7 x64 скачать
  • Remote server administration tools for windows 7 sp1
  • Remote server administration tools for windows 10 21h1
  • Remote server administration tools for windows 10 20h2
  • Remote scan для windows 7 скачать торрент