Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Just updated HOSTS in Win7; now want to add item

25 May 2015   #1
rundwald

Home Premium 64 bit
 
 
Just updated HOSTS in Win7; now want to add item

Firstly I see that all the items listed by the Hosts file package have 0.0.0.0 by then rather than 127.0.0.1. There is one line at the top with 127.0.0.1. Why is the file now set up in that way?

I have a site that I wish to add manually. How do I go about that? For instance do I use 0.0.0.0 or 127.0.0.1 when pasting in the site, wherein the lists of forbidden addresses should it be placed.

( It may be my elderly status but dealing with MVPS HOSTS seems to get more complicated)


My System SpecsSystem Spec
.
25 May 2015   #2
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Well there's an explanation on the website and it states:

"Important Note: The HOSTS file now contains a change in the prefix in the HOSTS entries to "0.0.0.0" instead of the usual "127.0.0.1".
This was done to resolve a slowdown issue that occurs with the change Microsoft made in the "TCP loopback interface" in Win8.1."

Now as I use several different sources for hosts files I can see no reason not to replace all 0.0.0.0 entries with 127.0.0.1 using your text editor. Personally I use EmEditor and set a registy entry so that any application that calls notepad.exe to open a file will use emeditor.exe instead.

Just updated HOSTS in Win7; now want to add item-emeditor.jpg

Note: There are limitations as to what we can discuss. See item 13 here:

Forum Rules


My System SpecsSystem Spec
25 May 2015   #3
rundwald

Home Premium 64 bit
 
 

I shall change all to 127.0.0.1. Really I'm at a loss as to what rule I've broken, unless we are so serious as to ban any humour or asides. God help us!

Missed AFAICS is the answer to how I add site to banned list
My System SpecsSystem Spec
.

25 May 2015   #4
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

No rules broken! It's just that the topic of blocking sites using a Hosts file can be problematic if you start discussing anything under that rule.
My System SpecsSystem Spec
25 May 2015   #5
rundwald

Home Premium 64 bit
 
 

Thanks!

You mentioned use of different hosts files. Doesn't that lead to a lot of overlapping or possible conflicts? I use MVPS. Were I to use a further host source would they be installed in Windows\System32\drivers\etc as well.
My System SpecsSystem Spec
25 May 2015   #6
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Information on hosts file

Quote   Quote: Originally Posted by rundwald View Post
Thanks!

You mentioned use of different hosts files. Doesn't that lead to a lot of overlapping or possible conflicts? I use MVPS. Were I to use a further host source would they be installed in Windows\System32\drivers\etc as well.
Well yes it does lead to overlapping (duplicates) and if you download a new hosts file it would need merging with the current one rather than letting it replace the old one. The only ways do merge that I know of are manually copying and pasting or else using a Hosts File Manager. If you use a decent one it will remove duplicates.

Re: Your original point.

Obviously the next time you download from the site you use you'll get another 0.0.0.0 hosts file. I suppose that could cause problems if you want to merge it. I guess you will have to put up with manually editing 0.0.0.0 entries for the time being.

This is what I use:
Just updated HOSTS in Win7; now want to add item-hostsman-1.jpg
Just updated HOSTS in Win7; now want to add item-hostsman-2.jpg
Currently merging hosts files from eight sources and deduplicating after the merge results in almost 1.2 million entries. That takes around 15 minutes every few months to update and de=duplicate.


My System SpecsSystem Spec
25 May 2015   #7
GokAy

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by Callender View Post
Currently merging hosts files from eight sources and deduplicating after the merge results in almost 1.2 million entries. That takes around 15 minutes every few months to update and de=duplicate.
Hey Callender, what are you using the HOSTS file for? Job reasons?
My System SpecsSystem Spec
25 May 2015   #8
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Mostly anti-malware , anti-exploit and privacy concerns is the reason.
My System SpecsSystem Spec
Reply

 Just updated HOSTS in Win7; now want to add item




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Hosts file in Win7 x64
I cannot find the hosts file and need to check that it has not been changed. Looked in: %systemroot%\system32\drivers Can anyone help?
Network & Sharing
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
Win7 will not start after ATI drivers updated
HP Pavilion Entertainment PC (laptop) dv7-1247cl Built-in ATI Radeon HD 3200 Graphics Windows 7 Professional SP1 64-bit =============================== Using Driver Detective, it tells me that my ATI driver needs to be updated. So I downloaded the installation file and run the...
Graphic Cards
Win7 Taskbar Item Context Menus
Hi, For a lack of a better category I'll be putting this question here: When setting up my Windows 7 Installation, I had an extended context menu for every taskbar item, like Frequent Items or Pinned Items for the Windows Explorer. After a couple of weeks of installing it, these contextual...
General Discussion
Already updated to win7...is my mail lost?
Help please 1. I have already installed Win7 on top of the Vista system that previously on it. 2. The mail database was NOT on the boot "C" drive...it was on another partition (D drive. 3. After the successful conversion to WIN7 home premium, I installed and started Win Live mail 4 Win live...
Browsers & Mail
Sound does not work since updated to win7
I had updated to windows 7 ultimate a week ago. I went to play some music, and no audio. i have tried everything. The drivers downloaded but and said they were working but nothing. I am really frustrated with this problem. PLEASE PLEASE HELP. THanks in advanced, Gino:)
Sound & Audio


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:11.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App