Re: Baseline script (disable services etc.)
From: Jamie M (enzymatic2009_at_yahoo.com)
Date: 06/28/04
- Next message: Ylekiot (Wyle E Coyote): "Searching AD for a USER and returning the full OU path to a variab"
- Previous message: Jamie M: "Baseline script (disable services etc.)"
- In reply to: Jamie M: "Baseline script (disable services etc.)"
- Next in thread: Torgeir Bakken \(MVP\): "Re: Baseline script (disable services etc.)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 16:03:39 -0400
Update: I found a script that turns off Telnet, as follows:
'Pure VBScript (RegWrite)
'This can be be done by writing a DWORD with valuedata 4 to the value
"Start"
'under
'HKLM\SYSTEM\CurrentControlSet\Services\<service>
Set oShell = CreateObject("WScript.Shell")
' Set the Telnet service to disabled (4)
oShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\TlntSvr\Start", _
4, "REG_DWORD"
So I guess all I need to find is the names for the Remote Registry and
File and Print Sharing services.
Tips on turning on the ICF still appreciated.
Jamie M wrote:
> Hi,
>
> I work in a small office and seem to constantly be re-installing XP for
> various coworkers. I would like to have a baseline security script that
> would do such things as turn on the ICF (XP's built-in firewall),
> disable the Telnet service, and change a few settings in the Control
> Panel. I have no problem with the basics of programming (loops etc.),
> but I know nothing about the Windows object model. Do the things I want
> to do involve writing to the Registry?
>
> If anyone could give me any tips (as to turning on the ICF and disabling
> the Telnet, Remote Registry, and File and Print Sharing services in
> particular), I would appreciate it very much.
>
> Best,
>
> Jamie
- Next message: Ylekiot (Wyle E Coyote): "Searching AD for a USER and returning the full OU path to a variab"
- Previous message: Jamie M: "Baseline script (disable services etc.)"
- In reply to: Jamie M: "Baseline script (disable services etc.)"
- Next in thread: Torgeir Bakken \(MVP\): "Re: Baseline script (disable services etc.)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|