GPO changing my tcpip settings!

N

Natla

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top