Bypass proxy....via code?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • OlaPihl@gmail.com

    #1

    Bypass proxy....via code?

    Hi,

    How can I by code enable and disable "Bypass proxy server for local
    adresses" in Internet Explorer / Tools / Internet Options /
    Connections / LAN Settings.

    I have made a program (VB.Net) that can enable and disable the proxy
    server but I can't find how to do the "bypass ......"

    Would really appreciate som help.

  • Newbie Coder

    #2
    Re: Bypass proxy....via code?

    Hi,

    The registry keys needed for bypass are these:

    Bypass Proxy:

    [HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet
    Settings\Connec tions]
    "DefaultConnect ionSettings"=he x:3c,00,00,00,0 6,00,00,00,03,0 0,00,00,00,00,0 0,\
    00,07,00,00,00, 3c,6c,6f,63,61, 6c,3e,00,00,00, 00,01,00,00,00, 00,00,00,00,00, \
    00,00,00,00,00, 00,00,00,00,00, 00,00,00,00,00, 00,00,00,00
    "SavedLegacySet tings"=hex:3c,0 0,00,00,8a,18,0 0,00,03,00,00,0 0,00,00,00,00,0 7,\
    00,00,00,3c,6c, 6f,63,61,6c,3e, 00,00,00,00,01, 00,00,00,00,00, 00,00,00,00,00, \
    00,00,00,00,00, 00,00,00,00,00, 00,00,00,00,00, 00,00

    Bypass Proxy (Unchecked):

    [HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet
    Settings\Connec tions]
    "DefaultConnect ionSettings"=he x:3c,00,00,00,0 7,00,00,00,03,0 0,00,00,00,00,0 0,\
    00,00,00,00,00, 00,00,00,00,01, 00,00,00,00,00, 00,00,00,00,00, 00,00,00,00,00, \
    00,00,00,00,00, 00,00,00,00,00, 00,00
    "SavedLegacySet tings"=hex:3c,0 0,00,00,8f,18,0 0,00,03,00,00,0 0,00,00,00,00,0 0,\
    00,00,00,00,00, 00,00,01,00,00, 00,00,00,00,00, 00,00,00,00,00, 00,00,00,00,00, \
    00,00,00,00,00, 00,00,00,00,00

    Unchecked: Use A Proxy For Your LAN:

    [HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet
    Settings\Connec tions]
    "DefaultConnect ionSettings"=he x:3c,00,00,00,0 8,00,00,00,01,0 0,00,00,00,00,0 0,\
    00,00,00,00,00, 00,00,00,00,01, 00,00,00,00,00, 00,00,00,00,00, 00,00,00,00,00, \
    00,00,00,00,00, 00,00,00,00,00, 00,00
    "SavedLegacySet tings"=hex:3c,0 0,00,00,92,18,0 0,00,01,00,00,0 0,00,00,00,00,0 0,\
    00,00,00,00,00, 00,00,01,00,00, 00,00,00,00,00, 00,00,00,00,00, 00,00,00,00,00, \
    00,00,00,00,00, 00,00,00,00,00

    Enable Proxy:

    [HKEY_LOCAL_MACH INE\SYSTEM\Cont rolSet001\Hardw are
    Profiles\0001\S oftware\Microso ft\windows\Curr entVersion\Inte rnet Settings]
    "ProxyEnable"=d word:00000001

    [HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet Settings]
    "ProxyEnable"=d word:00000001

    Proxy Override:

    [HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet Settings]
    "ProxyOverride" ="<local>"

    Please Note: When the BYPASS PROXY FOR LOCAL... is unchecked then the
    ProxyOverride key is deleted

    Ovbiously your registry values maybe different from mine so please check

    --
    Newbie Coder
    (It's just a name)



    <OlaPihl@gmail. comwrote in message
    news:1187592000 .643801.316050@ r29g2000hsg.goo glegroups.com.. .
    Hi,
    >
    How can I by code enable and disable "Bypass proxy server for local
    adresses" in Internet Explorer / Tools / Internet Options /
    Connections / LAN Settings.
    >
    I have made a program (VB.Net) that can enable and disable the proxy
    server but I can't find how to do the "bypass ......"
    >
    Would really appreciate som help.
    >

    Comment

    Working...