Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need script to configure snmp

Featured Replies

I do a lot of windows installs using a floppy and a winnt.sif answer file.

In part of my configuration I automate the setup of SNMP like this:

[sNMP]

Contact_Name= My Name

Location = MyComany

Service = Physical, Applications, End-to-End, Datalink, Internet

Community_Name = Public

Traps = 127.0.0.1

Accept_CommunityName = Public:Read_Only, Private:Read_Write

Any_Host = yes

There are some times that I can not do the deployment via the sif file so I am looking for a way to script the same settings post install.

Idealy if there were a tool that could just parse the sif file and apply the setting that would be cool but a simple vbs or some other solution would work just as well. Also this should be a stand alone script with no other file dependencies.

Can anyone help to create such a script?

Thanks..

SNMP config is stored in HKLM\Systsem\CurrentControlSet\Services\SNMP

Mostly you'll probably be looking for the Parameters subkey.

Set these values to what you want, export the .REG file and then use regedit /S or reg.exe to import the .REG file on the target machines.

One quick'n'dirty deployment method for existing servers would be to share the .reg file somewhere central and run

psexec @serverlist.txt "reg.exe /import \\dfsshare\snmp\snmpsetting.reg"

Or something similar.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.