Here is a good vbscript which starts the install of SNMP service.  I am using 
it.  The only thing I do is:

1.  Make sure my PCs have a registry change pointing to Windows XP source files 
on a server.  Otherwise, users will get a prompt for the XP cd.

2.  Import a reg key of my specific SNMP settings after the install.

Then I made a batch install of snmp informant that is silent.  This is a 2 step 
process, but easier than touching every machine.

Note:  I stole this vbscript, I didn't make it up and you need PSTOOLS from 
sysinternals.

=============================================

RemotePC="."

Set fso = CreateObject("Scripting.FileSystemObject")
Set shell = Wscript.CreateObject("WScript.Shell")
Set uaFile = fso.CreateTextFile("\\" & RemotePC & "\c$\snmp.ua",True)

uaFile.Writeline "[NetOptionalComponents]"
uaFile.Writeline "SNMP = 1"
uaFile.Close
shell.run "psexec \\" & RemotePC & " -s -i -d sysocmgr 
/i:%windir%\inf\sysoc.inf /u:c:\snmp.ua /x /q", vbHide


============================================




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=17700#17700

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to