I've recently been trying to get automatic Windows updates working on Vista. Every time it tried to fetch the updates, it reported an error code of 80070057. After getting more detailed information from the WindowsUpdate.log in the Windows directory, the problem turned out to be the proxy server in our office. Whilst my user profile has the correct proxy server settings, the Background Intelligent Transfer Service (BITS) that is used to download Windows updates doesn't. The solution is to set the proxy server for the system.
To see the current proxy settings, run from the command line:
If it says "direct", there are no proxy settings and Windows update probably will not work.
To set the proxy settings, run from the command line (you will probably need to run this with administrative permissions):
netsh winhttp set proxy proxy-server="yourproxy:port"
This will set the proxy server on the system to allow the BITS service to connect to the Windows updates servers.
June 25th, 2008
Using Visual Studio 2005 today, I received a "407 Proxy Authentication Required" message when trying to search the online help integrated into the IDE. KB910804 from Microsoft held the answer.
In order to allow VS2005 through an authenticating proxy, you have to edit the Visual Studio configuration file located at C:\Program Files\Common Files\Microsoft Shared\Help 8\dexplore.exe.config. To add support for the proxy, make sure the proxy element is present:
<defaultProxy enabled="true" useDefaultCredentials="true">
where the correct proxy server is configured in the proxyaddress element.
If you use the integrated help viewer, you must also add this xml to the configuration file located at C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.config.
June 20th, 2006