Looking for instructions to install and configure SNMP service on Windows 10? Head to our article today to find out the answer! Let’s scroll down to read!
Nowadays, the internet has become an integral part of our lives. We use the internet every day and at any time. However, we don’t know that the contribution of SNMP service on Windows 10 matters as well. In today’s article, firstly, we will tell you more about this service. Next, we will guide you through the steps on how to install and configure the program on Windows. Let’s kick right in!
What IS SNMP Service on Windows, And How It Works?
So what is Microsoft SNMP services, and how does it work? Head to our first part today to find out the answer!
SNMP was created in the 1980s, a period that saw the rapid expansion of the internet. It is an abbreviation for Simple Network Management Protocol, and it is mostly applied for communications purposes. Nowadays, this is one of the most popular protocols to monitor networks.
How Does SNMP Windows Work?
We use the internet every day for activities like data transferring, downloading, performing, browsing, etc. SNMP is involved in these processes, and it pinpoints the detailed information such as bytes, transmitted errors, connecting speed between devices, or even the number of hits a web server gets.
The working mechanism of SNMP is sending messages to devices that respond with it within the system. These messages are called Get-Requests. And based on them, network administrators can keep track of the data with ease.
Depending on the amount of network activity, SNMP is divided into 3 parties: managed devices, network management station, and agent.
- Managed devices: These are devices involved in the system and are managed by the administrator. It is set up by SNMP nodes which help them to interface with other network components.
- Network management station: This is called a base that is used by SNMP managers and agents. This part is compared as a fuel tank for network management as it offers processing functions and memory.
- Agent: Agents are middle parties that are connected with local devices to collect, signal, store, or transmit data.
These three components interact with each other to create the network requester.
How To Install And Configure SNMP On Windows 10-Detailed Instruction
Below are steps on how to install and configure this service on your computer. Let’s have a closer look!
Firstly, let’s check whether the SNMP service is available in your operating system by applying the order statement: Get-Service -Name snmp*. In most cases, the answer is “not yet”.
Therefore, you can follow the link to install it: Control Panel > Programs and Features > Turn Windows features on or off. In the Windows Features list, choose the Simple Network Management Protocol (SNMP) option, and under that, select the WMI SNMP Provider.
The WMI SNMP will give users the right to get into the SNMP through the Windows Management Instrumentation interface.
If you want to set up the SNMP service by applying PowerShell,follow the code line:
Enable-WindowsOptionalFeature -online -FeatureName SNMP
However, be noted that the above command only allows the installation on the Windows 10 1803 builds or previous versions. After Windows 10 1809, users have to change the code line in advance.
Enable SNMP Windows 10
The fact is, Microsoft tends to delete the SNMP service from the upcoming Windows due to related security issues. And the replacement service suggested is the Common Information Model (CIM).
On our Windows 10, the SNMP service might not have occurred. In this case,users should install the service as a Feature on Demand (FoD). Also, you can try to set up the SNMP service with no internet connection by applying the FoD ISO image. Otherwise, users can just set up the program from the servers of Microsoft. It is simple! All you have to do is open the PowerShell console before running the order statement: Add-WindowsCapability -Online -Name “SNMP.Client~~~~0.0.1.0”.
If you want to utilize DISM to set up the SNMP service, run the order statement:
DISM /online /add-capability /capabilityname:SNMP.Client~~~~0.0.1.0
Next, verify the service you just set up:
Get-WindowsCapability -Online -Name “SNMP*”
And to disable this service, you can apply the PowerShell code line:
Remove-WindowsCapability -Online -Name “SNMP.Client~~~~0.0.1.0”
Another way of setting up Microsoft SNMP service windows 10 is using optional features graphical interface. First, you have to follow the route Settings > Apps > Apps & Features > Manage optional features > Add Feature. Next, choose the list of features: Simple Network Management Protocol (SNMP) and WMI SNMP Provider.
Then, this service is about to occur in the services.msc console. Sometimes, users will receive the “Add-WindowsCapability failed error. Error code = 0x800f0954”. This means there is not an update from Windows but in the internal system of the WSUS server. In order to receive the updates signal from the servers of Microsoft, users will have to get across the WSUS server and follow the code line: reg add “HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdateAU” /v UseWUServer /t REG_DWORD /d 0 /f.
The next step is to restart the service that you updated:
netshh winhttp reset proxy
net stop wuauserv
net start wuauserv
In case you want to set up the SNMP service and the Add-WindowsCapability order, follow the code lines:
reg add “HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdateAU” /v UseWUServer /t REG_DWORD /d 1 /f.
Finally, restart the newly updated service.
Configuring SNMP On Windows 10
Here, we would like to guide you on how to configure SNMP service on a single computer and multiple ones.
Configuration SNMP On Windows 10 Computer.
At this step, users should launch the Services management console and check on two components:
- SNMP service: The component is defined as the main SNMP agent providing service. Its duties are sending information and tracking the data activities.
- SNMP trap: This component will get messages from local agents then send them to the management software.
Next, open the service properties, start it, and don’t forget to change its kind to Automatic.
Users should choose the Agent menu before filling in the Location and Contact field. Next, select the range of services that you will collect data from, then send them to the devices. Here, services are grouped into 5 categories: Physical, internet, End-to-end, subnetwork and datalink, and applications.
After this step, head to the Security section. Yo will see the names of the Accepted community list that possess SNMP hosts, and they can transfer SNMP requests to the computer. Interestingly, the name of the community provides similar functions like password and log in.
Here, you have to verify your Community name by choosing one of five accessing options (read-only, read-write, notify, none, read-create). Among these, the highest level is Read Write, which allows the SNMP server to influence the system. Monitoring systems can сhoose Read only as the server to process the system instead of making changes.
Now, it’s time for you to add a monitoring servers list, and select the second option. It later can become your system of monitoring such as OpenNMS PRTG, Nagios, Zabbix, SCOM.
There is a trick for users during this stage: you can choose Accept SNMP packets from any host without IP restriction. However, users who are using public computers are not suggested to apply this option due to safety reasons. After everything is set and done, save and restart your SNMP service.
One more thing is SNMP applies UDP 161 and UDP 162 as transport protocols. And you can activate the outbound and inbound SNMP ports within Firewall by applying the following code lines:
- netsh advfirewall firewall add rule name=”SNMP UDP Port 161 In” dir=in action=allow protocol=UDP localport=161
- netsh advfirewall firewall add rule name=”SNMP UDP Port 161 Out” dir=out action=allow protocol=UDP localport=161
- netsh advfirewall firewall add rule name=”SNMPTRAP UDP Port 162 In” dir=in action=allow protocol=UDP localport=162
- netsh advfirewall firewall add rule name=” SNMPTRAP UDP Port 162 Out” dir=out action=allow protocol=UDP localport=162
Using Group Policy To Configure SNMP Settings
If you want to set up Microsoft SNMP service Windows 10 on multiple computers, you can install them remotely using Group Policy or PowerShell. Using GPO (group policy object) parameters will assist you in setting up this service centrally. You can find these parameters in the GPO editor (gpedit.msc or gpmc.msc) by following this route: Computer Configuration > Policies > Administrative Templates definitions > Network > SNMP. There are three parameters of SNMP:
- Specify communities: With the parameters that help users set up community lists for the service.
- Specify permitted managers: With these indicators, users can verify permitted host lists that can transfer SNMP requests to the agents.
- Specify traps for the public community: Users can make configuration traps sending them to SNMP.
Also, users can use another way of approaching to set up SNMP parameters via registry. Follow the route: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SNMP\Parameters. Then, they can set up SNMP parameters as needed.
The Bottom Line!
Well, we hope this article has given you useful information about the SNMP service. Understanding this service well will help you better utilize your Windows operating system. For those who don’t know how to set up and configure SNMP service on Windows 10, you can find the detailed solutions here. If there are any related questions, just leave us a message! Enjoy this service on your computer!