Installing SNMP On Windows 10 With PowerShell Failing

Anonymous
2024-02-29T22:21:22+00:00

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.

Windows Windows Client for IT Pros Devices and deployment Install Windows updates, features, or roles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-01T06:57:27+00:00

    Hi Stephen Reinhard,

    thank you for posting on the Microsoft Community Forums.

    Based on the description, I understand that your issue is related to WSUS.

    Since there are no engineers dedicated to WSUS in this forum. In order to be able to deal with your questions quickly and efficiently, I recommend that you repost your questions in the Q&A forum, where there will be a dedicated engineer to provide you with a professional and effective response.

    Here is a link to the Q&A forum: https://learn.microsoft.com/en-us/answers/questions/

    Have a nice day.

    Best regards,

    Lei

    0 comments No comments
  2. Anonymous
    2024-03-16T12:35:48+00:00

    try below Add-WindowsCapability -Online -Name SNMP.Client~~~~0.0.1.0

    0 comments No comments