One of the most common things I get asked by teams (Active Directory, Server Administration, Client Administration, Application Administration and others) that work with me is if I can embed the installer of RSAT (Remote Server Administration Tools) since it is needed for their job profiles. At that point I would go to Microsoft and download the application from the following link.
https://www.microsoft.com/en-ca/download/details.aspx?id=45520
This would than be followed by me packaging it in SCCM and making it available to these specific teams. But here’s the caveat, since we have an average of 2 releases of Windows 10 a year, that means I need to package 8 times over a period of 4 years(average age of the legacy Windows OS’s) which can be a hassle.
Finally, starting Windows 10 1809, you can invoke this into the OSD process for inplace upgrades without having to package the applications separately.
Installing RSAT via Powershell
To get all features you can use the following Powershell command:
DISM.exe /Online /Get-Capabilities
Below is a list of the capabilities that are included within the full RSAT feature set:
- Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
- Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0
- Rsat.CertificateServices.Tools~~~~0.0.1.0
- Rsat.DHCP.Tools~~~~0.0.1.0
- Rsat.Dns.Tools~~~~0.0.1.0
- Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0
- Rsat.FileServices.Tools~~~~0.0.1.0
- Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0
- Rsat.IPAM.Client.Tools~~~~0.0.1.0
- Rsat.LLDP.Tools~~~~0.0.1.0
- Rsat.NetworkController.Tools~~~~0.0.1.0
- Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0
- Rsat.RemoteAccess.Management.Tools~~~~0.0.1.0
- Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0
- Rsat.ServerManager.Tools~~~~0.0.1.0
- Rsat.Shielded.VM.Tools~~~~0.0.1.0
- Rsat.StorageReplica.Tools~~~~0.0.1.0
- Rsat.VolumeActivation.Tools~~~~0.0.1.0
- Rsat.WSUS.Tools~~~~0.0.1.0
- Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0
- Rsat.SystemInsights.Management.Tools~~~~0.0.1.0
Note: Please note the command will also display additional capabilities.
If we needed just the ADUC or ADDS tool specifically, you could use:
DISM /online /add-capability /capabilityname:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Once the tools are installed, you should see a the message that “The operation was completed successfully.”
Uninstalling RSAT via Powershell
Now if you needed to remove the tool, you would use:
DISM /online /remove-capability /capabilityname:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Once the tools are uninstalled, you should see a the message that “The operation was completed successfully.”
It may ask you for a reboot but you can defer the reboot till later by selecting N. I would highly recommend rebooting vs postponing it.
Uninstalling RSAT via Windows Setting
The other way of uninstalling it using Start>Settings>Apps
Once in Apps & Features, select Manage optional features.
Once the tool is selected in the screenshot below, you can uninstall by selecting the uninstall button.