In this tutorial, I will explain how to install Remote Server Administration Tools (RSAT) in Windows 11 using PowerShell. RSAT is essential for IT administrators who need to manage Windows Server roles and features from a remote computer. This tutorial will walk you through the process of efficiently setting up RSAT on your Windows 11 machine.
Note: You should have administrative privileges on the Windows 11 machine.
Install RSAT Using PowerShell in Windows
Now, let me show you step by step how to install RSAT in Windows 11 using PowerShell.
Step 1: Open PowerShell with Administrative Privileges
First, you need to open PowerShell with administrative privileges. Here’s how:
- Click on the Start menu.
- Type
PowerShellin the search bar. - Right-click on Windows PowerShell and select Run as administrator.
Step 2: Check Available RSAT Features
To see a list of available RSAT features, use the following PowerShell command:
Get-WindowsCapability -Name RSAT* -OnlineThis command will list all RSAT components that can be installed. You will see output similar to this:
Name : Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
State : NotPresent
...You can see the exact output in the screenshot below:

Check out Restart a Windows Service Using PowerShell
Step 3: Install Specific RSAT Components
You can install specific RSAT components based on your needs. For example, to install the Active Directory Domain Services and Lightweight Directory Tools, use the command:
Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0Step 4: Verify Installation
After installation, verify that the RSAT component is installed by running the Get-WindowsCapability command again:
Get-WindowsCapability -Name RSAT* -Online | Where-Object State -eq 'Installed'You should see the installed components listed with the state Installed.
Read Get Windows Update History Using PowerShell
Common Issues and Troubleshooting
Now, let me show you some troubleshooting steps and common issues you might face while installing RSAT in Windows 11.
Issue 1: RSAT Component Not Found
Sometimes, you might encounter an issue where the RSAT component is not found. This can happen if the Windows update catalog is not up-to-date. To resolve this, ensure your Windows 11 machine is fully updated:
- Open Settings.
- Go to Windows Update.
- Click on Check for updates.
Issue 2: Installation Fails
If the installation fails, try running PowerShell as an administrator again and ensure all pending Windows updates are installed. Additionally, you can use the following command to reset the Windows Update components:
Reset-WindowsUpdate.ps1This script resets the Windows Update components and might resolve the issue.
Check out Install Git on Windows Using PowerShell
Automate RSAT Installation with a Script
Automating the RSAT installation process can save significant time for IT administrators managing multiple machines. Here’s a sample PowerShell script to install multiple RSAT components:
$RSATTools = @(
"Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0",
"Rsat.Dns.Tools~~~~0.0.1.0",
"Rsat.FileServices.Tools~~~~0.0.1.0"
)
foreach ($tool in $RSATTools) {
Add-WindowsCapability -Online -Name $tool
}
# Verify installation
Get-WindowsCapability -Name RSAT* -Online | Where-Object State -eq 'Installed'Conclusion
I explained how to install RSAT on Windows 11 using PowerShell in this tutorial. Do let me know in the comment below if you face any issues.
You may also like:
Bijay Kumar is an esteemed author and the mind behind PowerShellFAQs.com, where he shares his extensive knowledge and expertise in PowerShell, with a particular focus on SharePoint projects. Recognized for his contributions to the tech community, Bijay has been honored with the prestigious Microsoft MVP award. With over 15 years of experience in the software industry, he has a rich professional background, having worked with industry giants such as HP and TCS. His insights and guidance have made him a respected figure in the world of software development and administration. Read more.