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.
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
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).
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~~~~0.0.1.0”
To install the DNS management console, 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
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
Now make sure that all RSAT tools are installed (Installed state):
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