Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to change hosts file in Vista?

share|improve this question

3 Answers 3

up vote 6 down vote accepted

Type

notepad %windir%\system32\drivers\etc\hosts

into the search box in the start menu and press Ctrl+Shift+Enter.

Admin privileges, the right file from the start and it even gets created if it doesn't exist (after a prompt by Notepad).

The keystroke saved for not needing Win+R gets lost for Ctrl+Shift+Enter, though. So yes, it's way more cumbersome to do in Vista than in XP.

I think I may have wasted ... let me check ... 0 seconds on that this year. Nice :-)

share|improve this answer

Isn't easy like at XP.

  • Start -> All Programs -> Accessories
  • Run "Notepad" as administrator
  • Click on File -> Open
  • Go to C:\Windows\System32\Drivers\etc
  • Change the file filter to "All Files (.)"
  • Open "hosts" file
  • Make changes and save.
  • Done
share|improve this answer
1  
That's exactly the same as in XP, sans 2 words. –  Phoshi Oct 19 '09 at 18:13
    
Well, if one takes the convoluted way, it looks like a really horrible procedure :-) –  Joey Oct 19 '09 at 18:41
    
Difference is that in XP users run as administrator by default, so you don't need all the extra work to run notepad as administrator –  davr Oct 19 '09 at 19:23
    
That's the two words difference, yes :-) –  Joey Oct 19 '09 at 20:23
2  
@davr; You mean a right click? Truly vista is the spawn of the devil itself. –  Phoshi Oct 19 '09 at 21:14

Another useful software to edit hosts file : HOSTSMAN

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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