Mar 012008

When you try to change the Hosts file or the Lmhosts file in Microsoft Windows Vista, you may receive an error message that resembles either of the following.

Error message 1

Access to C:\Windows\System32\drivers\etc\ hosts was denied

Error message 2

Cannot create the C:\Windows\System32\drivers\etc\hosts file.
Make sure that the path and file name are correct.

This issue occurs even though you log on by using an account that has administrative credentials.


Click Start, click All Programs, click Accessories, right-click Notepad, and then click Run as administrator.

If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.

Open the Hosts file or the Lmhosts file, make the necessary changes, and then click Save on the Edit menu.

Incoming search terms:

  8 Responses to “Fix for when you edit Hosts or the Lmhosts file access denied error in vista”

  1. Thank you SO much.

  2. Worked perfect. Thanks.

  3. That’s it. Thank you very much.

  4. Thanks you so much this worked for Photoshop CS5

  5. THANKS!

  6. Thanks! It works

  7. Thank you!! It works.

  8. I’ve tried to do as you said, but that wasn’t help for me. could you bring any solution to me? thx

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>