ADJ網路實驗室
打印

[介紹] 要如何在Windows 7 中修改 hosts 檔的方法

要如何在Windows 7 中修改 hosts 檔的方法

如果要在電腦設定DNS指向的問題,有時需要動到Windows系統裡面的hosts檔,以前在XP,只要是以管理員身分登入,就可以很容易修改裡面的內容,但前陣子在用Windows7時,發現都有同樣的問題,就算是以系統管理員身分登入,要修改hosts檔時,仍然都是跳出存取被拒的訊息:
試了很久才找到解決的方法:

當您嘗試在 Microsoft Windows Vista 中變更 Hosts 檔案或 Lmhosts 檔案時,可能會收到類似下列其中一個錯誤訊息。

錯誤訊息 1
存取 C:\Windows\System32\drivers\etc\hosts 被拒

錯誤訊息 2
無法建立 C:\Windows\System32\drivers\etc\hosts 檔案。
請確定路徑和檔案名稱正確。


即使您使用具有系統管理認證的帳戶登入,還是會發生這個問題。
如果要解決這個問題,請依照下列步驟執行:

要先用有權限的人來開啟 Notepad ( 記事本 ) 之後再開 hosts 檔就可以了  ( 有點像是 Linux 的 sudo 的作法 ) ,做法就是先點「開始」 > 「附屬應用程式」> 將游標停在「記事本」上後按滑鼠右鍵點「以系統管理員身份執行(A)」,這樣開啟「記事本」之後,再去開 hosts 檔就可以編輯和儲存了。




圖示教學如下:
http://bbs.txwy.tw/viewthread.php?tid=3282
附件: 您所在的用戶組無法下載或查看附件





TOP


揪咪!了解了收到!!


TOP

Erotic Service

When you're in Lajpat Nagar, you deserve the best company. Our Escort in Lajpat Nagar service brings you beautiful, passionate women who are ready to make your night unforgettable. These women are not just stunning—they're intelligent, fun-loving, and know how to keep you entertained. Whether you want to explore the city or just enjoy a quiet evening in your hotel room, they're perfect for every occasion. With affordable rates and verified profiles, we make it easy to find your dream companion. Call us now and let the fun begin.


TOP

ARTERY.cn