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

Win10 瀏覽器 (Edge/IE) 網頁亂碼相容性修復:群組原則強制 User Agent 為 MSIE 9.0

編輯:Win10 系統應用技巧

Win10 Edge/IE 瀏覽舊版網站 (銀行/政府/企業內部系統) 出現亂碼、排版錯亂,主因網站依 User Agent 判斷瀏覽器版本回傳錯誤編碼。群組原則強制 User Agent 為 MSIE 9.0 即可解決。

設定步驟

  1. Win+R → gpedit.msc 開啟群組原則編輯器。
  2. 依序展開:電腦設定 → 系統管理範本 → Windows 元件 → Internet Explorer → 自訂使用者代理程式字串。
  3. 雙擊 → 「已啟用」→ 選項輸入 MSIE 9.0 → 「確定」。
  4. 重新啟動 Edge/IE 生效。

注意: 此設定全域生效,可能影響現代網站正常渲染。建議僅在相容模式下使用,或改用 Edge「以 Internet Explorer 開啟」功能 (右上角 ⋯ → 以 Internet Explorer 開啟) 單獨處理問題網站。

Copyright © Windows教程網 All Rights Reserved