Friday, July 12, 2013

How to Block Facebook or any Website on your PC

It is sometimes irritating to have some friends who are always asking for your PC or Laptop to use even when you are busy with your own work. They just need entertainment and they are far away from any productivity and innovation. They mostly use facebook, youtube, twitter, or some other websites like this. It is considered immoral deed to give them point blank refusal as you won’t
want to be considered a bad guy among your friends. So, what is the solution to this problem? How can you keep these friends back from wasting your time while keeping you away from your PC or Laptop for no one good reason? The simple solution is to block the websites they mostly with and stay at. If you agree to the suggestion and want to avoid annoyance of these friends, follow the step by step quite easy procedure to block the websites you want to block. With this method you can block more than one website. Ready?
Let’s start……….

Step-1
Open and run “notepad” program on your computer. You have to run it as administrator as shown in the picture below.

 
Right click on the icon of “notepad” a small menu will pop out as shown in the picture below

Click on “Run as Administrator” and a new small window will open and you will be prompted to choose from “yes” and “No”. Choose “Yes” and proceed. May be you are asked to enter Administrator password. Simply give your computer password and press “OK”. Notepad will open with administrative rights as shown in the picture below.


Step-2
Now, as the notepad is open with administrative rights, choose a file to open. For this, click on “File” Button in the menu. A dropdown menu will appear and choose “open” or when notepad open, simply press “Ctrl+O”. It will open another window leading you to choose the file you want to open as shown in the picture below.

Click on Drive “C” it will make some folders appear in the main view of the window. Then click on the folder named “Windows”. It will further open the content of “windows” folder as shown in the picture below.

Now, scroll for the folder named “System32”. Click on this folder and it will open showing its contents.

Now search “drivers” folder in this window. When you find it, click on it and it will open showing its contents to you.

When the contents of “drivers” folder are open, you will find the same windows as shown in the picture above. Click on the folder titled “etc”.

You may find the “etc” folder empty showing you the message “No items match your search”. Don’t confused, just click on the dropdown menu titled “Text Documents (*.txt)” and it will drop a small menu. From this menu select “All Files”. You will see that the contents of “etc” folder are now shown in front of you.
Now click on the file named “hosts”. It will open in your notepad program and the file selection wizard will disappear.

Step-3
Next Step is to insert the URLs of the websites you want to block.

Just insert the websites which you want to block on your PC or Laptop. Before inserting the original web URL, just add “0.0.0.0” and give space, enter URLs as the picture below shows and then press “Ctrl+S” or save the file from file button in menu to save changes in the file.

That’s all. To unblock these websites, just repeat the whole process and delete the entered websites and save the changes to file again. It will unblock the websites.
NOTE
Sometimes it requires system reboot before the changes take effect. Just check, if the websites still open, restart your system and then check again. I am sure now the websites would have been blocked.

Related Posts

Related Posts Plugin for WordPress, Blogger...