Install RSAT Feature on Demand on Windows 10 1809 Using PowerShell

By January 3, 2019October 30th, 2019No Comments

After updating Windows 10 computer on my computer from 1803 to 1809 (October Update), the installed RSAT tools (Remote Server Administration Tools) disappeared (this always happens when updating Win10 build). As always, I was going to download and install the latest version of RSAT from the Microsoft download page, but found the following message on the RSAT download page:

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

As it turned out, Microsoft decided that starting from Windows 10 1809 (17763), it is no longer necessary to download the latest version of RSAT from Microsoft. Now, the Remote Server Administration Tools package is built into the Windows 10 image and installed as a separate feature on demand. You can now install RSAT from the Settings app.

To install RSAT in Windows 10 1809, go to Settings -> Apps -> Manage Optional Features -> Add a feature. Here you can select and install specific tools from the RSAT package.

rsat feature as demand in windows 10

However, on another corporate computer running Windows 10 Enterprise, also updated to version 1809, the list of optional features was empty. The only way to install RSAT in this case is to use PowerShell. Consider how to install RSAT in Windows 10 1809 from the PowerShell command prompt.

Using the following command you can check whether RSAT components are installed on your computer:

Get-WindowsCapability -Name RSAT* -Online

Get-WindowsCapability -Name RSAT* -Online

You can view the status of installed RSAT components in a more convenient table:

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

As you can see, the RSAT components are not installed (NotPresent state).

RSAT components windows 10 october 2018 update

You can use the Add-WindowsCapacity cmdlet to install these Windows features.

To install a specific RSAT tool, such as AD management tools (including the ADUC console), run the command:

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

To install the DNS management console, run:

Add-WindowsCapability –online –Name “Rsat.Dns.Tools~~~~”

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

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

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

To install only disabled RSAT components, run:

Get-WindowsCapability -Online |? {$_.Name -like "*RSAT*" -and $_.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.

If installing RSAT you encounter an error Add-WindowsCapability failed. Error code = 0x800f0954, most likely your computer is configured to receive updates from the internal WSUS or SUP server.

To install RSAT components, you need to temporarily disable the update from the WSUS server in the registry (open the registry key HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU and change the UseWUServer to 0) and restart the Update Service.

You can use the following powershell script to automate this process:

$currentWU = Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" | select -ExpandProperty UseWUServer
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value 0
Restart-Service wuauserv
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value $currentWU
Restart-Service wuauserv

Leave a Reply