GPO changing my tcpip settings!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
Archived from groups: microsoft.public.win2000.group_policy (More info?)

How can I set up a script make the below changes to my
registry?
My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002
\Services\Tcpip\Parameters

The string value 'SearchList' gets cleared about 2 times
a week because to the GPO that my name is in. I would
like to have a script that I could run to automatically
add in 'ab.bc.cd.com' as the 'value data'.

Thanks for the help!

Natla
 
Archived from groups: microsoft.public.win2000.group_policy (More info?)

On Tue, 20 Jul 2004 08:53:02 -0700, "Natla"
<anonymous@discussions.microsoft.com> wrote:

>How can I set up a script make the below changes to my
>registry?
>My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002
>\Services\Tcpip\Parameters
>
>The string value 'SearchList' gets cleared about 2 times
>a week because to the GPO that my name is in. I would
>like to have a script that I could run to automatically
>add in 'ab.bc.cd.com' as the 'value data'.
>
>Thanks for the help!
>
>Natla


I would put it in CurrentControlSet.

Save the following as some filename.reg:

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"SearchList"="ab.bc.cd.com"

Then, in your startup folder, place a shortcut to a filename.bat file that runs
minimizes:

@echo off
regedit /s c:\folder\filename.reg


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com