You are currently offline, waiting for your internet to reconnect

SNMP Service Will Not Start with Event ID: 7024

This article was previously published under Q158770
The SNMP service fails to start and displays the following message:
EVENT ID: 7024
Description: The SNMP Service terminated with service specific error 3.
One possible cause of this error is that another application may be bindingto the same port as the SNMP Service. An easy way to determine if this isthe problem is to change the port number that the SNMP service binds to. Ifthis resolves the issue look, for any third-party applications that may beusing the same port number.
  1. Change to the %SystemRoot%\System32 subdirectory.
  2. Rename the SNMP.exe in your %SystemRoot%\System32 subdirectory to Snmp.fre.
  3. Copy the checked build of Snmp.exe file to your %SystemRoot%\System32 subdirectory.
  4. From a command prompt type the following:
    NET START SNMP /loglevel:20 /logtype:7

NOTE: For Windows NT 4.0, use the following line to start the SNMP service:

NET START SNMP /loglevel:5 /logtype:2

To change the port number that the SNMP service binds to, use a text editor(such as Notepad.exe) to edit the Services file located in the Windows System32\Drivers\Etc folder.

The default ports in the services file are:
snmp 161/udp snmp
snmp 162/udp snmp-trap
For testing purposes change to:
snmp 165/udp snmp
snmp-trap 166/udp snmp
For example,
   # Copyright (c) 1993-1994 Microsoft Corp.   #   # This file contains port numbers for well-known services as defined by   # RFC 1060 (Assigned Numbers).   #   # Format:   #   # <service name>  <port number>/<protocol>  [aliases...]   [#<comment>]   #   snmp     165/udp  snmp   snmp-trap   166/udp  snmp				
NOTE: Remember to change the values back after you are done testing.
One method to determine if a service is using the same port as SNMP is toexecute Netstat.exe from a command prompt using the following syntax:
netstat -an

Article ID: 158770 - Last Review: 02/27/2007 00:21:00 - Revision: 2.2

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Advanced Server 3.1
  • kbsnmp kbnetwork KB158770