這篇文章中的信息適用於:
Microsoft Windows Server
Microsoft Windows Server
Microsoft Windows Server
Microsoft Windows Server
如果您在
在有些情況下
NetShell 實用程序 (netsh) 是一個命令行腳本編寫工具
您可以使用該實用程序的 Internet 協議 (IP) 上下文中的 reset 命令重寫以下與 TCP/IP 相關的注冊表項
引用:
SYSTEM\CurrentControlSet\Services\Tcpip\ParametersSYSTEM\CurrentControlSet\Services\DHCP\Parameters
運行此命令的結果與刪除並重新安裝 TCP/IP 協議的效果相同
命令語法
源碼:netsh int ip reset [log_file_name]
要使用netsh 命令重置 TCP/IP 堆棧
備注
命令示例
下面的示例說明了如何使用netsh 命令重置 TCP/IP 協議堆棧
示例
源碼:netsh int ip reset resetlog
備注
示例
源碼:netsh int ip reset c:\resetlog
要查看有關命令的幫助
NETSH INT IP RESET 的日志文件示例
以下本文是一個日志文件的示例
源碼:reset SYSTEM\CurrentControlSet\Services\Dhcp\Parameters\Options\
old REG_MULTI_SZ =
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDomain
SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\DhcpDomain
added SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{
added SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BAA
reset SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BD
old REG_MULTI_SZ =
deleted SYSTEM\CurrentControlSet\Services\Netbt\Parameters\EnableLmhosts
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_DWORD =
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_DWORD =
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_MULTI_SZ =
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_MULTI_SZ =
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_MULTI_SZ =
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_MULTI_SZ =
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{
old REG_MULTI_SZ =
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
old REG_DWORD =
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA
From:http://tw.wingwit.com/Article/os/fwq/201311/10241.html