Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    May 2003
    Location
    Austin
    Posts
    401
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Connections/Bypass Local Server (IE 6.0)

    I'm trying to write a WSH scripting file that automatically flags to the registry the option to "Bypass Proxy Server for Local Addresses". This is found at the Connections/LAN Settings tab. Anyone have any idea how to do it? I was able to write a similar script to add zones to the Trusted site, but this one is a bit more complicated. You'd think that just tripping a flag would be easier <img src=/S/electric.gif border=0 alt=electric width=15 height=15>
    ...thx

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Connections/Bypass Local Server (IE 6.0)

    Is there a readily identifiable value in the registry for this? The RegMon tool from SysInternals might be useful: toggle the value in IE and see what RegMon reports as being changed.

  3. #3
    4 Star Lounger
    Join Date
    May 2003
    Location
    Austin
    Posts
    401
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Connections/Bypass Local Server (IE 6.0)

    Thanks for the tip, J. I used the RegMon utility to some success. However, the key that is being altered is extremely complex. I can't really see where the change is taking place as it is a multi-string entry at: HKLMSoftwaremicrosoftwindowscurrentversioninternet settingsconnectionsdefaultconnectionsettings...... whew <img src=/S/toilet.gif border=0 alt=toilet width=24 height=26>
    Whoda thought adding a zone (named parameter no less) would've been easier than just flipping a flag?

    OK, I got where it is marking itself. Inside the multivalue string it throws in the value <local>!
    btw- the binary (hex) values is 3C 6C 6F 63 61 6C 3E 21 or <local>!
    The placement in the string is dependent on if you have any sites listed as exceptions.
    If you do, it lists the sites first, then the local flag setting, then the name of the proxy and then some program code that the hex editor doesn't decode.

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Connections/Bypass Local Server (IE 6.0)

    Well that's not good. My old VBScript book says the WSH Shell RegRead and RegWrite methods handle binary values as variant arrays of bytes. That should be interesting to hack away at... but not for me. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> I guess export that key to a .reg file so you have a backup handy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •