Security Basics mailing list archives

Re: Scripting to disable services


From: Robert Bauer <rbauer () snowcompanies com>
Date: Wed, 19 Sep 2007 16:30:37 -0400

The simple way:
   net stop <name of service>

You can put this in a .bat (.cmd) file.

Not sure about your second question.//

Robert

twofish () gmail com wrote:
Howdy!



I'm trying to find a way to script a mass disable of services on a series of standalone WinXP SP2 boxes.



I need to be able to be run it locally under admin, without installing additional software (i.e. default XP SP2).



Need to disable about 25 services.


Additionally, anyone with knowledge of systems set up under NISPOM standards:  I'm getting a TON of 560 failures.  Any 
techniques on audit log reductions?



Thanks!

d






Current thread: