Security Basics mailing list archives
RE: Scripting to disable services
From: "Murda Mcloud" <murdamcloud () bigpond com>
Date: Thu, 20 Sep 2007 08:45:11 +1000
Net stop won't disable them, it will just stop them and then they will return to their configured behaviour according to what their startup mode (ie auto, manual, disabled)is, when the machine restarts. I think the OP wants them disabled for good. WMI script or GP is prob the best and easiest way to go. -----Original Message----- From: listbounce () securityfocus com [mailto:listbounce () securityfocus com] On Behalf Of Robert Bauer Sent: Thursday, September 20, 2007 6:31 AM To: twofish () gmail com Cc: security-basics () securityfocus com Subject: Re: Scripting to disable services 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:
- Scripting to disable services twofish (Sep 18)
- Re: Scripting to disable services Ansgar -59cobalt- Wiechers (Sep 19)
- Re: Scripting to disable services Kurt Buff (Sep 19)
- Re: Scripting to disable services Brian Johnson (Sep 19)
- RE: Scripting to disable services peter.schaub (Sep 19)
- Re: Scripting to disable services Robert Bauer (Sep 19)
- RE: Scripting to disable services Murda Mcloud (Sep 19)
- Re: Scripting to disable services Pranay Kanwar (Sep 19)
- <Possible follow-ups>
- Re: Scripting to disable services jfvanmeter (Sep 19)
- Re: Scripting to disable services krymson (Sep 19)
- Re: Re: Scripting to disable services jason . gerfen (Sep 19)
- Re: Scripting to disable services Ansgar -59cobalt- Wiechers (Sep 20)
- Re: Scripting to disable services krymson (Sep 19)