|
Now before I get 'F'd up the A' for a problem that seems obvious.. I've tried everything. Tried making myself an admin through the cmd dialogue. Right clicked on notepad > run as administrator > drilled down to hosts file, no joy. I just keep getting the 'sample' hosts file every time I attempt to open. This is driving me coco bananas, any ideas? |
Can't open/edit hosts file in Windows 7
-
famous_roy 4,126 posts
Seen 3 years ago
Registered 16 years ago -
Normski 27 posts
Seen 9 years ago
Registered 16 years agoAre you sure it's not being moved to the Virtual Store when you save it? So every time you reopen it from it's original location, you're seeing the same thing? -
BadDevotions 554 posts
Seen 4 years ago
Registered 20 years agoi remember having a similar issue - turned out it had been protected. I can now open, edit and save it. i *think* all i did was disable the read-only flag.
it should be here, yar? C:\Windows\System32\drivers\etc -
famous_roy 4,126 posts
Seen 3 years ago
Registered 16 years agoBad Devotions wrote:
i remember having a similar issue - turned out it had been protected. I can now open, edit and save it. i *think* all i did was disable the read-only flag.
it should be here, yar? C:\Windows\System32\drivers\etc
Yep that's the right place, how did you disable the read only business?
@Normski I can't even open the file properly, it always gives me the same file about how 'this is an example hosts file'. -
BCrowe 543 posts
Seen 12 hours ago
Registered 15 years agoMy hosts file says it's a sample file too, but it still works as the real thing. It's just a comment at the top, it doesn't mean anything. Unless the file you're opening is called something other than just "hosts".
You should be able to remove the read-only property by right clicking the file, selecting "Properties" and unselecting "Read-only". -
famous_roy 4,126 posts
Seen 3 years ago
Registered 16 years agoAwesome chaps, cheers for this. I'll give it a whizz when I get home tonight
-
Alternatively, copy it to your Desktop (or somewhere else that isn't under admin writes), make your changes, and copy and paste the file back to drivers/etc -
Someone please please please help me ='(
i need to go into a host file to remove a line
I found the file, know how to open it, is it really just a simple case of highlighting the line, delte, and save...? -
omg yes i did it, thanx anyway =) -
If it's a hosts file then yes, the format is that simple.
Sometimes posts may contain links to online retail stores. If you click on one and make a purchase we may receive a small commission. For more information, go here.
