# Windows *(Adapted from Microsoft Windows help)* - [Installing and configuring SNMP Agent and Traps on Windows XP/2000](https://www.manageengine.com/products/oputils/help/snmpinstallation/install_snmp_win.html#windowsxp) - [Installing and configuring SNMP Agent and Traps on Windows NT](https://www.manageengine.com/products/oputils/help/snmpinstallation/install_snmp_win.html#windowsnt) ## Prerequisites You need to know the following information before you install the Simple Network Management Protocol (SNMP) service on your computer: - Community names in your network. - Trap destinations for each community. - IP addresses and computer names for SNMP management hosts. ## To install SNMP on Windows XP or 2000 follow the steps given below: 1. You must be logged on as an **administrator** or a member of the **Administrators group** to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure. 2. Click **Start**, point to **Settings**, click **Control Panel**, double-click **Add** or **Remove Programs**, and then click **Add/Remove Windows Components**. 3. In **Components**, click **Management and Monitoring Tools** (but do not select or clear its check box), and then click **Details**. 4. Select the **Simple Network Management Protocol** check box, and click **OK**. 5. Click **Next**. 6. Insert the respective CD or specify the complete path of the location at which the files are stored. 7. SNMP starts automatically after installation. ## Configuring SNMP Agent To configure SNMP agent in Windows XP and 2000 systems, follow the steps given below: **Step 1** - Click **Start**, point to **Settings**, and then click **Control Panel**. Double-click **Administrative Tools** and then double-click **Computer Management**. **Step 2** - In the console tree, click **Services and Applications** and then click **Services**. **Step 3** - In the details pane, scroll down and click **SNMP Service**. **Step 4** - On the **Action** menu, click **Properties**. **Step 5** - On the **Security** tab, select **Send authentication trap** if you want a trap message to be sent whenever authentication fails. **Step 6** - Under **Accepted community names**, click **Add**. **Step 7** - Under **Community Rights**, select a permission level for this host to process SNMP requests from the selected community. **Step 8** - In **Community Name**, type a case-sensitive community name, and then click **Add**. **Step 9** - Specify whether or not to accept SNMP packets from a host: - To accept SNMP requests from any host on the network, regardless of identity, click **Accept SNMP packets from any host**. - To limit acceptance of SNMP packets, click **Accept SNMP packets from these hosts**, click **Add**, type the appropriate **host name, IP or IPX address**, and then click **Add** again. **Step 10** - Click **Apply** to apply the changes. ## Configuring Traps **Step 1** - Click **Start**, point to **Settings**, and then click **Control Panel**. Double-click **Administrative Tools**, and then double-click **Computer Management**. **Step 2** - In the console tree, click **Services and Applications** and then click **Services**. **Step 3** - In the details pane, click **SNMP Service**. **Step 4** - On the **Action** menu, click **Properties**. **Step 5** - On the **Traps** tab, under **Community name**, type the case-sensitive community name to which this computer will send trap messages, and then click **Add to list**. **Step 6** - In **Trap destinations**, click **Add**. **Step 7** - In **Host name, IP or IPX address**, type information for the host, and click **Add**. **Step 8** - Repeat steps 5 through 7 until you have added all the communities and trap destinations you want. **Step 9** - Click **OK** to apply the changes. ## To install SNMP in Windows NT, follow the steps given below: 1. Right-click the Network Neighborhood icon on the Desktop. 2. Click **Properties**. 3. Click **Services**. 4. Click **Add**. The Select Network Service dialog box appears. 5. In the Network Service list, click **SNMP Service**, and then click **OK**. 6. Insert the respective CD or specify the complete path of the location at which the files are stored and click **Continue**. 7. After the necessary files are copied to your computer, the Microsoft **SNMP Properties** dialog box appears. ## To configure SNMP Agent in Windows NT Systems follow the steps given below: **Step 1** - Right-click on the **Network Neighborhood** icon on the Desktop. **Step 2** - Click **Properties**. **Step 3** - Click **Services**. **Step 4** - Click **SNMP Service**, and then click **Properties**. **Step 5** - Click the **Security** tab. **Step 6** - If you want to send a trap for failed authentications, select the Send Authentication Trap check box. **Step 7** - Under **Accepted Community Names**, click **Add**. **Step 8** - In the **Community Names** box, type a community name from which you will accept requests. **Step 9** - To move the name to the **Accepted Community Names** list, click **Add**. **Step 10** - Repeat step 9 for any additional community name. **Step 11** - To specify whether to accept SNMP packets from any host or from only specified hosts, click one of the two options: - **Accept SNMP Packets From Any Host**, if no SNMP packets are to be rejected on the basis of source computer ID. - **Only Accept SNMP Packets From These Hosts**, if SNMP packets are to be accepted only from the computers listed. To designate specific hosts, click **Add**, type the names or addresses of the hosts from which you will accept requests in the IP Host or IPX Address box, and then click **Add** to move the name to the **Only Accept SNMP Packets From These Hosts** list. Repeat step 11 for any additional hosts. On the **Agent** tab, specify the appropriate information (such as comments about the user, location, and services). Click **OK** to apply the changes. ## To configure SNMP Traps follow the steps given below: 1. Right-click on the **Network Neighborhood** icon on the Desktop. 2. Click **Properties**. 3. Click **Services**. 4. Click **SNMP Service** and then click **Properties**. 5. Click the **Traps** tab. 6. To identify each community you want this computer to send traps, type the name in the **Community Name** box. Community names are case sensitive. 7. After typing each name, click **Add** to add the name to the list. 8. To specify hosts for each community you send traps to, after you have added the community and while it is still highlighted, click **Add** under **Trap Destination**. 9. To move the name or address to the **Trap Destination** list for the selected community, type the host name in the **IP Host/Address** or **IPX Address** box and then click **Add**. 10. Repeat step 10 for any additional hosts. 11. Click **OK** to apply the changes.