Windows SNMP Installed but SNMP Service Is Missing (Windows 10/11) — Fix

Last updated: 2026-01-02

If you ran Add-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0" but Get-Service SNMP returns service not found, follow this playbook. Microsoft documents installing both SNMP and the WMI SNMP Provider and how to verify the capability state. Microsoft Learn


Goal

Restore the SNMP components so the SNMP service is present and can be configured safely.

Assumptions

  • You are running PowerShell as Administrator

  • You can reboot if required

  • You understand SNMP security implications (SNMP v1/v2c is plaintext community-based)


1) Confirm capability state (don’t guess)

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

Expected:

  • State : Installed for the features you want. Microsoft uses these exact capability names. Microsoft Learn


2) Install BOTH features (official fix path)

Even if you only need SNMP, install the pair first to avoid partial states.

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

Then re-check:

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

Microsoft explicitly recommends this pattern and verification with Get-WindowsCapability. Microsoft Learn


3) Check services (SNMP + Trap)

Get-Service -Name SNMP,SNMPTRAP -ErrorAction SilentlyContinue | Format-Table Name,Status,StartType

If services appear:

  • Set SNMP to Automatic and start:

Set-Service -Name SNMP -StartupType Automatic
Start-Service -Name SNMP

4) If still missing: repair component store (SAFE)

Run DISM + SFC, then re-run step 2.

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Reboot (recommended), then repeat step 2 and step 3.


5) Check DISM logs (when install “says ok” but service is absent)

Look at:

  • C:\Windows\Logs\DISM\dism.log

You’re looking for capability install errors or staging issues.


6) Minimal security baseline (do NOT expose SNMP broadly)

Recommended:

  • Allow SNMP only from your monitoring server IP (LAN only)

  • Block SNMP from WAN

Example: allow UDP 161 inbound only from your monitoring server:

New-NetFirewallRule -DisplayName "SNMP Inbound (Allow Monitoring Server Only)" `
-Direction Inbound -Protocol UDP -LocalPort 161 -Action Allow -RemoteAddress 192.168.111.130

Ajustează IP-ul la serverul tău de monitorizare.


Verification

  1. Capability state:

Get-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0"
  1. Service exists and is running:

Get-Service SNMP | Format-List Name,Status,StartType
  1. Port listening (optional):

Get-NetUDPEndpoint -LocalPort 161

Rollback (clean removal)

If you decide not to use SNMP:

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

References (official)

  • Microsoft Learn: “Can’t install the SNMP and WMI SNMP Provider features” (capability names + verify steps) Microsoft Learn


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *