How do I edit the 'hosts' file?

Soldato
Joined
2 Jun 2004
Posts
18,423
windows/system32/drivers/etc/hosts

I can open that file in notepad and edit it, but I can't save it. It just tells me to check the path and filename are correct.

Any idea's? :confused:
 
I got this last time, googled it and everything came up with nothing..

in the end I gave up :\
 
Its most likely read-only. Right click > properties, and deselect read only. Then make it read only again afterwards :)
 
It wouldn't be a bad idea to change it back to read-only when you're done editing. That simple thing might save you from some malware tomfoolery someday.
 
Also on Vista I seem to remember that you have to make sure the Notepad instance is running with elevated privileges. So right-click a Notepad shortcut and choose "Run as Administrator". Then it should let you modify the hosts file.

Gotta love UAC :D
 
Back
Top Bottom