Microsoft Windows [Version 6.1.7000]
(C) Copyright 2009 Microsoft Corp. C:\Windows>netsh winhttp ? The following commands are available: Commands in this context: ? - Displays a list of commands. dump - Displays a configuration script. help - Displays a list of commands. import - Imports WinHTTP proxy settings. reset - Resets WinHTTP settings. set - Configures WinHTTP settings. show - Displays currents settings. To view help for a command, type the command, followed by a space, and then type ?.
Displays a configuration script.
»netsh »winhttp »dump
C:\Windows>netsh winhttp dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
»netsh »winhttp »help
C:\Windows>netsh winhttp help ?
Usage: help
Remarks:
Displays a list of commands.
Imports WinHTTP proxy settings.
»netsh »winhttp »import
C:\Windows>netsh winhttp import ? The following commands are available: Commands in this context: import proxy - Imports proxy setting from IE.
Imports proxy setting from IE.
»netsh »winhttp »import »proxy
C:\Windows>netsh winhttp import proxy ? Usage: import proxy [source=]ie Parameters: Tag Value source - from where the setting is imported Examples: import proxy source=ie
Resets WinHTTP settings.
»netsh »winhttp »reset
C:\Windows>netsh winhttp reset ? The following commands are available: Commands in this context: reset proxy - Resets WinHTTP proxy setting to DIRECT. reset tracing - Resets WinHTTP trace parameters to default.
Resets WinHTTP proxy setting to DIRECT.
»netsh »winhttp »reset »proxy
C:\Windows>netsh winhttp reset proxy ? Usage: reset proxy Remarks: Resets WinHTTP proxy setting to DIRECT.
Resets WinHTTP trace parameters to default.
»netsh »winhttp »reset »tracing
C:\Windows>netsh winhttp reset tracing ? Resets WinHTTP trace parameters to default. Tracing - Disabled trace-file-prefix - None output - File level - Default format - Ansi max-trace-file-size - 65535
Configures WinHTTP settings.
»netsh »winhttp »set
C:\Windows>netsh winhttp set ? The following commands are available: Commands in this context: set proxy - Configures WinHTTP proxy setting. set tracing - Configures WinHTTP tracing parameters.
Configures WinHTTP proxy setting.
»netsh »winhttp »set »proxy
C:\Windows>netsh winhttp set proxy ?
Usage: set proxy [proxy-server=]<server name> [bypass-list=]<hosts list>
Parameters:
Tag Value
proxy-server - proxy server for use for http and/or https protocol
bypass-list - a list of sites that should be visited bypassing the
proxy (use "<local>" to bypass all short name hosts)
Examples:
set proxy myproxy
set proxy myproxy:80 "<local>;bar"
set proxy proxy-server="http=myproxy;https=sproxy:88" bypass-list="*.foo.com"
Configures WinHTTP tracing parameters.
»netsh »winhttp »set »tracing
C:\Windows>netsh winhttp set tracing ?
Usage: set tracing
[output=]file|debugger|both
[trace-file-prefix=]<string>
[level=]default|verbose
[format=]ansi|hex
[max-trace-file-size=]<number>
[state=]enabled|disabled
Parameters:
Tag Value
trace-file-prefix - Prefix for the log file (can include a path)
specify "*" to delete an existing prefix
output - Where the trace entries are written/displayed to
level - How much information to log
format - Display format of network traffic (hex or ansi)
max-trace-file-size - Maximum size of the trace file (in bytes)
state - Enables or disables winhttp tracing
Examples:
set tracing trace-file-prefix="C:\Temp\Test3" level=verbose format=hex
set tracing output=debugger max-trace-file-size=512000 state=enabled
Displays currents settings.
»netsh »winhttp »show
C:\Windows>netsh winhttp show ? The following commands are available: Commands in this context: show proxy - Displays current WinHTTP proxy setting. show tracing - Displays current WinHTTP tracing parameters.
Displays current WinHTTP proxy setting.
»netsh »winhttp »show »proxy
C:\Windows>netsh winhttp show proxy ? Usage: show proxy Remarks: Displays current WinHTTP proxy setting.
Displays current WinHTTP tracing parameters.
»netsh »winhttp »show »tracing
C:\Windows>netsh winhttp show tracing ? Usage: show tracing Remarks: Displays current tracing parameters.
- br -/- de -/- dk -/- en -/- es -/- fr -/- hu -/- it -/- jp -/- pt -/- tr -
