Windows proxy settings

 

 

Automatically detect settings:

This option is enabled by default. With this setting enabled, you will use the Web Proxy Auto-Discovery (WPAD) protocol. To discover proxy by issuing a DNS query to the WPAD A record current domain and top-level domain by checking DHCP option or XX. When the return address, the query proxy auto-configuration file to the server to download contains the logic to determine the correct agent for a given URL.

How to control Automatically detect settings?

Registry key   : HKCU \ Software \ in the Microsoft \ Windows \ CurrentVersion \ Internet Settings \ 
DWORD AutoDetect = 0 or 1

Use a proxy automatic configuration script

Administrators can also specify automatic configuration script URL directly. Then download and parse the script. PAC script should have .pac extension and contains the javascript function FindProxyForURL contains the required logic (). The script returns DIRECT or PROXY <server>.

How to control the automatic configuration script settings?

注册表项:  HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ 
REG_SZ AutoConfigURL = http:// <your url> /proxy.pac 
REG_DWORD ProxyEnable = 0

Manually specify proxy server

You can also specify proxy server to use a manual, including a list of exceptions.

How to control manually specified proxy server?

注册表项:  HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ 
REG_SZ ProxyServer =“<your proxyserver>:<port>” 
REG_SZ ProxyOverride =“<local>; <your exclusion>” 
REG_DWORD ProxyEnable = 1

Each machine WinINET proxy settings

By default, each user IE proxy settings. This means that users can always change your proxy settings. To force all users on the machine to use a specific proxy server, the proxy may be provided within the scope of the machine. This means that only users with administrative privileges can change the proxy settings. To proxy settings within the range of the machine, you must set the following registry entry or GPO:

GPO: Computer Configuration \ Administrative Templates \ Windows Components \ Internet Explorer \ for each computer (rather than per-user) proxy settings
registry key: HKLM \ Software \ Policies \ Microsoft \ Windows \ CurrentVersion \ Internet Settings
DWORD: ProxySettingsPerUser = 0

You can use the same registry keys to manually specify a proxy server, but they must be set in HKLM rather than the HKCU. You can also run Internet Explorer as an administrator change the computer level settings.

So   x64   and   x86   it?
By default, each user profile IE proxy settings. HKCU registry hive, there is no difference between x86 and x64-, so the configuration settings applicable to both architectures.
When the above changes to the application proxy settings in the machine, the settings are stored in the HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings and HKLM \ Software \ Wow6432Node \ ... 
When using IE to change the settings (operating mode) management members) they will be updated in two locations. If you want to manually set the machine-wide proxy, you must update both locations.

Guess you like

Origin www.cnblogs.com/feiyucha/p/10968938.html