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

Win7 關閉 IPv6 協定解決網遊 Ping 值跳動問題

編輯:Windows 7 系統介紹

部分 Windows 7 玩家回報線上遊戲 Ping 值忽高忽低、嚴重跳動,經排查常與 IPv6 協定干擾 IPv4 路由 有關。微軟官方提供登錄表修改法可完整停用 IPv6 協定堆疊,穩定遊戲連線。

官方建議停用方式(登錄表匯入)

  1. 開啟記事本,貼入以下內容:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters]
"DisabledComponents"=dword:ffffffff
  1. 另存為 disable_ipv6.reg(編碼選 ANSI/UTF-8)
  2. 雙擊檔案 → 「是」匯入登錄表
  3. 重新開機 生效

參數說明

DisabledComponents = 0xFFFFFFFF 為位元遮罩完整停用:

  • Bit 0 (0x1):停用 IPv6 介面
  • Bit 1 (0x2):停用 6to4
  • Bit 2 (0x4):停用 ISATAP
  • Bit 3 (0x8):停用 Teredo
  • Bit 4 (0x10):停用原生 IPv6
  • Bit 5 (0x20):停用 IPv6 隧道介面
  • Bit 6 (0x40):停用 IPv6 預設閘道
  • Bit 7 (0x80):停用 IPv6 DNS 解析

完整遮罩 0xFF (255) 即上述全部停用;微軟文件建議 0xFF 或 0xFFFFFFFF 均可達成完全停用。

驗證是否生效

  1. Win+R → cmd → ipconfig /all
  2. 確認所有介面卡 不再顯示 IPv6 位址(無 fe80::、無 2xxx:: 開頭位址)
  3. ping -6 localhost 應回傳「一般失敗」或「找不到主機」

恢復 IPv6

刪除登錄表鍵值 DisabledComponents 或設為 0,重開機即可恢復。

參考資源

微軟官方 KB 文件:How to disable IPv6 or its components in Windows

Copyright © Windows教程網 All Rights Reserved