I have patiently and faithfully reinstalled Remote Server Administration tools (RSAT) on my Windows 10 (pro) Workstation after each feature update (and Early Release build), but now it's partially broken and I'd like to do a clean reinstall, but:
c:\> WUSA /uninstall /kb:2693643finds the update and starts uninstalling, but fails at the end with Access Denied. Same error in Safe Mode with no networking.
This is Windows 10 Pro Ver 1709, RSAT KB2693643.
I'm down this road because e.g, DHCP works, but DNS does not... I could probably cobble something together with files from another machine, but I'd have more confidence in a tool I depend on every day if I could do a normal install.
Can anyone suggest a hack that would make RSAT appear uninstalled so the regular installer would try to work?
WUSA does not have an appropriate option.
If you're using Microsoft Windows Server 2019, specifically build 1809 or later, then you need to install RSAT through Features On Demand. Some people report enabling WSUS helps, too, although it's not 100% clear why (it might depend on whether your organization uses SCCM vs. Windows Update repository for updates).
Note that scripts I found on TechNet Gallery, as well as guides published by Packt Publishing's Windows Server 2019 Automation with PowerShell Cookbook 3rd Ed, do not seem to actually work if you use SCCM like we do. Notably,
Get-WindowsCapability -Online only returns the set of capabilities your SCCM server allows clients to see, so these tools erroneously say that RSAT is installed, rather than verifying they're installed.
I have the same problem. Check out this workaround https://techcommunity.microsoft.com/t5/Windows-Server-Insiders/RSAT-missing-DNS-Server-Tools/td-p/113280
This allowed me to uninstall it even though it said it was missing files:
1.Run CMD as Admin.
2.Find the name of the package by typing the following, and then hitting Enter. dism /online /Get-Packages In the results, look for the package name that contains the text RemoteServerAdministrationTools.
3.Type the following, and then press Enter to remove the package (in Name, type the name you got in step 2) dism /online /Remove-Package /PackageName:
dism /online /Remove-Package /PackageName:Microsoft-Windows-RemoteServerAdministrationTools-Client-Package-TopLevel~31bf3856ad364e35~amd64~~10.0.10585.0 dism /online /Remove-Package /PackageName:Microsoft-Windows-RemoteServerAdministrationTools-Client-Package-TopLevel~31bf3856ad364e35~amd64~~10.0.16299.2
User contributions licensed under CC BY-SA 3.0