RSAT (Remote Server Administration Tools) in Windows 10 v1809 and v1903 are no longer a downloadable add-on to Windows. Instead its included as a set of "Features on Demand" directly in Windows.
RSAT (Remote Server Administration Tools) in Windows 10 v1809, v1903 and v1909 are no longer a downloadable add-on to Windows. Instead its included as a set of "Features on Demand" directly in Windows.
The script will only run on Windows 10 v1809 or v1903 or v1909.
The script requires administrative rights as well as access to the Internet (RSAT is installed through Microsoft Update).
The script is built around Get-WindowsCapability, Add-WindowsCapability and Remove-WindowsCapability.
The script comes with 4 options:
- .\Install-RSATv1809v1903v1909.ps1 -All (-All is installing ALL the features within the RSAT bundle)
- .\Install-RSATv1809v1903v1909.ps1 -Basic (-Basic is only installing AD DS, DHCP, DNS, Group Policy Management and Server Manager)
- .\Install-RSATv1809v1903v1909.ps1 -ServerManager (-ServerManager is only installing the Server Manager)
- .\Install-RSATv1809v1903v1909.ps1 -Uninstall (-Uninstall removes all RSAT features again)
Source: imab.dk
Modify the script if you have FOD offline available:
[CmdletBinding()]
param(
[parameter(Mandatory=$false, ParameterSetName = “Install”)]
[ValidateNotNullOrEmpty()]
[switch]$All,
[parameter(Mandatory=$false, ParameterSetName = “Install”)]
[ValidateNotNullOrEmpty()]
[switch]$Basic,
[parameter(Mandatory=$false, ParameterSetName = “Install”)]
[ValidateNotNullOrEmpty()]
[switch]$ServerManager,
[Parameter(ParameterSetName = “Install”, Mandatory=$true)]
[ValidateNotNullOrEmpty()]
[string]$FoDMediaPath,
[parameter(Mandatory=$false, ParameterSetName=”Default”)]
[ValidateNotNullOrEmpty()]
[switch]$Uninstall
)
and the add part:
Add-WindowsCapability -Online -Name $RsatItem -Source $FoDMediaPath -LimitAccess
Through set parameter the param FoDMediaPath is only needed within the installation switch
Install-RSATv1809v1903.ps1 -FoDMediaPath [-All] [-Basic] [-ServerManager] []
Install-RSATv1809v1903.ps1 [-Uninstall] []