Re: Tutorial on writing to Registery
From: Ansgar -59cobalt- Wiechers (bugtraq_at_planetcobalt.net)
Date: 10/13/04
- Previous message: Anirudhya Mitra: "JPEG Vulnerability"
- In reply to: Louie: "Tutorial on writing to Registery"
- Next in thread: pilotalb_at_nycap.rr.com: "RE: Tutorial on writing to Registery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 13 Oct 2004 02:31:18 +0200 To: security-basics@securityfocus.com
On 2004-10-10 Louie wrote:
> I was wondering does anyone in here know where I could find out how to
> run a batch file to write to the registry?
>
> I'm asking because for security issues that we have to upgrade for a
> couple of machines. I just want the batch file to run rather then
> going manual into the registry.
You have several options:
- Write a .reg-file with the settings you want to apply and import it
into the registry by running "regedit /s my_settings.reg". Use
"value"=- and [-KEY\NAME] to delete values and/or keys.
- Edit the registry directly with reg.exe (MS' command-line registry
editor). On Windows 2000 you will have to install the Support Tools
from the Windows CD for this.
- Edit the registry directly with a VB-script (see Windows Script
documentation [1] for details).
HTH
Regards
Ansgar Wiechers
-- "Those who would give up liberty for a little temporary safety deserve neither liberty nor safety, and will lose both." --Benjamin Franklin
- Previous message: Anirudhya Mitra: "JPEG Vulnerability"
- In reply to: Louie: "Tutorial on writing to Registery"
- Next in thread: pilotalb_at_nycap.rr.com: "RE: Tutorial on writing to Registery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|