Check WinHTTP proxy settings

By default the Agent uses WinHTTP and there is a WinHTTP Proxy Configuration Tool that may be used to determine whether the computer's WinHTTP connection is through a proxy or directly to the internet.

For example a proxy setting may have been entered in the Agent but a connection could not be established and on running the tool it is discovered that WinHTTP is connecting directly. After removing the proxy settings in the Agent it then uploads without problem.

To run the WinHTTP Proxy Configuration Tool logon to the server and at the command prompt enter:

proxycfg

This will display the method used by WinHTTP to connect. With an example output below:

Microsoft (R) WinHTTP Default Proxy Configuration Tool

Copyright (c) Microsoft Corporation. All rights reserved.

Current WinHTTP proxy settings under:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\

     WinHttpSettings :

    Direct access (no proxy server).

To access the WinHTTP Proxy Configuration Tool in Vista and Server 2008 at the command prompt enter:

netsh winhttp show proxy

This will display the method used by WinHTTP to connect. With an example output below:

Current WinHTTP proxy settings:

   Direct access (no proxy server).