Thursday, September 4, 2008

[THIN] Re: Disable a service remotely

Here is a RSP based off of some other work I have done. Save it as "DisableSNMP.rsp" and create a "DisableSNMP" folder in the same directory and it should be ready to import.
 

[Version]
Number=DisableSNMP
Description=Disable the SNMP Service
OS=XP
Category=Other Packages

[Script]
;
;DATE: 9/4/2008
;Package Prepared by Patrick Coughlin
;
;----------------------------------------------------------------
;Check Operating System
;----------------------------------------------------------------
CO "XP"
;
;----------------------------------------------------------
; Lockout & Set Reg
;----------------------------------------------------------
LU
SV "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Start" "0"
"REG_DWORD"
LP "30"
EL
RB

No comments: