Nova Scotia Flag


Unable To Save Hosts File On Windows Vista Or Windows 7?

June 11th, 2010 admin

If’ you ever need to modify your Hosts file on either Windows 7 or Windows Vista, you’ll probably hit a warning that you need to be an Administrator to modify it?

Now this may seem odd as you’ve also probably already got Administrative rights on the PC?

This is a new safety measure originally introduced in Vista to stop rogue (spyware) applications from modifying hosts and redirecting traffic to other sites.

However, you can still modify the file:

Right Click on “Command Prompt” icon, and select “Run as Administrator”

cd \windows\system32\drivers\etc

notepad hosts

You should now be able to save the file without any problems.

  • Bhagat Sameer

    Thanks works great

  • Medishettyanil

    not working for win 7

  • Noneman

    not working on win 7

  • Faris

    This is genius
    Thanks a lot for this article
    It worked perfect in my PC and solved a nightmare problem
    By the way I am using Vista


  • Maddi1in

    working well on Win 7, Thanks It solved my problem

  • peru

    Cheers man. It worked perfectly.. thanks

  • Mohite

    Works like a charm….

  • Rajan

    It’s great man.Thanks for the articles

  • Larry

    Yes! Great post! Worked perfectly. Thank you.

Tags: , ,