Solved

Script to change SNMP rights to Read/Write on multilpe servers?

Posted on 2010-08-14
3
633 Views
Last Modified: 2012-05-10
Hi All.  I'm a first timer so be gentle, lol.

We have decided to disable ASR on about 150 Windows production servers (in order to get memory dumps).  I am using Net-SNMP to do the change, instead of going through the bios (painful with 150 servers), but the SNMP rights need to be set to Read/Write.

I am inquiring about if there is a script available that can make this change, to multiple servers, and then an additional script to switch all back to Read Only, after the Net-SNMP change to disable ASR.
0
Comment
Question by:TruFu1
3 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 33440383
>>but the SNMP rights need to be set to Read/Write
check the screenshot please.
is this what you mean to change SNMP service security?
Untitled.jpg
0
 
LVL 26

Accepted Solution

by:
MidnightOne earned 500 total points
ID: 33440589
Group policies are your friend.

Create a new GPO called SNMP_Settings.
Under the Computer portion of that GPO, burrow down into the Windows section into networking. You'll find SNMP settings there.

Using the GPO, you can alter the read-only and read-write community strings to your heart's content across all systems.
0
 

Author Comment

by:TruFu1
ID: 33450801
I figured gpo is the way to go, since I can see our community string in the "accepted community names" list, but does not show in the registry key, where "public" is showing...
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question