Forum Discussion
ammarjaved
Apr 01, 2022Iron Contributor
How to Install or Uninstall RSAT in Windows 11
Remote Server Administration Tools (RSAT) is an essential tool for Windows administrators. This tool is designed to help administrators manage and maintain the servers from a remote locati...
_jorel
Jul 16, 2023Brass Contributor
aswan1380, this can be done similar to the method used to install the RSAT tools.
Again, open PowerShell as admin, then run the following code, which will remove all RSAT tools that are currently installed.
# Get RSAT items that are currently installed:
$remove = Get-WindowsCapability -Online |
Where-Object {$_.Name -like "RSAT*" -AND $_.State -eq "Installed"}
# Remove the RSAT items that meet the filter:
foreach ($item in $remove) {
try {
Remove-WindowsCapability -Online -Name $item.Name
}
catch [System.Exception] {
Write-Warning -Message $_.Exception.Message
}
}