Windows 10 netsh winhttp 命令

Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. C:\Windows>netsh winhttp ? 下列指令有效: 此上下文中的命令: ? - 显示命令列表。 dump - 显示一个配置脚本。 help - 显示命令列表。 import - 导入 WinHTTP 代理服务器设置。 reset - 重置 WinHTTP 设置。 set - 配置 WinHTTP 设置。 show - 显示当前设置。 若需要命令的更多帮助信息,请键入命令,接着是空格, 后面跟 ?。

显示一个配置脚本。

»netsh »winhttp »dump


C:\Windows>netsh winhttp dump ?

用法: dump

说明:
    创建一个包含当前配置的脚本文件。如果保存到
    文件,此脚本可以用来还原更改的配置设置。

显示命令列表。

»netsh »winhttp »help


C:\Windows>netsh winhttp help ?

用法: help

说明:
       显示命令列表。

导入 WinHTTP 代理服务器设置。

»netsh »winhttp »import


C:\Windows>netsh winhttp import ?

下列指令有效:

此上下文中的命令:
import proxy   - 从 IE 导入代理服务器设置。

从 IE 导入代理服务器设置。

»netsh »winhttp »import »proxy


C:\Windows>netsh winhttp import proxy ?

用法:  import proxy [source=]ie

参数:

  标记        值
  source  -  从此处导入设置

示例:

  import proxy source=ie

重置 WinHTTP 设置。

»netsh »winhttp »reset


C:\Windows>netsh winhttp reset ?

下列指令有效:

此上下文中的命令:
reset autoproxy - 重置 WinHTTP 代理自动发现服务。
reset proxy    - 将 WinHTTP 代理服务器设置重置为 DIRECT。
reset tracing  - 使用 netsh trace stop。

重置 WinHTTP 代理自动发现服务。

»netsh »winhttp »reset »autoproxy


C:\Windows>netsh winhttp reset autoproxy ?

用法:  reset autoproxy 

备注: 重置 WinHTTP 代理自动发现服务。

将 WinHTTP 代理服务器设置重置为 DIRECT。

»netsh »winhttp »reset »proxy


C:\Windows>netsh winhttp reset proxy ?

用法:  reset proxy 

说明: 将 WinHTTP 代理服务器设置重置为 DIRECT。

使用 netsh trace stop。

»netsh »winhttp »reset »tracing


C:\Windows>netsh winhttp reset tracing ?

使用 netsh trace stop。

配置 WinHTTP 设置。

»netsh »winhttp »set


C:\Windows>netsh winhttp set ?

下列指令有效:

此上下文中的命令:
set proxy      - 配置 WinHTTP 代理服务器设置。
set tracing    - 使用 netsh trace start scenario=InternetClient。

配置 WinHTTP 代理服务器设置。

»netsh »winhttp »set »proxy


C:\Windows>netsh winhttp set proxy ?

用法:  set proxy [proxy-server=]<server name> [bypass-list=]<hosts list>

参数:

  标记              值
  proxy-server  -  http 和/或 https 协议使用的代理服务器
  bypass-list   -  绕过代理服务器访问的站点列表
                   (使用 "<local>" 绕过所有短名称主机)

示例:

  set proxy myproxy
  set proxy myproxy:80 "<local>;bar"
  set proxy proxy-server="http=myproxy;https=sproxy:88" bypass-list="*.foo.com"

使用 netsh trace start scenario

»netsh »winhttp »set »tracing


C:\Windows>netsh winhttp set tracing ?

使用 netsh trace start scenario=InternetClient。

显示当前设置。

»netsh »winhttp »show


C:\Windows>netsh winhttp show ?

下列指令有效:

此上下文中的命令:
show proxy     - 显示当前的 WinHTTP 代理服务器设置。
show tracing   - 使用 netsh trace show。

显示当前的 WinHTTP 代理服务器设置。

»netsh »winhttp »show »proxy


C:\Windows>netsh winhttp show proxy ?

用法:  show proxy 

说明: 显示当前的 WinHTTP 代理服务器设置。

使用 netsh trace show。

»netsh »winhttp »show »tracing


C:\Windows>netsh winhttp show tracing ?

使用 netsh trace show。



- cn -/- de -/- en -









Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



HTTP: ... console/en/index.htm
0.171
8291
I do not want to keep the calendar running in the background!
The desktop note is transparent I can barely see the font, why?
What if the Window-7 or Windows-8 activation period has expired?
Can I still use this to terminate applications on Windows 11 and 12?
Can I still play Microsoft Solitaire on Windows 11 / 10?
FAQ: Wozu ist das schnelle Einfügen von Texten unter Windows geeignet?
Lieber mit Gastkonto als mit Standard User unter Windows 11 surfen, arbeiten!
Wie kann ich in Print.Test.Page.OK den Testseiten- Ausdruck loswerden?
How do I schedule a restart for Windows Update on Windows 11?
How do I sort the order for the Copy Paste menu?



(0)