Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows Server 2003 使用 netsh 指令重設 TCP/IP 協定

編輯:Windows Server 教學

Windows Server 2003 中 TCP/IP 為核心元件,網路連線內容裡的「解除安裝」按鈕為灰色不可用。若需將 TCP/IP 重設為原始狀態,可使用 netsh 指令列工具。

操作步驟

  1. 執行 cmd 開啟命令提示字元。
  2. 輸入以下任一指令並按 Enter:
netsh int ip reset resetlog.txt
netsh int ip reset c:\resetlog.txt

原理說明

reset 指令會重寫 TCP/IP 相關登錄機碼:

  • System\CurrentControlSet\Services\Tcpip\Parameters\
  • System\CurrentControlSet\Services\DHCP\Parameters\

效果等同於解除安裝並重新安裝 TCP/IP 協定。兩指令差異僅在日誌檔 resetlog.txt 儲存位置(目前目錄 vs 指定路徑)。

Copyright © Windows教程網 All Rights Reserved