Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-01-2009, 09:40 AM
Cuzman
Newsgroup Contributor
 
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-01-2009, 09:40 AM
  #2 (permalink)  
Old 04-01-2009, 09:50 AM
Michael Walraven
Newsgroup Contributor
 
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


"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]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-01-2009, 09:50 AM
Dave-UK
Newsgroup Contributor
 
Posts: n/a
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 04-01-2009, 09:50 AM
Jon
Newsgroup Contributor
 
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 > .....

--
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]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 05-07-2009, 02:10 PM
Twinn II
Newsgroup Contributor
 
Posts: n/a
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]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 05-08-2009, 12:00 AM
Dave-UK
Newsgroup Contributor
 
Posts: n/a
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.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 05-08-2009, 04:50 AM
Seymour Newman
Newsgroup Contributor
 
Posts: n/a
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]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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 07:30 PM
how can update my c:\windows\system32\drivers\etc\services ? MxCityProgrammer Windows Vista 2 12-28-2007 06:30 PM
Using wildcards in the C:\WINDOWS\system32\drivers\etc\HOSTS file? gaikokujinkyofusho@gmail.com Windows XP 2 11-26-2007 07:50 PM
Where is \WINDOWS\system32\drivers\etc\hosts ??? Cat Internet Explorer 4 06-28-2007 06: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 06:17 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:00 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0