Windows 7 added a feature when using Proxy Auto Detect (WPAD) with Internet Explorer, where if the computer fails to detect the proxy settings once, it will not try again. This is a problem if you then later configure your network to support Proxy Auto Detect. This article explains how to disable this new feature, and allow WPAD to work correctly.
Microsoft Windows 7, Microsoft Internet Explorer
To prevent Windows from tracking which network support WPAD, you need to make a simple registry change:
- Click the Start button, and in the search field, type in "regedit", then select "regedit.exe" from the list of results
- Navigate through the tree to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Wpad"
- Once you have the "Wpad" folder selected, right click in the right pane, and click on "New -> DWORD (32-Bit Value)"
- Name this new value "WpadOverride"
- Double click the new "WpadOverride" value to edit it
- In the "Value data" field, replace the "0" with a "1", then click "OK"
- Reboot the computer
Deploying / Automating
If this is a problem on multiple computers, you may want to have a method of deploying this to large groups at once. There are two ways of doing this:
Method 1: Registry File
The attached .reg file (see link below) is a simple registry script that will create the registry key for the currently logged in user. You can either run this script by hand (double click on it), or have it run as part of your logon script.
Method 2: Group Policy
The attached .adm file is a template that can be loaded into your Group Policy Editor, and can be used to deploy the setting via a Group Policy. To load the template, first download it and save it somewhere on your domain controller, then perform the following steps (on the domain controller).
- Run the Group Policy Object Editor. There are many ways to do this. You can do this however you are most comfortable, or you can follow these directions:
- "Start" -> "Run" -> type "mmc" and click "OK"
- "File" -> "Add/Remove Snap-in"
- Find "Group Policy Object Editor" in the list and click "Add"
- Click the "Browse" button
- Navigate through your Active Directory and find the policy you want to edit, then click "OK"
- Click "Finish"
- Click "Close"
- Click "OK"
- Expand the policy tree to "User Configuration" -> "Administrative Templates".
- Right click on "Administrative Templates" and click "Add/Remove Templates"
- Click "Add..."
- Find the .adm file you just downloaded, then click "Open"
- Click "Close" to close the "Add/Remove Templates" window
- Click on the "View" menu, then "Filtering"
- Uncheck the box "Only show policy settings that can be fully managed"
- Click "OK"
- Now expand the "Administrative Templates" folder, and select "Internet Explorer WPAD Decision Caching"
- In the right pane, double click on "IE WPAD Decision Caching Override"
- Select "Enabled" in the top of the window, then select "Always check for a WPAD file each time..."
- Click "OK"
- Close the policy editor
- Once the group policies on the workstations refresh, the setting will be deployed.