How to: Change the BypassProxyOnLocal Configuration
If Visual Studio stops responding when a user runs a query in Team Explorer, you might need to reconfigure Internet Explorer so that it does not send requests for local network resources through a proxy server. If your organization uses a script to configure Internet Explorer, some of the settings that it contains might cause this problem.
If your organization does not require the script, you should configure Internet Explorer to ignore the script and detect network settings automatically.
If your organization requires the script, you might be able to update it to avoid this problem.
If you cannot ignore or update the script, you should set the optional registry key, BypassProxyOnLocal, for HKEY_CURRENT_USER (per user) and HKEY_LOCAL_MACHINE (global) to true. This configuration causes the computer to request local resources without going through the LAN proxy server.
If you set BypassProxyOnLocal to true, you might also improve performance when you run the tf.exe command-line tool.
By default, BypassProxyOnLocal is not configured, and all URL requests are routed through a proxy server when Internet Explorer is set to use an automatic configuration script or to detect settings automatically. If you configure this key and set it to true, a URL request is routed through the proxy server only if the requested resource is outside the organization's intranet. If the resource is inside the organization's intranet, the request is not routed through the proxy server. In these local requests, the URI does not contain a period (.). For example, a browser entry of http://webserver/ would not be routed through the proxy server. However, a browser entry of http://www.microsoft.com would.
Incorrectly editing the registry might severely damage your system. Before you change the registry, you should back up any valued data on the computer.
To perform these procedures, you must be a member of the Administrators security group on the local computer.
To disable the use of an automatic configuration script
Open Internet Explorer.
Click Tools, and then click Internet Options.
On the Connections tab, click LAN settings.
In the Local Area Network (LAN) Settings dialog box, clear the Use automatic configuration script check box, and then click OK.
Click OK to close the dialog box.
To configure the BypassProxyOnLocal registry key
Click Start, click Run, type Regedit, and then click OK.
To set the key for the current user:
Locate and then click the following folder under HKEY_CURRENT_USER: Software\Microsoft\VisualStudio\9.0\TeamFoundation\.
Click Edit, click New, and then click Key.
Type RequestSettings for the name of the key.
Right-click RequestSettings, click New, and then click String value.
Type BypassProxyOnLocal for the name of the string.
Right-click BypassProxyOnLocal, and click Modify. In Value data, type True, and then click OK.
To set the key globally (for all users):
Locate and then click the following folder under HKEY_LOCAL_MACHINE: Software\Microsoft\VisualStudio\9.0\TeamFoundation\.
Perform steps 2b through 2d.
On the File menu, click Exit.