Install RSAT Tools with PowerShell (Windows 10/11)

Run PowerShell as administrator.

See what's available and installed:

Get-WindowsCapability -Name RSAT* -Online | Select-Object Name, State

Install everything:

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online

Only what you need:

Add-WindowsCapability -Online -Name "Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0"
Add-WindowsCapability -Online -Name "Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0"
Add-WindowsCapability -Online -Name "Rsat.Dns.Tools~~~~0.0.1.0"

Fails with 0x800f0954? The PC gets updates from WSUS. Enable the GPO Computer Configuration > Administrative Templates > System > Specify settings for optional component installation and component repair and tick Download repair content and optional features directly from Windows Update.

Written by Daniel Ruiz Peláez, Systems & Infrastructure Engineer (Linux, VMware, Proxmox, Active Directory, networking and security). These are notes from real problems I have solved.

← Back to all posts