Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to change Internet Explorer Proxy settings

Status
Not open for further replies.

jayraykay

Programmer
Mar 10, 2004
22
US
Hello,

I am in need of a means to enable and disable Internet Explorer proxy settings via script.

Can someone be of assistance?

Thanks
 
Well here's the problem: if it's a typical proxy setup, the user shouldn't be able to bypass the proxy. Generally if there's a proxy, it's there for a reason.
 
jayraykay,

Do you mean a 'toggler', i.e. to just switch between 'using' or 'not using' a proxy server?

Manually, this would be the difference between adding or removing the checkmark against 'Use a proxy server' in 'Internet Explorer > Tools > Options > Connections > LAN Settings > Proxy server'.

Any 'toggler' script would - at the very least - need to check the current setting. To be effective, it may also have to check for any running instances of IE, close them, change the setting then re-open an IE browser window for any changed settings to take effect.

There's also a difference between OS's, i.e. the default Win XP setting is 'per user' unless it's configured for IE settings to be global, i.e. for all users.

If any script was to be used against different versions of Windows then it would also need to check for the OS first.

Can you give more details?

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top