Security Basics mailing list archives
Re: Scripting to disable services
From: Pranay Kanwar <warl0ck () metaeye org>
Date: Thu, 20 Sep 2007 03:14:58 +0530
Hi, You can use the sc utility shipped with windows. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx?mfr=true Put the services list in a file, services.txt for /f %service in (services.txt) do sc config %service start=disabled 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
-- [ Twice the pride, double the fall. ] [ warl0ck // MSG ] [ http://www.metaeye.org ]
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)