Scripted SNMP component install for WinXP
Hi all,
Excuse my ignorance; I have read everything I can find at Microsoft and here re scripting an SNMP component install but am still having issues...
I am trying to install the SNMP windows conponent as a pre-requiste for a monitoring tool used by one of my clients. This is easy to do as a manual install but have read in a post this can be done using SYSOCMGR.exe.
To create a .inf for say file/registry permissions and using secedit.exe I would open the mmc add the snap-on for security changes and make the relevant changes and then save the changes into the .inf file.
When I try this for SNMP using the Component Services snap-on I see no reference to SNMP??
222444
As I said I have looked at the MS site above and still am no further forward on this.
If anyone has done this please enlighten me....
Thanks and regards to all.
Jim
Excuse my ignorance; I have read everything I can find at Microsoft and here re scripting an SNMP component install but am still having issues...
I am trying to install the SNMP windows conponent as a pre-requiste for a monitoring tool used by one of my clients. This is easy to do as a manual install but have read in a post this can be done using SYSOCMGR.exe.
To create a .inf for say file/registry permissions and using secedit.exe I would open the mmc add the snap-on for security changes and make the relevant changes and then save the changes into the .inf file.
When I try this for SNMP using the Component Services snap-on I see no reference to SNMP??
222444
As I said I have looked at the MS site above and still am no further forward on this.
If anyone has done this please enlighten me....
Thanks and regards to all.
Jim
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
polysulfide
19 years ago
I'm working on the same issue.
syscomgr works to install SNMP
First you need to create an answer file.
answerfile.txt
;SetupMgrTag
[NetOptionalComponents]
SNMP=1
[SNMP]
Any_Host=YES
Then run sysocmgr against it:
sysocmgr /i:%windir%\inf\sysoc.inf /u:"C:\answerfile.txt" /q
as long as you're allowed, this will install it.
I am having trouble making this run as a log-in script. I'm trying to run this through a VBScript GPO. I'm running it as a computer login-in script so it should have permissions but it just initializes, starts to run, and quits.
syscomgr works to install SNMP
First you need to create an answer file.
answerfile.txt
;SetupMgrTag
[NetOptionalComponents]
SNMP=1
[SNMP]
Any_Host=YES
Then run sysocmgr against it:
sysocmgr /i:%windir%\inf\sysoc.inf /u:"C:\answerfile.txt" /q
as long as you're allowed, this will install it.
I am having trouble making this run as a log-in script. I'm trying to run this through a VBScript GPO. I'm running it as a computer login-in script so it should have permissions but it just initializes, starts to run, and quits.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.