C:\Windows\System32\drivers\etc\hosts

I am trying to setup a local redirect for my website (like I've always done in XP). It will not let me save!!!

I have taken ownership, I have allowed my account full access and have tweaked every other setting I can think of. Every time I edit and save it pops up a "Access is denied". How do I get past this???

link|improve this question
feedback

migrated from stackoverflow.com Sep 30 '09 at 17:24

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 11 down vote accepted

You have to open it with administrative access.

Launch Notepad with Administrative access then re-open the file.

link|improve this answer
You should accept this answer @Keith Barrows – Kyle Sevenoaks Mar 24 '11 at 9:40
feedback

run notepad as administrator by right-clicking on a shortcut to notepad, and then opening the hosts file.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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