Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win8 內建 Windows Defender 阻擋修改 hosts 檔案?加入排除清單即可解決

編輯:關於 Windows

修改 C:\Windows\System32\drivers\etc\hosts 檔案時,Win8 內建 Windows Defender 會攔截拒絕寫入。將 hosts 檔案加入 Defender「排除的檔案和位置」即可繞過攔截。

設定步驟

  1. 開啟「Windows Defender」→ 「設定」索引標籤。
  2. 左側選擇「排除的檔案和位置」。
  3. 右側點擊「瀏覽」→ 定位至 C:\Windows\System32\drivers\etc\hosts → 「新增」。
  4. 點擊「儲存變更」。

Defender 設定排除檔案

設定完成後,即可自由編輯 hosts 檔案 (如封鎖廣告域名、加速域名解析、測試本地網站) 而不被 Defender 攔截。hosts 檔案權限高於 DNS,常被用於屏蔽惡意/廣告網站 (將域名指向 127.0.0.1 或 0.0.0.0)。

Copyright © Windows教程網 All Rights Reserved