Hosts file question

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.newusers (More info?)

I am using Windows XP Home.

I D/L the HOSTS zip from MSMVP.org, unzipped it and dragged the HOSTS (in
upper case) file into

C:\WINDOWS\SYSTEM32\DRIVERS\etc.

Before I did so, I noted that there already was a hosts file in the etc.
folder except that it was in lower case i.e.. (hosts). I renamed the
original hosts file "hosts-old" (w/o quotes & in lower case). I opened the
original hosts file in Notepad and noted that it is a Microsoft sample file
and contains no web sites to block.

My question is:

Did I follow the proper procedure?

Was there a need to rename the original hosts file (in lower case)?

Should I simply delete the original hosts file(in lower case) and keep the
new HOSTS file (in upper case)?

I do note that in SpyBot Search & Destroy (Tools-Hosts file) all of the
many entries from the new HOSTS (upper case) file are listed so I quess the
thing must be working.

Your comments and suggestions would be appreciated.

Bob Havens


--
To reply by EMail: Delete -remove to reply- from my address
 
Archived from groups: microsoft.public.windowsxp.newusers (More info?)

Nothing wrong with the HOSTS file from here >>

Blocking Unwanted Parasites with a Hosts File
http://www.mvps.org/winhelp2002/hosts.htm

It was created by an MVP and is updated periodically.

The original HOSTS file that came with your XP install should've been upper
case HOSTS.

This is the contents of the original HOSTS file from the XP CD...

============
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
============

Delete your lower case hosts file and use the mvps.org file. You need to
check for newer version occasionally.

When you get a newer version, just move the old one out of
C:\WINDOWS\SYSTEM32\DRIVERS\etc, drag the new one in and then delete the old
one.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:ePnW6mOAFHA.3404@TK2MSFTNGP11.phx.gbl,
Bob Havens <bhavens@flash-removetoreply-.net> hunted and pecked:
> I am using Windows XP Home.
>
> I D/L the HOSTS zip from MSMVP.org, unzipped it and dragged the HOSTS
> (in upper case) file into
>
> C:\WINDOWS\SYSTEM32\DRIVERS\etc.
>
> Before I did so, I noted that there already was a hosts file in the
> etc. folder except that it was in lower case i.e.. (hosts). I renamed
> the original hosts file "hosts-old" (w/o quotes & in lower case). I
> opened the original hosts file in Notepad and noted that it is a
> Microsoft sample file and contains no web sites to block.
>
> My question is:
>
> Did I follow the proper procedure?
>
> Was there a need to rename the original hosts file (in lower case)?
>
> Should I simply delete the original hosts file(in lower case) and
> keep the new HOSTS file (in upper case)?
>
> I do note that in SpyBot Search & Destroy (Tools-Hosts file) all of
> the many entries from the new HOSTS (upper case) file are listed so I
> quess the thing must be working.
>
> Your comments and suggestions would be appreciated.
>
> Bob Havens
>
>
> --
> To reply by EMail: Delete -remove to reply- from my address
 
Archived from groups: microsoft.public.windowsxp.newusers (More info?)

Windows is case insensitive for filenames..

--
----------------------------------------------------------
http://www.uscricket.com
"Bob Havens" <bhavens@flash-removetoreply-.net> wrote in message news:ePnW6mOAFHA.3404@TK2MSFTNGP11.phx.gbl...
>
> I am using Windows XP Home.
>
> I D/L the HOSTS zip from MSMVP.org, unzipped it and dragged the HOSTS (in
> upper case) file into
>
> C:\WINDOWS\SYSTEM32\DRIVERS\etc.
>
> Before I did so, I noted that there already was a hosts file in the etc.
> folder except that it was in lower case i.e.. (hosts). I renamed the
> original hosts file "hosts-old" (w/o quotes & in lower case). I opened the
> original hosts file in Notepad and noted that it is a Microsoft sample file
> and contains no web sites to block.
>
> My question is:
>
> Did I follow the proper procedure?
>
> Was there a need to rename the original hosts file (in lower case)?
>
> Should I simply delete the original hosts file(in lower case) and keep the
> new HOSTS file (in upper case)?
>
> I do note that in SpyBot Search & Destroy (Tools-Hosts file) all of the
> many entries from the new HOSTS (upper case) file are listed so I quess the
> thing must be working.
>
> Your comments and suggestions would be appreciated.
>
> Bob Havens
>
>
> --
> To reply by EMail: Delete -remove to reply- from my address
>
 
Archived from groups: microsoft.public.windowsxp.newusers (More info?)

Thanks Wesley.

My original hosts file that I renamed was in lower case on my computer. I
don't know why. My son in law built the PC for me and he may have changed
it. Does it really make any difference? The contents are exactly the same
as in the sample that you gave me. I will back up the original hosts file
on a floppy just in case I need it.

I opened Services Editor and set the DNS Client to manual.

I also created a Hosts Editor short cut and it seems to work. I got quite a
bit of detailed info on http://www.accs-net.com/hosts/index.html. The hosts
zip file on that web site seems to be much older than the one on the
MSMVP.org web site which was just updated a few weeks ago.

I think I am fairly well set up now to start using it. Thanks for your
help.

Bob Havens



Bob Havens wrote:
> I am using Windows XP Home.
>
> I D/L the HOSTS zip from MSMVP.org, unzipped it and dragged the HOSTS
> (in upper case) file into
>
> C:\WINDOWS\SYSTEM32\DRIVERS\etc.
>
> Before I did so, I noted that there already was a hosts file in the
> etc. folder except that it was in lower case i.e.. (hosts). I renamed
> the original hosts file "hosts-old" (w/o quotes & in lower case). I
> opened the original hosts file in Notepad and noted that it is a
> Microsoft sample file and contains no web sites to block.
>
> My question is:
>
> Did I follow the proper procedure?
>
> Was there a need to rename the original hosts file (in lower case)?
>
> Should I simply delete the original hosts file(in lower case) and
> keep the new HOSTS file (in upper case)?
>
> I do note that in SpyBot Search & Destroy (Tools-Hosts file) all of
> the many entries from the new HOSTS (upper case) file are listed so I
> quess the thing must be working.
>
> Your comments and suggestions would be appreciated.
>
> Bob Havens