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.
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:
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.