Walker News

How To Configure Or Disable Google Chrome Proxy Server Settings Independently?

Thanks God, the free public WIFI is still working in office. So, I’m happily using this free channel to stay connected with the World Wide Web, watching YouTube and other leisure browsing activities as much as I wish to have, but without worry of being “top surfer” in the weekly proxy server usage report (simply because I don’t have to go through corporate proxy server to surf Internet :-p).

Because of the insecure wireless network (thus I can connect to it so easily), I use IE7 to login to websites that require user authentication (e.g. Gmail, Hotmail, MSN, etc) via corporate proxy server.

For all other sites that not require user login (e.g. Google News, blogs, Meta Cafe, forum, etc), I would like to use Firefox or Google Chrome to directly access Internet via the insecure, free public WIFI.

However, Google Chrome doesn’t provide an user interface (UI) to enable or disable proxy server settings. Indeed, Google Chrome is sharing Internet Properties settings (inetcpl.cpl, a Control Panel item that appears as Internet Options) with Internet Explorer.

I.e. Google Chrome uses proxy server if Internet Explorer is using proxy server; both IE and Google Chrome is sharing the same proxy server settings. If I disable proxy server in Internet Properties, I can’t use IE7 to read Gmail via proxy server too.

So, how to force Google Chrome to ignore proxy server settings defined for IE7?

How to enable or disable proxy server settings for Google Chrome without affecting IE7?

I thought I would have to download Google Chrome source code and customize it :-p. Luckily, there is an ready-made option switch called --proxy-server to define proxy server independently for Google Chrome, i.e. –proxy-server overwrites Google Chrome default behaviour of sharing proxy server settings with Internet Explorer.

So, I right click the Google Chrome shortcut and add --proxy-server= to chrome.exe in order to forcibly disable Google Chrome proxy server settings, while still allows Internet Explorer 7 to surf Net via corporate proxy server:

Independent Google Chrome proxy server setting.
Independent Google Chrome proxy server setting.

With reference:
Google Chrome Help – Independent Proxy Settings for Chrome
Google Chrome Command Line Switches.

