How to Configure Windows Update to Use a Proxy Server
Re-posting from http://answers.oreilly.com/topic/1391-how-to-configure-windows-update-to-use-a-proxy-server/
Submitted by adfm
Posted Apr 22 2010 04:06 PM
Windows Update can use an HTTP proxy server. However, configuring Windows Internet Explorer is not sufficient to configure Windows Update because Windows Update uses Windows HTTP Services (WinHTTP) to scan for updates and BITS to download updates.
You can configure Windows Update to use a proxy server in two ways:
- Use the Netsh command-line tool, which replaces the Proxycfg.exe tool.
To use the Netsh command-line tool, first switch to the Netsh Winhttp context. Then, use the show proxy command to view settings or the set proxy command to define your proxy server configuration settings. For example, you can run the following command to view current proxy server settings.
Netsh winhttp show proxy
The following commands demonstrate how to configure proxy server settings.
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"
Alternatively, if you have configured Internet Explorer proxy server settings correctly, you can import settings from Internet Explorer into WinHTTP by using the following command.
Netsh winhttp import proxy source=ie
Netsh winhttp reset proxy
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.