WinHTTP SDP package information

This article provides information about how to disable WinHTTP tracing that is enabled by using the Support Diagnostic Package (SDP) package.

Original product version:   Windows 7, Windows Server 2008 R2, Windows Server 2008
Original KB number:   2725072

Summary

The SDP for WinHTTP is used to configure WinHTTP tracing on the machine that is experiencing an issue with the WinHTTP technology. The SDP package will collect a WinHTTP trace of an application using the WinHTTP API.

While the SDP package will usually take care of enabling the WinHTTP tracing and disabling the tracing, the trace will need to be manually stopped/disabled if the user decides to cancel the SDP package before the SDP package gets a chance to perform the necessary cleanup. This KB article outlines the steps required to disable WinHTTP tracing depending on the operating system the tracing package was run on.

To disable WinHTTP tracing manually, follow the steps below based on the operating system you were collecting the trace.

Disable WinHTTP tracing manually on Windows Server 2008

  1. Open an elevated command prompt (Run as administrator) and then type the command:

    netsh winhttp reset tracing
    
  2. For 64-bit operating systems, you need to disable tracing for 32-bit applications. To do that, open cmd.exe from an elevated command prompt (Run as administrator) from %windir%\SysWOW64\cmd.exe and then type the command:

    netsh winhttp reset tracing
    
  3. Restart your application that was experiencing the issue to ensure that the tracing stops for your application. You can delete the trace from the location where it was being collected. This trace location is specified when you use the SDP package. By default the SDP package creates the WinHTTP trace in the C:\WinHttpTraces folder.

Disable WinHTTP tracing manually on Windows 7 and Windows Server 2008 R2

  1. Open an elevated command prompt (Run as administrator) and then type the command:

    netsh winhttp reset tracing
    
  2. From the same command prompt, type:

    netsh trace stop
    

    This will stop the ETL trace collection.

  3. For 64-bit operating systems, you need to disable tracing for 32-bit applications. To do that, open cmd.exe from an elevated command prompt (Run as administrator) from %windir%\SysWOW64\cmd.exe and then type the command:

    netsh winhttp reset tracing
    
  4. You don't need to type the following command from the 32-bit command prompt:

    netsh trace stop
    
  5. Restart your application that was experiencing the issue to ensure that the tracing stops for your application. You can delete the trace from the location where it was being collected. This trace location is specified when you use the SDP package. By default the SDP package creates the WinHTTP trace in the C:\WinHttpTraces folder.

References