Windows 7 host file doesn't work...

Soldato
Joined
18 Feb 2006
Posts
9,748
Hello.

I use my hosts file to block adverts within certain applications (not Firefox) but recently it has stopped working and have no idea why... I've tried remaking it, checking the formatting but all looks OK. The only thing I can see that is different is this little padlock?

capturefyx.jpg


Does anyone have any ideas? Here is a small extract from it.

captureysy.jpg


Does anyone have any ideas?

Thanks.
 
Doesn't the padlock mean that you don't have write permissions to it? Have you checked the permissions on it?

I can modify the file OK and the changes appear in the file. Under security, myself, SYSTEM and administrators has full control (including modify, read and write).
 
Create a new one and delete that one;

# Copyright (c) 1993-2009 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

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
 
Should use peerblock as it will get updated more and then use adblock+ no script to catch the odd ones.

I only really use it to blocks adds on MSN and the blocked hosts have been working since the flash adverts they use started annoying me. I've only changed it to create a host name for something that doesn't have DNS on my LAN.
 
Back
Top Bottom