大网数据广告活动
Windows排障命令

netsh netio

· 52CE 我爱测

The netsh netio command manages network binding filters in Windows.

The netsh netio command is used to manage network binding filters, allowing administrators to control which clients can bind to specific network providers.

Syntax

netsh netio [add | delete | dump | help | show | ?]
netsh netio add bindingfilter [npi=]<string> [client=]<string> [provider=]<string>
                              [type=](block|singleclient) [store=](active|persistent)
netsh netio delete bindingfilter [npi=]<string> [client=]<string> [provider=]<string>
                                 [store=](active|persistent)
netsh netio dump
netsh netio show bindingfilter [store=](active|persistent)

Parameters

Command Description
netio add bindingfilter Adds a new binding filter. <li> npi - Specifies the NPI (Network Programming Interface) GUID or name. <li> client - Specifies the client GUID or name. <li> provider - Specifies the provider GUID or name. <li> type - Determines the filter type. block prevents the specified client from binding to the provider. singleclient allows only the specified client to bind to the provider (default). <li> store - Specifies filter persistence. active indicates the filter is temporary and will disappear on the next boot. persistent indicates the filter remains in effect across reboots (default). </li>
netio delete bindingfilter Removes an existing binding filter. <li> npi - Specifies the NPI GUID or name. <li> client - Specifies the client GUID or name. <li> provider - Specifies the provider GUID or name. <li> store - Specifies filter persistence. active indicates the filter removal is temporary will reappear after the system is rebooted. persistent indicates the filter removal is permanent and remains in effect across system reboots (default). </li>
netio dump Creates a script containing the current netio configuration. The script can be saved to a file and used to restore settings if they're altered or need to be replicated on another system.
netio show bindingfilter Displays all binding filters. store - Specifies the filter persistence. active displays the filters in the stack (default). persistent displays all persistent filters.
help or ? Displays a list of commands and their descriptions in the current context.

Examples

To block a specified client from binding to a provider persistently, you can run the following command:

netsh netio add bindingfilter npi="NPI_Name" client="Client_Name" provider="Provider_Name" type=block store=persistent

To permanently remove a binding filter, you can run the following command:

netsh netio delete bindingfilter npi="NPI_Name" client="Client_Name" provider="Provider_Name" store=persistent

To display all active binding filters, you can run the following command:

netsh netio show bindingfilter store=active

See also

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 08/12/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。