Chrome/Edge : Setting proxy via GPO











If you have Chrome or Edge, and you need to set the proxy via group policy gone with days where you could, individually specify, proxy, servers, or configuration files, and ports and exclusions.

Note : Edge being built on chromium means the same settings for chrome will also apply for Edge, unfortunately, though chrome is still the better browser

You will get the option in both of these to configure proxy server, but you need to get the syntax, correct, these policies can apply either for the user or the computer, Everybody needs the same settings I would recommend for the computer because use the options can then be overridden.

below is the location of this object in group policy, If you are applying to the User, you will need to look under the user configuration rather than computer configuration:

Computer Configuration -> Policies -> Administrative Templates -> Classic Administrative Templates (ADM) -> Google -> Google Chrome -> Proxy Server

when you enable the setting, you will have a single option to set so you need to get the syntax correct, The valid options are as follows:

note : If you don’t require a proxy, please do not set a proxy setting and then choose the direct option, Simply leave it unset unless your goal is to stop people amending it in which case it might be worth having a group policy.

  • "direct" = Never use a proxy
  • "auto_detect" = Auto detect proxy settings
  • "pac_script" = Use a .pac proxy script
  • "fixed_servers" = Use fixed proxy servers
  • "system" = Use system proxy settings

in this example, I will be using a fixed server to set my proxy, and you need to put the single format line in the configuration box that includes the mode, then the server, then any bypass list like this:

{"ProxyMode": "fixed_servers", "ProxyServer": "squid.bear.local:3129", "ProxyBypassList": "*.local,*.bear,10.*""}


If you would rather not use a fixed server like above, and you would rather get back in your De-Lorian and go back to 1994 when pac files were cool you could use this:


{"ProxyMode": "pac_script", "https://backthen.bears.local/1994.pac"}


Obviously, depending on the auction you choose from about all depend on the syntax, you need to put after that command, but for no proxy or system proxy or auto discover proxy (or WPAD in Windows), you only need that variable defined.


Previous Post Next Post

نموذج الاتصال