Thursday, September 4, 2008

[THIN] Re: Disable a service remotely

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
To: thin@freelists.org
Subject: [THIN] Re: Disable a service remotely

 

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 remotely

PSExec.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: