- Click Start > All Programs > Accessories > Right Click on Notepad and click on Run as administrator
- Click on File menu > open
- Navigate to: – C:\Windows\System32\drivers\etc
- Then select All Files next to the File name field. (By selecting All Files option all files are shown as shown in the below figure.)
- Click hosts and click Open
- Now add a new entry in the bottom, let you want to block http://www.facebook.com. then add the line 127.0.0.1 http://www.facebook.com
- Save the file (by pressing Ctrl + S) and restart the computer. Then www.facebook.com is block for all browsers.
- To unblock it, remove the entry, which you have made and Save the file. Then restart the computer.
0 Comments