Editing the Hosts file

greatg

OSNN Junior Addict
Joined
23 Jan 2004
Messages
17
Running Vista 32 bit. Have deactivated UAC and trying to edit the Hosts files located in C:\Windows\System32\drivers\etc. I'm using notepad to make the changes. When I try to save, I get a message "C:\Windows\System32\drivers\etc\hosts file. Make sure that the path and file name are correct. " When I try to save in a different location, notepad only allows me to save as .txt? Is there some way to save as per original file extension?
 

Johnny

.. Commodore ..
Political Access
Joined
12 Jan 2004
Messages
5,015
The host file is a txt file, per-se. Using a notepad and saving it with out changing the ext on it will allow you to save it.
 

Steevo

Spammer representing.
Political Access
Joined
1 Sep 2004
Messages
2,566
The host file is a txt file, per-se. Using a notepad and saving it with out changing the ext on it will allow you to save it.
This will also make it invalid and the backup copy will be moved in.


Right click it and change permissions on your account to allow full control.
 

Johnny

.. Commodore ..
Political Access
Joined
12 Jan 2004
Messages
5,015
If you right click on it and select edit. Then just save it, it will save as default. The point I was trying to make.
 

kcnychief

??? ??? ?
Political Access
Joined
8 Apr 2005
Messages
16,950
What you have to do is open Notepad first, as administrator. Go to the start menu, type in "notepad" in the search box and it should display Notepad in the top section. Right-click on the icon for Notepad, choose "run as administrator". Once you have it open that way, go to File, Open and browse to the hosts file.

There may be an easier way, but that's the only way I've been able to do it.
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,413
Members
5,591
Latest member
nodee