i would simply copy your code into a file and change the extension to vbs ?
how would i deploy that script to the computers i'd like to run it against ?
If you can't use a GPO then something like:-
For /f "tokens=1" %i in ('net view') do "sc %i config snmp start=disabled"
Should do the trick
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Minero, Hector B CIV NSWCDD, K55
Sent: 04 September 2008 15:51
Thanks,
can this be scripted? I need to disable SNMP on 200 clients.
_______________________________
Hector Minero
NSWCDD K55-----Original Message-----
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Joe Shonk
Sent: Thursday, September 04, 2008 9:45 AM
To: thin@freelists.org
Subject: [THIN] Re: Disable a service remotelyPSExec.exe from Microsoft's sysinternals.
Joe
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Minero, Hector B CIV NSWCDD, K55
Sent: Thursday, September 04, 2008 5:28 AM
To: thin@freelists.org
Subject: [THIN] Disable a service remotely
Hi all, is there a way to disable a service remotely through a script?
_______________________________
Hector Minero
NSWCDD K55
No comments:
Post a Comment