Block ANY Website in ALL Browsers using Windows Hosts File!



1. Windows 7 Hosts File is located at: C:\Windows\System32\drivers\etc (Assuming C Drive is your Operating System Drive). Copy this location:





* For other Windows Operating System viz. Windows 95/98/ME, Windows NT/2000, Windows XP (Both Home & Professional Editions) and Windows Vista (Home Basic / Home Premium / Business / Ultimate), the Hosts File Location will remain same i.e. C:\Windows\System32\drivers\etc


2. Click on Start Button >> All Programs >> Accessories and look for Notepad.




3. Now Right Click on Notepad and Select Run as Administrator:





4. Click Open… (CTRL + O) in Notepad and Paste the Hosts File Address in it >> Press Enter and Select All Files from the Drop Down Menu >> Click Open Button:





As soon as you click on Open Button, the Hosts File will open in Notepad, enter following lines at the bottom of the Hosts File:


127.0.0.1facebook.comwww.facebook.com


For blocking Multiple Websites, enter following lines at the bottom of Windows Hosts File:


127.0.0.1facebook.comwww.facebook.com


127.0.0.1alexa.comwww.alexa.com


127.0.0.1yahoo.comwww.yahoo.com


… And So On …


* Here facebook.com, alexa.com and yahoo.com are taken as an Example.


5. Now, click on File Menu and Hit Save Option to make changes in the Hosts File of Windows 7.



http://winhelp2002.mvps.org/hosts.htm


Latest Host file for Block add

2 comments:

Post a Comment