Take the 2-minute tour ×
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
    
Can this question be applied to Win 7 & 8 as well ? –  Simon Aug 26 '13 at 13:45
add comment

7 Answers

up vote 18 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
add comment

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 '13 at 13:15
add comment

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
    
Looks nice, but it's very expensive: $40 for a license, that is not cross-platform, despite the fact that they have both OS X and Windows versions. –  iconoclast Jul 8 '13 at 16:48
add comment

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
add comment

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
add comment

If you have fiddler you can look at requests from your browser after you have already authenticated and copy the Proxy-Authorization header, then set a breakpoint before requests to capture requests from your program and paste the header to the request. Or you can add a custom rule inside OnBeforeRequest (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
add comment

A proxifier is a software program which can make other programs pass through a proxy server by intercepting and modifying their network requests.

Wikipedia: Comparison of proxifiers

share|improve this answer
add comment

protected by Community Sep 6 '13 at 16:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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