Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do i make Windows (Vista) to apply certain proxy server for all applications that use internet?

share|improve this question

7 Answers

up vote 11 down vote accepted

The short answer is: you can't. There is no "global" proxy setting, because proxies are used by individual applications (like Internet Explorer, Firefox, etc.), not by Windows itself. However, some programs internally use Internet Explorer libraries to access the web, so they will use the IE setting, as posted by firedfly.

You can force individual applications to use proxies, even if the applications themselves don't support proxies, by using tools such FreeCAP or Socksify.

If you really do want to force all programs to go through a proxy it would have to be done at the network level, so you would need to establish a VPN connection to a service like Your Freedom or Steganos Internet Anonym.

share|improve this answer
This answer is more correct, as not all software uses the proxy settings for Internet Explorer. Some software gives you the option to use the same settings as Internet Explorer, but not all of them do that. – TFM Aug 26 '09 at 5:30

The default proxy settings are set in Internet Explorer's options.

Tools->Internet Options->Connections tab->Lan Settings button

The proxy information specified here will be the system default. Though, not all applications use the default proxy settings.

share|improve this answer
1  
you can also get to the internet options through the control panel – Chuck Aug 26 '09 at 0:22
if you want to enable windows updates via a proxy server, run this command first: Netsh winhttp import proxy source=ie . Source: answers.oreilly.com/topic/… – knb May 8 at 13:15

Proxifier

enter image description here

Out of the box, you cannot set a global proxy for all applications to use. Although you can enter your proxy details in Internet Explorer as firedfly suggests, this will only work for certain applications (mostly Windows apps, but Google Chrome uses these settings.).

Privoxy does exactly what you are after. It will establish a connection to the proxy and route all of the traffic out it (excluding local traffic, of course). It works on both Windows and OS X, and even has a portable version.

Proxifier is a program that allows network applications that do not support working through proxy servers to operate through an HTTPS or SOCKS proxy or a chain of proxy servers.

With Proxifier you can work with any Internet client (browsers, FTP, IRC, BitTorrent, messengers, telnet, SSH, video/audio, games...) through a network that is separated from Internet by a firewall (only one open port is required for a proxy tunnel to bypass firewall).

I also used this program to answer my Force Steam (and other programs that do not specify proxy settings) to use a proxy question.

share|improve this answer
Excellent - solved my issues! – Robert MacLean Sep 11 '09 at 11:08

You can set a global, machine level proxy by using netsh.exe. Run:

netsh winhttp set proxy <proxy server address> <exception list in quotes, seperated by ;>
share|improve this answer
1  
Pre-Vista versions of Windows use ProxyCfg.exe‌​. – Nick Westgate Jul 5 '12 at 6:16

You can use group policy to set the default proxy server for all users:

In group policy: Local Computer Policy - Computer Configuration - Administrative Templates - Windows Componants -Internet Explorer - enable "Make proxy settings 'Per Machine'rather than 'Per User'" This setting makes it so you don't have to reassign the settings each time a different user logs into the machine.

Local Computer Policy - User Configuration - Windows Settings - Internet Explorer Maintenance - Connection - Proxy Settings. (You can define the proxy settings here)

Local Computer Policy - User Configuration - Windows Settings - Internet Explorer Maintenance - URLs (you can set your default home page, ect, here)

There also is an option to configure Windows Update to use a proxy server:

Netsh winhttp set proxy myproxy

Netsh winhttp set proxy myproxy:80 ";bar"

Netsh winhttp set proxy proxy-server="http=myproxy;https=sproxy:88" bypass-list="*.   contoso.com"

In our environment we ended up using: netsh winhttp set proxy 192.168.0.100:88 "<local>;*.company.com"

share|improve this answer

If you have fiddler you can capture a request from your browser and copy the Proxy-Authorization header, then capture requests from the other program and paste the header to the request. Or you can add a custom rule (Ctrl+R):

if(!oSession.oRequest.headers.Exists("Proxy-Authorization")){
    oSession.oRequest.headers.Add("Proxy-Authorization", "Basic xxxxxxxxxxxxx");
}

where xxxxx is what you captured from the browser's request. Although not a permanent solution it's simple and works fine. Adding the rule also works with streaming turned on.

share|improve this answer

There happens to be a software that may perfect solve your problem -- ProxyAware( http://www.ifayfly.com/proxyaware )

Configure one or several proxy servers in ProxyAware, these settings will be imposed on all applications that are accessing internet in the system, globally as you required.

share|improve this answer
2  
Please disclose your affiliation with this product in case you're the developer or a representative. We generally don't like excessive self-promotion, so keep your posts relevant and mention if you're related to the software you're recommending. – slhck Dec 14 '12 at 16:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.