Have a look through the thread https://github.com/MicrosoftDocs/windowsserverdocs/issues/2074
The thread started in 2019 and runs through 2023. There are suggested changes to GPO. I don't know if any are relevant to your situation, though.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have a monitoring application that requires the use of SNMP, and we are in the process of attempting to install it on our corporate workstations. We use WSUS internally to provide updates to our Windows 10 machines, which are domain-joined. As part of our Group Policy deployment for WSUS we have the GP set to tell Windows to look to Windows Update for Features.
In attempting to use PowerShell to install SNMP, we continually receive an error.
Access is denied.
+ CategoryInfo : NotSpecified: (:) [Add-WindowsCapability], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand
Using the syntax Add-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0" logged on as an administrator,
This occurs using PowerShell locally or remotely. I have read several posts that point to Windows Update Services as a potential issue; as I stated above, the clients all have the GP applied that tells them to look to Windows Update (Online) for features. I verified this by checking the registry. I have run SFC and DISM to check the health of the Clients and all show no corruption.
Have a look through the thread https://github.com/MicrosoftDocs/windowsserverdocs/issues/2074
The thread started in 2019 and runs through 2023. There are suggested changes to GPO. I don't know if any are relevant to your situation, though.