Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows XP » microsoft.public.windowsxp.basics
Thread: Where is the HOSTS file supposed to be located?

HTVi
TV Discussion Newsgroups

Where is the HOSTS file supposed to be located?
Jackson <jjacXkdins[ at ]Xcox.net> 6/24/2007 7:49:49 PM
Win XP(MCE), updated

There is a HOSTS file in each of these these three directories:

=> C:\i386
=> C:\Documents...\AllUsers\...\automaintanence
=> C:\Windows\system32\etc

Which one of these is the file in active use when I use IE or FireFox?
Do I need them all?

I want to temporarily rename the active one to run a test. I can't
view the videos on the weather channel and I want to see if removing
the HOSTS file has any effect.

Thanks...

Re: Where is the HOSTS file supposed to be located?
"Ken Blake, MVP" <kblake[ at ]this.is.am.invalid.domain> 6/24/2007 8:03:26 PM
On Sun, 24 Jun 2007 14:49:49 -0500, Jackson <jjacXkdins[ at ]Xcox.net>
wrote:

[Quoted Text]
> Win XP(MCE), updated
>
> There is a HOSTS file in each of these these three directories:
>
> => C:\i386
> => C:\Documents...\AllUsers\...\automaintanence
> => C:\Windows\system32\etc
>
> Which one of these is the file in active use when I use IE or FireFox?


The host file is in C:\Windows\system32\etc

--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup
Re: Where is the HOSTS file supposed to be located?
Malke <notreally[ at ]invalid.invalid> 6/24/2007 9:53:23 PM
Ken Blake, MVP wrote:
[Quoted Text]
> On Sun, 24 Jun 2007 14:49:49 -0500, Jackson <jjacXkdins[ at ]Xcox.net>
> wrote:
>
>> Win XP(MCE), updated
>>
>> There is a HOSTS file in each of these these three directories:
>>
>> => C:\i386
>> => C:\Documents...\AllUsers\...\automaintanence
>> => C:\Windows\system32\etc
>>
>> Which one of these is the file in active use when I use IE or FireFox?
>
>
> The host file is in C:\Windows\system32\etc
>

It can also be in C:\Windows\System32\Drivers\Etc\


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
Re: Where is the HOSTS file supposed to be located?
"Ken Blake, MVP" <kblake[ at ]this.is.am.invalid.domain> 6/24/2007 10:14:53 PM
On Sun, 24 Jun 2007 14:53:23 -0700, Malke <notreally[ at ]invalid.invalid>
wrote:

[Quoted Text]
> Ken Blake, MVP wrote:
> > On Sun, 24 Jun 2007 14:49:49 -0500, Jackson <jjacXkdins[ at ]Xcox.net>
> > wrote:
> >
> >> Win XP(MCE), updated
> >>
> >> There is a HOSTS file in each of these these three directories:
> >>
> >> => C:\i386
> >> => C:\Documents...\AllUsers\...\automaintanence
> >> => C:\Windows\system32\etc
> >>
> >> Which one of these is the file in active use when I use IE or FireFox?
> >
> >
> > The host file is in C:\Windows\system32\etc
> >
>
> It can also be in C:\Windows\System32\Drivers\Etc\



My mistake, sorry. I didn't notice that \drivers\ was missing from the
path he mentioned.

Will it even work in the C:\Windows\system32\etc? Not as far as I
know.

--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup
Re: Where is the HOSTS file supposed to be located?
Malke <notreally[ at ]invalid.invalid> 6/24/2007 11:24:52 PM
Ken Blake, MVP wrote:

[Quoted Text]
> My mistake, sorry. I didn't notice that \drivers\ was missing from the
> path he mentioned.
>
> Will it even work in the C:\Windows\system32\etc? Not as far as I
> know.
>

I don't think so but I have a very vague memory of it possibly being
somewhere else if you upgraded from something else. Or not. ;-)
I've always found it in drivers/etc but I thought you knew something I
don't. It wouldn't be the first time!


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
Re: Where is the HOSTS file supposed to be located?
"Jim" <j.n[ at ]nospam.com> 6/24/2007 11:45:05 PM

"Jackson" <jjacXkdins[ at ]Xcox.net> wrote in message
news:i3it73dcu4roh43ugfoahpitmm7tje2jrk[ at ]4ax.com...
[Quoted Text]
> Win XP(MCE), updated
>
> There is a HOSTS file in each of these these three directories:
>
> => C:\i386
Version used to restore.
> => C:\Documents...\AllUsers\...\automaintanence
Don't know
> => C:\Windows\system32\etc
It is supposed to be in C:\Windows\System32\Drivers\etc

This is version that the operating system uses.
>
> Which one of these is the file in active use when I use IE or FireFox?
When you are using IE or FireFox, you are using the file which the operating
system used to configure the network. Neither of these programs have any
control over the network components of the operating system
> Do I need them all?
You don't need the one found in C:\Documents (etc)
Keep the other two.
>
> I want to temporarily rename the active one to run a test. I can't
> view the videos on the weather channel and I want to see if removing
> the HOSTS file has any effect.
This test is a waste of time if only line is:
127.0.0.1 localhost
This is the only line which is really needed in this file.
Lines which contain other definitions did not get there by accident.
Since Windows reads the HOSTS file for ip addresses first, it might be
possible to do something nasty to the weather channel ip. But, if you can
access the weather channel via your browser, you
must have some other kind of problem.
Jim
>
> Thanks...
>


Re: Where is the HOSTS file supposed to be located?
Jackson <jjacXkdins[ at ]Xcox.net> 6/25/2007 8:55:45 AM
On Sun, 24 Jun 2007 14:53:23 -0700, Malke <notreally[ at ]invalid.invalid>
wrote:

[Quoted Text]
>Ken Blake, MVP wrote:
>> On Sun, 24 Jun 2007 14:49:49 -0500, Jackson <jjacXkdins[ at ]Xcox.net>
>> wrote:
>>
>>> Win XP(MCE), updated
>>>
>>> There is a HOSTS file in each of these these three directories:
>>>
>>> => C:\i386
>>> => C:\Documents...\AllUsers\...\automaintanence
>>> => C:\Windows\system32\etc
>>>
>>> Which one of these is the file in active use when I use IE or FireFox?
>>
>>
>> The host file is in C:\Windows\system32\etc
>>
>
>It can also be in C:\Windows\System32\Drivers\Etc\
>
>
>Malke
Oops. Sorry guys. I left the drivers directory out by error. It
should be C:\Windows\System32\Drivers\Etc

Thanks for the info.
Re: Where is the HOSTS file supposed to be located?
"Ken Blake, MVP" <kblake[ at ]this.is.am.invalid.domain> 6/25/2007 5:34:56 PM
On Sun, 24 Jun 2007 16:24:52 -0700, Malke <notreally[ at ]invalid.invalid>
wrote:

[Quoted Text]
> Ken Blake, MVP wrote:
>
> > My mistake, sorry. I didn't notice that \drivers\ was missing from the
> > path he mentioned.
> >
> > Will it even work in the C:\Windows\system32\etc? Not as far as I
> > know.
> >
>
> I don't think so but I have a very vague memory of it possibly being
> somewhere else if you upgraded from something else. Or not. ;-)
> I've always found it in drivers/etc but I thought you knew something I
> don't.


LOL! Nope, just my carelessness.


> It wouldn't be the first time!


And ditto in the opposite direction. We *all* know some things the
next person doesn't, and that's what makes participation here so
valuable. Not only do we help others, but we learn from each other
(and I don't just mean MVPs).


--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen