Configuring Windows Update to Use a Proxy Server
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:
- Web Proxy Auto Detect (WPAD) settings are configured. The WPAD feature lets services locate an available proxy server by querying a Dynamic Host Configuration Protocol (DHCP) option or by locating a particular Domain Name System (DNS) record.
- 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 "<local>;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
To reset your proxy server settings, run the following command.
Netsh winhttp reset proxy
In this tutorial:
- Managing Software Updates
- Methods for Deploying Updates
- Windows Update Client
- Windows Server Update Services
- System Center Configuration Manager 2007 R2
- Manually Installing, Scripting, and Removing Updates
- Overview of Windows 7 Update Files
- How to Script Update Installations
- How to Remove Updates
- Deploying Updates to New Computers
- Other Reasons to Use a Private Network for New Computers
- Managing BITS
- BITS Behavior
- BITS Group Policy Settings
- Configuring the Maximum Bandwidth Served For Peer Client Requests Policy
- Managing BITS with Windows PowerShell
- Windows Update Group Policy Settings
- Configuring Windows Update to Use a Proxy Server
- Tools for Auditing Software Updates
- The MBSA Console
- MBSACLI
- Scheduling MBSA
- Troubleshooting the Windows Update Client
- The Process of Updating Network Software
- Assembling the Update Team
- Inventorying Software
- Creating an Update Process
- Discovering Updates
- Evaluating Updates
- Speeding the Update Process
- Retrieving Updates
- Testing Updates
- Installing Updates
- Removing Updates
- Auditing Updates
- How Microsoft Distributes Updates
- Security Updates
- Update Rollups
- Service Packs
- Microsoft Product Life Cycles