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

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.
TruFu1Asked:
Who is Participating?
 
MidnightOneConnect With a Mentor Commented:
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
 
Meir RivkinFull stack Software EngineerCommented:
>>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
 
TruFu1Author Commented:
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
All Courses

From novice to tech pro — start learning today.