Hi there!

So I was at the offices of a bank today doing some work to their webpage, and I needed Internet Connectivity, so the networking guy told me to simply run the following .bat file:


; REGEDIT.EXE /S "%~f0"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

Didn´t work, it was time for me to go Home anyways so I left.

To my surprise, when I got home I didn´t have any Internet connection with Google Chrome nor Firefox, and have to use the dreaded IE to post this.

Also, everytime I try to access the Windows LAN options under Internet Options it crashes giving me a rundll32 error.

Anyon care to give me some pointers or command on how to revert what this command made? (I have very limited programming knowledge, I understand cero what these guy´s command did...)

6 Years
Discussion Span
Last Post by LaxLoafer


The script you were provided configures a proxy though which you can connect to the Internet while at the bank. It's of no use to you at home. It's surprising you weren't provided with a script to disable the configuration.

In order to disable the proxy, it should be sufficient to merely set the ProxyEnable key to zero. You can achieve this by using the 'regedit' utility, navigating to 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings'. Double click ProxyEnable and change the value to 0.

Important: Serious problems can arise if the registry is edited incorrectly. If you have any concerns about what you are doing, back up the registry first or create a system restore point. See Microsoft's site for details: Backup up the registry

The following script will also disable the proxy. Just copy the contents into a plain text file and save, change the file extension to '.reg', then double-click to run.


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

Edited by LaxLoafer

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.