Sunday, 9 November 2014

How to get rid of ads in windows system

1
Open Windows Explorer and type in C:/Windows/System32/drivers/etc. If Windows isn't installed on the C: drive, substitute the C: for the appropriate drive letter.
2
Double-click on hosts and open the document using Notepad when Windows prompts you. The hosts file tells the system what it should do when specific domains or IP addresses are accessed. This is the file that you are going to edit. If Windows automatically redirects you, or if hosts opens in another program, simply open Notepad (Start -> All Programs -> Accessories -> Notepad) and then go to hosts by clicking File -> Open inside Notepad.
3
Locate the line "127.0.0.1 localhost" or "::1 localhost." Put your cursor at the end of whichever line is lowest down.
4
Press "Enter" to create a new line. 
5.Type in whichever website or websites you wish to block. You can add any site, but you'll will need to preface it with "127.0.0.1".
  • To block the website reddit.com for example, just type in "127.0.0.1" followed by a single space, followed by "reddit.com".

  • Add all of the site's domains, especially mobile domains, on new lines. Your computer might block "www.facebook.com", but not "m.facebook.com" if you're not careful. This is an easy workaround for the experienced computer user.






My hosts file is shown below copy it to your hosts file
--------------------------------------------------------------------------------

# 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

127.0.0.1       localhost127.0.0.1       localhost
127.0.0.1 googleadservices.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 googlesyndication.com
127.0.0.1 vcommission.com
127.0.0.1 google-analytics.com
127.0.0.1 adhitzads.com
127.0.0.1 infolinks.com



No comments:

Post a Comment