Security Basics mailing list archives
RE: Tutorial on writing to Registry
From: "Hunt, Jim" <Jim.Hunt () nwsc k12 in us>
Date: Tue, 12 Oct 2004 12:31:51 -0500
You might consider running a vbs script instead. Here is one I run on
logon that resets the default homepage back to ours. (Even with a group
policy, sometimes the homepage gets reset anyway by a website.)
------------------------------------------------------------------
Dim WSHShell, RegLocate, RegLocate1
Set WSHShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
RegLocate = "HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main\Start Page"
WSHShell.RegWrite RegLocate,"http:\\intranet.nwsc.k12.in.us","REG_SZ"
WScript.Quit
------------------------------------------------------------------
Excellent reference website -
http://www.computerperformance.co.uk/index.htm
Jim Hunt
Network Services Manager
Northwestern School Corporation
Kokomo, Indiana
-----Original Message----- From: Louie [mailto:tech.louie () verizon net] Sent: Sunday, October 10, 2004 6:00 AM To: 'Yvan Boily'; 'Guillaume Lavoix'; 'Ferland' Cc: security-basics () securityfocus com Subject: Tutorial on writing to Registery Hello there, 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. Thank you
Current thread:
- RE: Tutorial on writing to Registry Hunt, Jim (Oct 13)
