|
| | |||||||
| Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| 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? |
| |
|
#2
| |||
| |||
| 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 "Cuzman" <cuzGETRID@f2s.com> wrote in message news:ufmdnX6_hNkpC07UnZ2dnUVZ8syWnZ2d@pipex.net...[color=blue] > > 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?[/color] |
|
#3
| |||
| |||
| Re: C:\WINDOWS\system32\drivers\etc\hosts "Cuzman" <cuzGETRID@f2s.com> wrote in message news:ufmdnX6_hNkpC07UnZ2dnUVZ8syWnZ2d@pipex.net...[color=blue] > > 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?[/color] It may be your antivirus software (if you have any) stopping you from editing the hosts file. |
|
#4
| |||
| |||
| 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 > ..... -- Jon "Cuzman" <cuzGETRID@f2s.com> wrote in message news:ufmdnX6_hNkpC07UnZ2dnUVZ8syWnZ2d@pipex.net...[color=blue] > > 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?[/color] |
|
#5
| |||
| |||
| Re: C:\WINDOWS\system32\drivers\etc\hosts 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. "Dave-UK" wrote: [color=blue] > > "Cuzman" <cuzGETRID@f2s.com> wrote in message news:ufmdnX6_hNkpC07UnZ2dnUVZ8syWnZ2d@pipex.net...[color=green] > > > > 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?[/color] > > It may be your antivirus software (if you have any) stopping you from editing the hosts file. > > >[/color] |
|
#6
| |||
| |||
| Re: C:\WINDOWS\system32\drivers\etc\hosts "Twinn II" <Twinn [email]II@discussions.microsoft.com[/email]> wrote in message news:6C4FA4CE-CCF1-41C9-A259-D6691565C3BC@microsoft.com...[color=blue] > 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. > > > "Dave-UK" wrote: >[color=green] >> >> "Cuzman" <cuzGETRID@f2s.com> wrote in message news:ufmdnX6_hNkpC07UnZ2dnUVZ8syWnZ2d@pipex.net...[color=darkred] >> > >> > 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?[/color] >> >> It may be your antivirus software (if you have any) stopping you from editing the hosts file. >> >> >>[/color][/color] As the OP hasn't bothered to come back with any feedback I wouldn't waste any more time on this thread. |
|
#7
| |||
| |||
| Re: C:\WINDOWS\system32\drivers\etc\hosts In any circumstance, run Notepad with admin privileges ( even if you are an admin) and it will save the file. -- Seymour "Dave-UK" <here@home.com> wrote in message news:o92dnRhaxu-MSp7XnZ2dnUVZ8oKdnZ2d@giganews.com...[color=blue] > > "Twinn II" <Twinn [email]II@discussions.microsoft.com[/email]> wrote in message > news:6C4FA4CE-CCF1-41C9-A259-D6691565C3BC@microsoft.com...[color=green] >> 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. >> >> >> "Dave-UK" wrote: >>[color=darkred] >>> >>> "Cuzman" <cuzGETRID@f2s.com> wrote in message >>> news:ufmdnX6_hNkpC07UnZ2dnUVZ8syWnZ2d@pipex.net... >>> > >>> > 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? >>> >>> It may be your antivirus software (if you have any) stopping you from >>> editing the hosts file. >>> >>> >>>[/color][/color] > > As the OP hasn't bothered to come back with any feedback > I wouldn't waste any more time on this thread. > > > >[/color] |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multi(0)disk(0)rdisk(0)partition(1)\Windows\system32\drivers\atisg | gmlgraham | Windows XP | 3 | 02-27-2008 06:30 PM |
| how can update my c:\windows\system32\drivers\etc\services ? | MxCityProgrammer | Windows Vista | 2 | 12-28-2007 05:30 PM |
| Using wildcards in the C:\WINDOWS\system32\drivers\etc\HOSTS file? | gaikokujinkyofusho@gmail.com | Windows XP | 2 | 11-26-2007 06:50 PM |
| Where is \WINDOWS\system32\drivers\etc\hosts ??? | Cat | Internet Explorer | 4 | 06-28-2007 05:30 PM |
| Windows could not start because the following file is missing or corrupt: System32\Drivers\Ntfs.sys | tdk | Windows XP | 20 | 01-04-2007 05:17 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |