Monday, April 26, 2010

How To Configure Windows Update Proxy Server Settings In Windows Vista SP1?

Windows Update requires two other clients to work, i.e. WinHTTP (Windows HTTP Service) and BITS (Background Intelligent Transfer Service) to scan and download the available updates from Microsoft servers.

Interestingly, none of these services is using Internet Explorer proxy setting. Indeed, Windows Update clients refers to WinHTTP proxy server setting that is either configured manually by user or automatically updated by Web Proxy Auto Detect (WPAD) feature of the connecting network.

Therefore, laptop users who access Internet via proxy server in corporate network with WPAD feature enabled are likely have problem to run Windows Update after switching to direct network (e.g. home broadband, public WIFI, etc) or other network that enforce proxy server for Internet access but disable Web Proxy Auto Detect setting.

WPAD setting is normally configured by network administrator in either DNS (Domain Name System) or DHCP (Dynamic Host Configuration Protocol) option.

In case Win HTTP proxy server setting is not updated, you have to do it manually.

The following guide to disable / enable WinHTTP proxy server is based on Windows Vista SP1. Anyway, it should be working on other Windows versions that support netsh command set.

To disable WinHTTP proxy server

How to disable or configure Windows Update proxy settings?Execute netsh winhttp show proxy to check if you have a proxy server configured for WinHTTP. To disable the WinHTTP proxy setting:

1) Open an elevated Command Prompt window (i.e. Command Prompt window with real Administrator privilege).

2) Execute
netsh winhttp reset proxy to reset WinHTTP proxy setting to DIRECT (i.e. to connect to Internet directly without using any kind of proxy server).

Configure Win HTTP proxy setting

If the connecting network does not enable Web Proxy Auto Detect setting but requires proxy server (e.g. IP 188.8.6.7 and port number 80) to access Internet:

1) Open a Command Prompt window with real Administrator privilege.

2) Execute
netsh set proxy 188.8.6.7:80.

To view netsh help and example on WinHTTP proxy configuration, execute this
netsh winhttp set proxy help 

According to the netsh winhttp help, it’s possible to define different proxy server for http and/or https connection.

No comments:

Post a Comment