Link to home
Start Free TrialLog in
Avatar of ekriner
ekriner

asked on

Batch file to reset proxy settings in IE and to set proxy settings in IE

Hello,

I need 2 batch files written that will allow the following:
1. Clear Proxy settings in Internet Explorer -->Tools --> Internet Options -->Connections --> Lan Settings
2. Import Proxy settings into IE the same as above, but instead of clearing it would add the proxy settings.

That is all!
Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of JugglerW
JugglerW

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JugglerW
JugglerW

Just saw that there are line breaks from the editor.
Best would be you export it for yourself from registtry and edit for your needs.

- start regedit
- goto HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings
- On the key right mouse and select export.
- Open reg file in editor
- Delete all but the proxy setting (as in my file above)
regedit /s "pathToRegistryFileAsNOtedAbove.reg"

/s will supress regedit from asking you if you want to import.... you can put that in a batch file and then the settings will be iported
Avatar of ekriner

ASKER

Thanks JugglerW!