Couldnt install RSAT today on Windows 10 1809, the command I was running was:
1 |
Get-WindowsCapability -Online -Name RSAT* | Add-WindowsCapability -Online |
The error I was getting was:
1 |
Add-WindowsCapability : Add-WindowsCapability failed. Error code = 0x800f0954 |
So to fix it I did the following:
Ran “gpedit.msc”, then looked for:
Computer Configuration\Administrative Templates\System\Specify settings for optional component installation and component repair
My local policy seems to have defaulted to “Disabled” –
Changed it to “Enabled” and selecting the checkbox labeled “Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)”
Tried again and bobs your uncle.
Another way could of been:
1 2 3 4 |
Set-ItemProperty "REGISTRY::HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" UseWUserver -value 0 Get-Service wuauserv | Restart-Service Get-WindowsCapability -Online -Name RSAT* | Add-WindowsCapability -Online Set-ItemProperty "REGISTRY::HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" UseWUserver -value 1 |
Leave a Reply