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

Win10 找不到 hosts 檔案?取消隱藏受保護系統檔案即可顯示

編輯:Windows 10 系統介紹

hosts 檔案位於 C:\Windows\System32\drivers\etc,作為域名與 IP 的本地對應資料庫,可加速解析。若在該目錄下看不到 hosts,通常是因為「隱藏受保護的作業系統檔案」選項開啟所致。

操作步驟

  1. 開啟檔案總管,進入 C:\Windows\System32\drivers\etc。
  2. 點選「檢視」索引標籤 → 「選項」。
  3. 於「檢視」標籤,取消勾選「隱藏受保護的作業系統檔案」,按「確定」。
  4. 重新整理資料夾,hosts 檔案即會出現。

修改 hosts 後記得將「隱藏受保護的作業系統檔案」重新勾選,避免誤刪關鍵系統檔案。若需編輯 hosts,請以系統管理員身分執行記事本開啟。

Copyright © Windows教程網 All Rights Reserved