Running Vista Home Premium with all updates.
I'm trying to add something to the 'hosts' file in
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?
You will need to run notepad with elevated permissions.
notepad (in search bar)
right click notepad in results
run as administrator
within this notepad open/edit/and save the hosts file
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 > .....
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.
|Tags: hosts file, vista home, windows update|
|Thread Tools||Search this Thread|
|Similar Threads for: "C:\WINDOWS\system32\drivers\etc\hosts"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|C:\WINDOWS\system32\drivers\etc\hosts doesn't firstname.lastname@example.org||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|