Starting with Windows 10 October 2018 Update, RSAT is included as a set of “Features on Demand” in Windows 10, itself. RSAT lets IT admins manage Windows Server roles and features from a Windows 10 PC.
Step 1 – PowerShell
Open PowerShell as Admin
Step 2 – Return Features
Get-WindowsCapability -Online -Name "RSAT*"
Step 3 – Install Feature
Single Feature
Add-WindowsCapability -Online -Name FeatureName
Example for AD Users and Computers
Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
All Features
Get-WindowsCapability -Online -Name "RSAT*" | Add-WindowsCapability -Online
Notes
Manually install RSAT using W10 GUI
Settings > Apps > Manage optional features > Add a feature > Select RSAT package
Example: RSAT: Active Directory Domain Services and Lightweight Directory Services Tools
Installer script in my vault (use this if you have any problems installing RSAT)
Dealing with RSAT Error
Error 0x800f0954
HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU\
Value: UseWUServer
Data: 0
Restart Windows Update Service
Or, just use this code
$regPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\" $regVal = "UseWUServer" $regData = "0" $winService = "wuauserv" $resetVal = Get-ItemPropertyValue -Name $regVal -Path $regPath Set-ItemProperty -Path $regPath -Name $regVal -Value $regData -Force | Out-Null Restart-Service -InputObject $winService -Force Get-WindowsCapability -Online | ? Name -like 'RSAT*'| where {$_.State -eq 'NotPresent'} | foreach {Add-WindowsCapability -Online -Name $_.Name} Set-ItemProperty -Path $regPath -Name $regVal -Value $resetVal -Force | Out-Null Restart-Service -InputObject $winService -Force
tags: RSAT install, MrNetTek