Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



C:\WINDOWS\system32\drivers\etc\hosts

Vista Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 01-04-2009
Cuzman
 
Posts: n/a
C:\WINDOWS\system32\drivers\etc\hosts


Running Vista Home Premium with all updates.

I'm trying to add something to the 'hosts' file in
C:\WINDOWS\system32\drivers\etc

If I open the 'hosts' file with notepad I can then add the line I want
at the bottom, but then I can't seem to save it again.

If I simply click 'save' it gives me the message:

Cannot create the C:\WINDOWS\system32\drivers\etc\hosts file.
Make sure that the path and filename are correct.

Can anyone advise how to amend this file and save it?

Reply With Quote
  #2  
Old 01-04-2009
Dave-UK
 
Posts: n/a
Re: C:\WINDOWS\system32\drivers\etc\hosts

It may be your antivirus software (if you have any) stopping you from editing the hosts file.
Reply With Quote
  #3  
Old 01-04-2009
Michael Walraven
 
Posts: n/a
Re: C:\WINDOWS\system32\drivers\etc\hosts

You will need to run notepad with elevated permissions.

Start Orb
notepad (in search bar)
right click notepad in results
run as administrator
within this notepad open/edit/and save the hosts file

Michael
Reply With Quote
  #4  
Old 01-04-2009
Jon
 
Posts: n/a
Re: C:\WINDOWS\system32\drivers\etc\hosts

You can also modify the security descriptor for the file to 'take ownership'
and give yourself full access.

Right-click the hosts file > Properties > Security > .....
Reply With Quote
  #5  
Old 08-05-2009
Twinn II
 
Posts: n/a
What you can do, make a backup copy of it with a different name, delete it
and replace it back in the directory. Remember, to put "hosts" in quotes so
it does not add an extension.

As the OP hasn't bothered to come back with any feedback
I wouldn't waste any more time on this thread.

In any circumstance, run Notepad with admin privileges ( even if you are an
admin) and it will save the file.
Reply With Quote
  #6  
Old 08-05-2009
pacinitaly
 
Posts: n/a
Re: C:\WINDOWS\system32\drivers\etc\hosts

just download a new host file and open it w/ notepad and then save it (
in safe mode)

'Blocking Unwanted Parasites with a Hosts File'
(http://www.mvps.org/winhelp2002/hosts.htm)
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "C:\WINDOWS\system32\drivers\etc\hosts"
Thread Thread Starter Forum Replies Last Post
C:\WINDOWS\system32\drivers\etc\hosts doesn't work! jennapeltz@gmail.com Windows XP Support 7 02-01-2009 11:21 PM
C:\Windows\System32\drivers\etc\hosts Yan Vista Help 1 20-09-2008 02:05 AM
C:\WINDOWS\system32\drivers\classpnp.sys Sasheal Windows Vista Performance 1 19-03-2008 05:32 AM
C:/windows/system32/spool/drivers/w32x86/3/LXCFtime.dll GanarDan Windows XP Support 1 15-12-2007 04:10 PM
RE:AVG Error Message- Reading Error c:\windows\system32\drivers\etc\hosts kusumanabh AntiVirus Software 3 12-01-2007 04:20 AM


All times are GMT +5.5. The time now is 07:21 PM.