Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

02 Sep 2006

Automating the configuration of Internet Options / Lan Settings

I got tired of manually changing my Internet Options / Lan Settings. It was really time to say goodbye to the dialog below

screenshot of lan settings dialog

With the help of How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file i wrote two little files that add/remove the automatic configuration location.The work.reg file looks like

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"AutoConfigURL"="http://192.168.1.99/"

And the home.reg file looks like:

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"AutoConfigURL"=-