Security Basics mailing list archives
RE: Script
From: "Uber Wannabe" <nucleargeekdown () gmail com>
Date: Wed, 25 Jul 2007 11:07:33 -0500
A script like this would be relatively simple to write, as long as you know what services you want to disable. In fact, you don't even need a script... only a batch file and Administrator rights on the system. The "sc" command could be used in the batch file to stop and disable the service, as follows: Stop the service: sc stop tlntsvr Disable the service: sc config tlntsvr start= disabled That example would stop and disable the "Telnet" service. Or, if you feel more comfortable with VBScript, you could use that to run shell commands and pass the list of services in as an array or text file (I'm sure you can do this in batch scripting, but I don't remember how ATM), then loop through to stop and disable all of them. As usual, Google is your friend. -- N/A -----Original Message----- From: listbounce () securityfocus com [mailto:listbounce () securityfocus com] On Behalf Of Siscar, Emerson E. Sent: Tuesday, July 24, 2007 11:57 PM To: security-basics () securityfocus com Subject: Script Hello to all: Am not into script writing yet. Can anyone recommend or know where I could find/get a script that disables windows unnecessary services for example? Thank you Emer
Current thread:
- Script Siscar, Emerson E. (Jul 25)
- RE: Script Uber Wannabe (Jul 25)
- RE: Script Hoover, Travis (Jul 25)
- RE: Script peter.schaub (Jul 25)
- RE: Script Ficks, Andrew (Jul 26)
- Re: Script Ansgar -59cobalt- Wiechers (Jul 26)
- Re: Script korozion (Jul 26)
- RE: Script Weir, Jason (Jul 26)
- RE: Script Adolfson, Lee (Jul 26)
- Re: Script Brian Johnson (Jul 26)
- <Possible follow-ups>
- Re: Script simonis (Jul 25)