1. Find the Windows hosts file on your computer. If you are running Windows 98 or ME, the file is probably located in the C:\Windows folder. Windows NT usually stores its host file at C:\WINNT\system32\drivers\etc. Windows XP and Vista store the hosts file at C:\WINDOWS\system32\drivers\etc. If you are running Windows 2000, you can find the hosts file at one of the last two directories listed above. Look for the file named “Hosts.”
2. Right-click the hosts file. Click “Open,” and then choose “”Select the program from a list.” Click “Notepad.” The hosts file opens up as a text file in Notepad.
3. On the first empty line of the hosts file, copy and paste the following:
4. Save the file.
5. Allow the change if prompted with a warning from your antivirus or spyware programs.
[Ref: How to Disable Ads by Google]