The question is simple. Suddenly I can't edit my hosts file on win7 anymore.

I am running notepad as administrator, i get access denied saving the file.

Under the security tab of the file it says administrators have read/write permission. The owner is SYSTEM and i can't seem to change that.

I can edit the file running windows in safe mode.

What can i do?


Check if the file doesn't have readonly flag set.

The other issue could be that some protection software installed on your computer prevents editing this file. Try disabling antivirus and similar software temporarely to check if this is the case.

  • 1
    Avira antivirus was blocking that file. Cheers. – Jeroen Nov 23 '11 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.