Deploy RSAT (Remote Server Administration Tools) for Windows 10 v1809 using SCCM (System Center Configuration Manager) and Powershell

Introduction

Continuing on the Windows 10 1809 journey from wednesday! As something completely new, RSAT (Remote Server Administration Tools) is now included as a set of “Features on Demand” in Windows 10 itself and is no longer something you download and install separately.

You can obviously install the tools manually in Windows (this is done from the settings menu and from there select to Manage Optional Features), but as always, we don’t like to do stuff manually. Therefore I created a complete Powershell script which can be used in SCCM (System Center Configuration Manager) in an unattended and automated deployment.

Powershell

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-RSATv1809.ps1 -All (-All is installing ALL the features within the RSAT bundle)
  • .\Install-RSATv1809.ps1 -Basic (-Basic is only installing AD DS, DHCP, DNS, Group Policy Management and Server Manager)
  • .\Install-RSATv1809.ps1 -ServerManager (-ServerManager is only installing the Server Manager)
  • .\Install-RSATv1809.ps1 -Uninstall (-Uninstall removes all RSAT features again)

Download

Download the complete script on the TechNet Gallery using below link.

>> https://gallery.technet.microsoft.com/Install-RSAT-for-Windows-75f5f92f <<

Configuration Manager

Put the script to use in SCCM in either a package or an application. (I’m assuming everyone knows how to create either a package or an application) 🙂

Installation program: powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\Install-RSATv1809.ps1 -Basic

Uninstall program: powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\Install-RSATv1809.ps1 -Uninstall

The script is creating registry keys in HKLM for you to use as detection methodFind below the snippet of the registry keys being created. Modify directly in the script to suit your own needs.

For your convenience, I have included a few snippets of the application in my environment. See below.

And once the application is deployed, you will have something similar as my example below.

Finally, once installed, you will find all your favorite tools in the start menu:

ENJOY 🙂

1 thought on “Deploy RSAT (Remote Server Administration Tools) for Windows 10 v1809 using SCCM (System Center Configuration Manager) and Powershell”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.