How to block Google Ads on Windows computer?

If you (like me) hate ads and malicious sites there is a simple solution for all your problems. While most plugins just hide displaying of ads, while they are being requested and and loaded into your browser or blocks ads only in one browser, this hack totally blocks ads from even loading on whole computer. For this sample I’ve used Google AdSense text and picture ads and Yahoo ads but you can use any ad network. It’s good idea to block ads on your computer when you work a lot on your website so you cant make any accidental clicks since clicking on ads on your own site can get your account closed and get you accused of click fraud.

The whole process is easy as one, two, three!

1. Before you go you will need text editor. Notepad is fine but if you’re Geek pro you should use Notepad++. Start your text editor. If you are on Windows 7 or Vista start program as Administrator (Right click on editor icon and select “Run as Administrator”).

2. Now locate “hosts” file. (File has no extension only filename “hosts”).You can locate it at
– Windows 9x, ME at C:\WINDOWS
– Windows NT (and some 2K) at C:\WINNT\system32\drivers\etc
– Windows 2K, XP, 2003, Vista, 7 at C:\WINDOWS\system32\drivers\etc

3. Add following lines to the bottom of the file

Go to the first blank line at the bottom of the file and copy/paste these few lines or write your own. Make sure you leave no blank lines before this entry. That’s it. Just save the file and test it out. Some systems might require reboot. If you’ve followed the instructions carefully you should never see Google AdSense ads again, and this will work under all browsers and on all accounts on computer.

How does this stuff works? Well, instead of getting ads form where they are located (eg. Google servers), the ads are requested from (localhost) your computer and since you don’t have those – it displays nothing. It is perfectly safe to use.

This way you can also easily block malicious sites, annoying ads or ad networks, specific sites from your kids or block Facebook access. I have found two sites that have full databases of harmful sites and you can just copy/paste their hosts file for maximum protection: and and if you’re really geekish you can download Hostess, a specialized host file editor.

Tags: pagead googledoubleclicks com, how to stop ad doubleclick net, block google adsense via hosts file, Block all pagead googledoubleclicks com results, pagead googledoubleclicks, how to block google ads, how to block ads on windows 7, block ad doubleclick net, block host adsense indonesia, yhs-looksafe_ds_trans, how to block all the ads on windows, DoubleClick Removal Windows 7, COM/PAGEAD/ACLK ファイル, ad doubleclick net remove win 7, block google adsense all browsers, how to stop ads on google windows 7, how to bolck advertising on widow xp laptop, how to block window drivers ad, how to block asuti ads, how to stop google doubleclick, n10 adshost, NET/ACLK File, remove adshostnet, remove google ads host 127, remove google ads windows 7, remove n10 ads win7, WIN7 starts into GOOGLE with ADS !!!, windows 7 disable google ads, yhs-opera_14desktop, how to block adshostnet com, how stop adshostnet, doubleclick net block in router, doubleclick disable windows vista, blocking double click in router, block googlesyndication com

3 thoughts on “How to block Google Ads on Windows computer?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>