Modify Hosts File

  
in Vista System When you modify the Hosts file or Lmhosts file in Windows Vista, two errors may occur.
Error message 1
Denied access C:\\Windows\\System32\\drivers\\etc\\hosts
Error message 2
Cannot create file C:\\Windows\\System32\\drivers\\etc\\hosts.
Please confirm that the path and file name are correct.
This issue occurs even when you log in with an account that has administrative credentials.
Alternative
To resolve this issue, follow these steps:
1. Click "Start", click "All Programs", click "Accessories", right click "Notepad" And click "Run as administrator".
If you are prompted for an administrator password or for confirmation, type your password or click Allow.
2. Open the Hosts file or the Lmhosts file, make the necessary changes, and click Save on the Edit menu.

Copyright © Windows knowledge All Rights Reserved