Install RSAT tools on Win11

24th April 2025

Windows Remote Server Administration Tools needs to be installed using PowerShell in Windows 11

Get-WindowsCapability -Name RSAT* -Online | Where-Object State -eq "NotPresent" | Add-WindowsCapability -Online

source https://www.reddit.com/r/SCCM/comments/19ffhej/is_installing_rsat_still_broken/

ignore the rest of this, just my process

i dunno if all these steps are needed, Your mileage may vary

Set-ExecutionPolicy Unrestricted -Scope CurrentUser

DISM installs tools one at a time

DISM.exe /Online /add-capability /CapabilityName:Rsat.*

OR

Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” -Name “UseWUServer” -Value 0

$UseWUServer = Get-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” -Name “UseWUServer” | Select-Object -ExpandProperty UseWUServer

Restart-Service -Name wuauserv -Force

Add-WindowsCapability –online –Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” -Name “UseWUServer” -Value $UseWUServer

Restart-Service “Windows Update”

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