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: editing hosts file

30 Nov 2012   #11
Microsoft MVP

Windows 7 Ultimate 32bit SP1

IP Address:

You can block that IP in Internet Properties --> Security Tab ---> Restricted Sites

My System SpecsSystem Spec
05 Dec 2012   #12

64 bit

Quote   Quote: Originally Posted by Jacee View Post
If you use Foxfire, yes.
what if i have mbam installed?

also, i can still access with the code:

Code:       localhost
#	::1             localhost
My System SpecsSystem Spec
05 Dec 2012   #13

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

Your last example has (not

Add www. to the beginning of

Close all browsers after updating the HOSTS file.
You may also need to clear Browser temp files - cache, history, etc.
My System SpecsSystem Spec

05 Dec 2012   #14

Windows 7 Ultimate x64

Also run ipconfig /flushdns to remove any local dns cache.
My System SpecsSystem Spec
05 Dec 2012   #15

64 bit

are there any good host text files out there that block bad sites, advertising stuff, etc.?
My System SpecsSystem Spec
05 Dec 2012   #16



EDIT: Oh wow, SevenForums blocks that URL :)
My System SpecsSystem Spec
06 Dec 2012   #17

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

Did adding www. to the site name and clearing the cache's get the block working with your HOSTS file?
My System SpecsSystem Spec
06 Dec 2012   #18

Windows 7 x64

you might need to clear your registry using 3rd party like ccleaner and can be use to clear all the cookies, temp file, browser history, windows temp file. Let us know if you still access the site.
My System SpecsSystem Spec

 editing hosts file

Thread Tools

Similar help and support threads
Thread Forum
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
Hosts file editing: save problem
My Hosts file was lost so I downloaded a new one. This I edited to block two sites that had intruded and given trouble. I saved initially to desktop and then tried to paste and save it in to C:\windows\.......\etc , but failed to do so as error as per att, appeared, I am a sole user/...
General Discussion
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Hosts File Editing
I've tried everything I've read on this forum to be able to edit my hosts file. I log on as administrator, I open my editor as administrator, I take ownership of the hosts file, but I still get the error:- "Save Failed. Please check whether if this file is opened in another program." What...
Network & Sharing
BSOD after editing hosts file and running warcraft 3?
Hello, this is my second BSOD so far. i had one analysed months back, and this is my second. this is what i got after restarting my laptop: Problem signature: Problem Event Name: BlueScreen OS Version: 6.1.7600. Locale ID: 18441 Additional information about the...
BSOD Help and Support

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 05:12.
Twitter Facebook Google+