Can you still monitor your Windows 11 with SNMP

Microsoft announced the general availability of Windows 11 on the 5th of October. If you are coming from the network monitoring world, you are probably asking yourself if you can still use SNMP to monitor the performance of your Windows 11 machines?! I got you covered in this article.

October 5th, 2021. Windows 11 is now generally available. It delivers modern and fresh design, it utilizes the power of the cloud and Microsoft 365, Microsoft Teams comes integrated and delivers the best Windows ever for gaming. If you are coming from the network monitoring world, you are probably asking yourself if you can still monitor your Windows 11 machines using SNMP.

The short answer is: “Yes, you can”. But, how? Can you still install it via Control Panel? Does it include SNMP?

For the sake of sharing, a new Windows 11 layout

Microsoft deprecated SNMP from Control Panel > Add Program and Features applet due to security reasons.

Install SNMP via Settings

However, in Windows 11 23H2 (other versions were not tested in this blog article, but you can still try them), you can still install it via Settings.

  1. Hold the Windows logo and press I to open Settings.
  2. Click on Systems on the left side, and then click Optional features.
Windows 11 Optional features
  1. Click on View features.
Add new features
  1. Enter SNMP, and then select SNMP and WMI SNMP Provider, and click Next.
Select SNMP and WMI SNMP Provider
  1. Click Add.
  2. Wait until SNMP and WMI SNMP Provider are installed.
Recent actions related to the installation of SNMP
  1. Right click on Start Menu > Run > type services.msc to open Services applet and then navigate to installed SNMP Service > Right click > Properties.
  2. Click on the Security tab to configure the community string and ACL.
  3. Click on Add… under Community to create a community string. In my case, the community string is called prtg.
  4. Select Accept SNMP packets from these hosts and click Add… to add the IP of your NMS (Network Monitoring Solution). In my case, the IP is 192.168.88.245 which is my PRTG Core Server. This means the Windows machine will only accept SNMP communication coming and going to my NMS.
Configure SNMP
  1. Click Apply and OK and you are done.

Install SNMP via Windows Terminal

If that doesn’t work, the alternative that works on every Windows version is using Windows Terminal (formerly PowerShell).

In order to install the SNMP using Windows Terminal, follow the instructions below.

  1. Right click on Start Menu and select Windows Terminal (Admin). It was called PowerShell in Windows 10.
  2. Type the following command and press Enter.
Add-WindowsCapability -Online -Name “SNMP.Client~~~~0.0.1.0“
Enable SNMP via PowerShell
  1. Right click on Start Menu > Run > type services.msc to open Services applet and then navigate to installed SNMP Service > Right click > Properties.
  2. Click on the Security tab to configure the community string and ACL.
  3. Click on Add… under Community to create a community string. In my case, the community string is called prtg.
  4. Select Accept SNMP packets from these hosts and click Add… to add the IP of your NMS (Network Monitoring Solution). In my case, the IP is 192.168.88.245 which is my PRTG Core Server. This means the Windows machine will only accept SNMP communication coming and going to my NMS.
Configure SNMP
  1. Click Apply and OK and you are done.

How to monitor Windows 11 using PRTG

SNMP is ready and you can monitor your Windows 11 machine by using SNMP, or SNMP Traps (requires additional configuration). In the case below, I do monitor different metrics (uptime, CPU load, RAM, HDD usage, network traffic, and DNS service) on my Windows 11 machine using PRTG.

Monitoring Windows 11 with PRTG and SNMP

What if you need to perform secured Windows monitoring using SNMPv3?

Microsoft doesn’t natively support SNMP v3 (encryption, authentication). As it isn’t possible to achieve it due to the lack of native SNMP v3 functionalities in Windows and Windows Server, the alternative is to install and use third-party SNMP v3 agents. I got you covered with an article that explains all the steps How to achieve SNMPv3 compliance in Windows and Windows Server.

If you think this article is useful and it can be useful to other IT folks, please feel free to share it via the social media buttons below. In case of any questions, feel free to comment or contact me.

Comments (8):

  1. Christian

    September 9, 2021 at 07:53

    How can I install the SNMP service on devices wich have no internett access (e.g. in manufacturing environment?

    Reply
    • Jasmin Kahriman

      September 9, 2021 at 19:12

      Hi Christian – are you referring to Windows machines or devices in general?

      Reply
  2. Chris P

    September 10, 2021 at 14:29

    Given that Microsoft is clearly not interested in native support of SNMPv3 and is moving away from WMI in favour of the PSRemoting based CIM PowerShell cmdlets, is there native support in PRTG for using those more modern options without building custom PowerShell sensors? One of the key features of PRTG that I find particularly useful is that it’s agentless, if we have to install an agent anyway that advantage goes away.

    Reply
    • Jasmin Kahriman

      September 22, 2021 at 20:02

      Hi, Chris. Currently, that is only possible to achieve using PowerShell sensors.

      Reply
  3. Diego Signoretti

    August 3, 2023 at 17:02

    do you know which OID to monitor to get CPU temperature in a windows pc?

    Reply
    • Jasmin Kahriman

      August 22, 2023 at 09:01

      Hey Diego – please try with this one 1.3.6.1.4.1.2021.10.1.3.1.

      Reply
  4. Rodney Bell

    June 13, 2024 at 19:06

    FYI, you can still install SNMP in Win 11 GUI. I’m on version 23H2 and found it under Settings>System>Optional Features>Add An Optional Feature.

    Reply
    • Jasmin Kahriman

      September 24, 2024 at 23:40

      Hi Rodney – thank you for your feedback. I updated the blog article.

      Reply

Leave a Reply

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

Share via
Copy link