Edit

Share via


Can't add the SNMP and WMI SNMP Provider features in Windows 10 or Windows 11

This article provides workarounds to add the Simple Network Management Protocol (SNMP) and Windows Management Instrumentation (WMI) SNMP Provider features in Windows 10 or Windows 11.

Error when adding the SNMP and WMI SNMP Provider features

You try to add the SNMP and WMI SNMP Provider features in Windows 10 or Windows 11 by using the Deployment Image Servicing and Management (DISM.exe) tool as follows:

dism /online /enable-feature /featureName:SNMP /featureName:WMISnmpProvider

Then, you receive this error message:

Error: 0x800f080c
Feature name SNMP is unknown.
Feature name WMISnmpProvider is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.

Important

This issue occurs because the SNMP and WMI SNMP Provider features are deprecated.

To work around this issue, use one of the following methods.

Add the SNMP and WMI SNMP Provider features from the Settings page

  1. Go to Start, select Settings > System.

    Note

    In versions older than Windows 10, version 22H2, go to Settings > Apps > Apps & features instead.

  2. Select Optional features > Add a feature.

    • To add the SNMP feature, select Simple Network Management Protocol (SNMP) > Add.
    • To add the WMI SNMP Provider feature, select WMI SNMP Provider > Add.

To verify the added state, select See optional features history.

Add the SNMP and WMI SNMP Provider features by using Windows PowerShell

  1. Start Windows PowerShell as an administrator.

  2. Run the following Add-WindowsCapability cmdlets to add the SNMP and WMI SNMP Provider features.

    Add-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0"
    
    Add-WindowsCapability -Online -Name "WMI-SNMP-Provider.Client~~~~0.0.1.0"
    

To verify the added state, run the following Get-WindowsCapability cmdlets.

Get-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0"
Get-WindowsCapability -Online -Name "WMI-SNMP-Provider.Client~~~~0.0.1.0"

The state is Installed if these features are added correctly.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for User Experience issues.