Custom Search

  1. Mette 12-03-09@00:05

    Hello !

    Thanks for the hint – but how do you do it when it points to”ducuments and settings …” – it is in double qoutes.

    I have tried to make the –proxy-server= after the … chrome.exe” – it accepts it fine – but still I have the proxy from IE on my browser

    Any suggestions ….

    Thanks
    Mette, DK

  2. Walker 12-03-09@01:57

    Hi Mette, I believe you want to disable the IE proxy in Google Chrome.

    In that case, you just have to append --proxy-server option switch (with an empty value) to the Chrome.exe in Target field will do.

    Why worry about the Document and Settings path?

    Please take note that you might have to close all Chrome windows and restart it, in order the new option switch to take effect.

  3. Stan 25-03-09@08:25

    This is great, thank you so much!

  4. Prateek Gupta 21-04-09@06:09

    Hi.. I tried this thing but it just shows a message that “the name in the target box is not valid” and asks to correct.

    Is there any other way it could be done to seperate the proxies of ie and chrome.

    my chrome version is 2.0.170.0 …. pls help me with it..

  5. Walker 22-04-09@22:58

    @Prateek, I just try to append --proxy-server="" to my Chrome browser of version 2.0.172.8 (the most updated at this time being), and it works correctly.

  6. Joe Dirt 28-04-09@22:29
    "C:\Documents and Settings\YOURID\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" "--proxy-server=000.000.000.000:1025"

    Put your IP and Port in for the Proxy server.

    That fixed my issue.

  7. Walker 29-04-09@00:30

    Guys, to disable Google Chrome proxy, just append this to the chrome.exe shortcut:
    --proxy-server=""

    To specify a different proxy server for Google Chrome (i.e. to ignore IE proxy setting), specify the proxy IP and port number to to the --proxy-server option, as what Joe commented.

  8. Mitch Christensen 01-05-09@00:11

    This simply doesn’t work for me (on 64 bit Vista). I’ve set up Firefox to use the proxy and that works fine. My PC is also the Proxy server so I am passing in the following,

    “–proxy-server=localhost:1080″

    When I launch Chrome, I can get to the internet fine, which means that the proxy setting didn’t take, since the proxy server should preclude me from accessing the internet (as it does when I launch Firefox).

    Any suggestions?

  9. Walker 01-05-09@17:01

    Two options:

    1) Try --proxy-server and not -proxy-server (maybe replace localhost with 127.0.0.1 too)

    2) Try to set the proxy server in IE and don’t bother the Google Chrome proxy server option switch.

  10. Kaushik 21-05-09@13:46

    Assuming the proxy requires authentication (as in my workplace), is there a way to provide this with command line arguments, I’m not worried about the password not being displayed in the encrypted form “–proxy-server=PROXYSERVER:PORT”, how would I provide a username/password@proxyserver command with this? Is it possible? thanks, issue is that each and every tab prompts for this, and is quite irritating. Chrome remembers the username and password but forces me to click the login button.

  11. Elendil 27-05-09@03:28

    Hello Kaushik, what I did my workplace proxy is this:

    “–proxy-server=proxy:80″ I put the name of the proxy (which on this case is “proxy”) and then port that is using, so when I tried to connect open up a dialog box asking me for my info to log in and then it worked like a charm, let me know if it works for you.

  12. Michael 09-06-09@19:29

    Thanks! It works!
    But do you know how to set exception for that?

  13. Walker 09-06-09@22:28

    Good question, but I don’t have the answer :-(
    Anyone who read this can help?

  14. NewRsoul 03-07-09@21:20

    I think what people are trying to say is that when you include the –proxy-server= bit on the end it makes a name which is too long and that’s why windows wont let them save it

    Try some shortening with the ~1 file names?

  15. flux 08-07-09@23:34

    Thanks! This worked for Google Chrome for Linux too… http://dev.chromium.org/getting-involved/dev-channel#TOC-Linux

  16. Ranga 13-07-09@16:29

    Instead of proxy if there is an automatic configuration script how should we modify the google chrome shortcut?

  17. jello 15-07-09@23:17

    I tried all the proxy servers.but it just shows a message that “the name in the target box is not valid” and asks to correct. Ive been getting the error “Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error” for a while! would the proxy server help???

  18. Fylk 28-07-09@00:40

    Mmmm,

    Thanks in advance for the first base explanation. Very usefull.

    I have a great response to the doubt : ” ¿how to set exception for that? ”

    Adding too the another command line option:

    –proxy-bypass-list=”*.google.com;*foo.com;127.0.0.1:8080″
    will use the proxy server “foopy” on port 8080 for all hosts except those pointing to *.google.com, those pointing to *foo.com and those pointing to localhost on port 8080.
    igoogle.com requests would still be proxied. ifoo.com requests would not be proxied since *foo, not *.foo was specified.

    (taked from Chrome developer site)

    See:
    http://dev.chromium.org/developers/design-documents/network-settings

  19. Joe 25-08-09@16:30

    oh god, can someone please post the complete command line? Is there a space in between the .exe and the –? do i need two –? do I need the = behind it? i’m confused by all the replies so please enter the complete command line in a separate line without any extras or “” or something
    thanks

  20. Guest 10-09-09@05:35

    I am using IE 6 and FF for internet browsing from work.

    and as far as I know Google Chrome uses the same proxy as IE but still its not working for me. I mean i am not able to open internet website on chrome, though intranet webiste is working fine on chrome.

    any idea ??

  21. Alex 22-12-09@13:35

    @Joe Dirt Thanks a lot , it works for me perfect.

  22. KD 19-04-10@00:11

    any ideas how to do this on the mac???

  23. Alice 11-05-10@04:48

    I LOVE YOU.
    Didn’t work until I realized I forgot the space between “.exe” and the proxy thing. Everything’s back to normal now.
    Thanks a bunch!

  24. Norika 23-06-10@00:39

    When I got “Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error”

    What I did is that I went to Options->Under the Bonnet->Change Proxy settings->click on LAN settings…->Then uncheck every box!

    Reload Google Chrome and it’s all working fine!

    That’s it!

  25. Gnug125 04-08-10@00:33

    Socks proxy example (tunneling to putty)

    “C:\Documents and Settings\clr9236\Local Settings\Application Data\Google\Chrome\Application\chrome.exe” –proxy-server=socks5://localhost:3210

  26. Randy Guardado 05-08-10@03:55

    Norika’s method worked! It was definetly easier, thanks for the help.

  27. Rickey M 11-08-10@04:30

    I had the same error 102 message this am, after I was in the web. It all worked fine then shut down, the only page I can still open is my on lin banking page, I use google crome, also try opening internet explorer, wouldnt do, also redid my proxy settings, didn’t work

  28. Chandramohan 12-08-10@04:13

    Amazing help…you are my savior. Thanks so much.

  29. micky 27-09-10@14:12

    im in China and I’m trying to unlock pages like youtube, facebook, twitter and so on. These pages are blocked by the chinese government. Can I use the chrome proxy server to see blocked out pages? Please help.

  30. magnarex 03-12-10@00:59

    GPO to administer Chrome: http://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip

    Complete command line switches.
    http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett

    The above link has autoconfiguration script details too.

    PS: I am looking for a way to stop users from adding –proxy setting to the shortcuts. if any tested methods please share.

    Thanks in advance.

  31. bast 14-12-10@01:01

    i hv done wat u said bt still its not working i dont hv an ip address coz am aoutomatically connected…and my g.chrome version is 8.0.552.215..please help

  32. Joe 17-02-11@02:18

    im at school and running off of google chrome portable and when i try it itz just saying dat its not valid :|

  33. joshua 01-09-11@12:43

    i do not know how to disable proxy server it’s giving me problems with certain websites can someone help me

  34. subham saw 17-09-11@21:32

    when we puting -proxy-server= then show a message, target box is not valid.make sure the file name and path are correct.
    help me

  35. Walker 18-09-11@03:24

    The option switch requires two hyphens and there is a space between chrome.exe and option switch.

  36. Rahul ingle 09-12-11@15:05

    Thank you very much..it is working ..

  37. Ashiq Moosani 02-05-12@20:58

    Thank you. This helped me.

  38. puneet 09-05-12@15:27

    i have changed the target location as mentioned and it has been changed successfuly. But i am not getting rid from juniper web filtering in my university. it is covered by SSL layer.

  39. manojkumar 26-07-12@22:07

    Unable to connect to the server
    A proxy server is a server that acts as an intermediatery between your computer and other servers.Right now,your system is configured to use a proxy,but google chrome can’t connect to it.
    please help me to get ride from this.
    i cant browse in google chrome

  40. Sarah 15-09-12@10:23

    Hi,
    I have no idea what I am doing. But for some reason when I try to use google chrome, it says it is unable to connect to the proxy server. I have no idea how to get my google chrome working again. I have tried uninstalling it and reinstalling it but it still doesn’t work!! I have wifi and internet access, i know this for sure because firefox and internet explorer work. can anyone PLEASE help me?!?!?!

  41. FrustratedByChrome 19-10-12@09:39

    This is highly frustrating. I have tried the following to no avail on XP, Chrome v22 (well, today anyway, I can’t find a way to stop the damn thing from updating)..

    None of these worked:
    “C:\Program Files\Google\Chrome\Application\chrome.exe” –proxy-server=””
    “C:\Program Files\Google\Chrome\Application\chrome.exe” -proxy-server=””
    “C:\Program Files\Google\Chrome\Application\chrome.exe” –proxy-server=
    “C:\Program Files\Google\Chrome\Application\chrome.exe” –proxy-server=none

    This worked:
    “C:\Program Files\Google\Chrome\Application\chrome.exe” –proxy-server=”none”

    Is it really so hard in 2012 for a web browser to have a selection box in the Settings panel to disable the proxy?

  42. JonnyGregs 08-12-12@06:54

    Here is exactly how I did it to mine, and it worked!

    “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –proxy-server=””

  43. wazeeda 17-01-14@22:48

    frustrated by chrome suggestion above works thank you

2014  •  Privacy Policy