How to Block / Unblock Websites or Specific URLs on Windows Locally

Sometimes it becomes necessary to block certain websites or any web address on our PC. There can be several reasons behind this action but the most important ones are Parental Control and System Security risks. 

In general it is easy to use Parental Control settings from Administrator account on another User account on Windows. You can find this option in Control panel named Parental Controls, using it you can perform tasks like web filtering and Activity monitoring. The only problem you will have with it is when you do not have separate User accounts but only one as primary administrative account.

Another reason for blocking certain links is when you do not want applications to auto update ( specially when you fear loosing activation). So here we will be going through two methods to block websites on Windows PC.

1) Editing Windows Hosts File

Windows Hosts File consists of mapping between the host name and its IP address. For instance say www.google.com is the host name and the IP address is suppose 66.102.15.255. Specifying the IP address will mean that you want that particular IP to be looked up when you type that website name/ Host name. Replacing the real IP with a garbage IP will automatically restrict the website from opening.

To eliminate any further confusion and other security issues we replace the actual IP with windows Local Host (127.0.0.1). Now that we know what the hosts file consists, lets see how to edit it and block websites. For Windows XP, Vista, Windows 7 & 8 the Hosts file path is C:\Windows\System32\drivers\etc\Hosts.

Block/ Unblock websites i windows

Open the Hosts File with notepad and add desired website address with 127.0.0.1 as IP as shown in the image ans save the file. This will restrict the website from being opened. To unblock it, just delete the entry and save file.

This method is simple, but you may not like doing this manually and also find it a bit of boring task navigating to the core. So here is a freeware application that can offer you a lot of comfort.

[alert-success] If someone tries to open the blocked pages, there will be no additional blocked warning messages. It will be a normal error in connecting message. Hence no one will be suspecting you.[/alert-success]

2) Using Free 3rd Party Applications

Website Blocker

block/ unblock parental control windows

Using Website Blocker is easy. It has a single Window interface with all the essential things required. You just need to add the web address and click on the option to block or unblock it. It is a portable application, so you can carry it with you wherever you like. While testing the get blocked Website list did not work for me.

If the main download link do not work, Visit their home page. You have to scroll down a lot to find the application.

[alert-note] How To Access Blocked Websites [/alert-note]

Block Bad

block/ Unblock harmful Websites

Block Bad is a portable website blocker with a much better interface. Whatever website you add gets listed directly. Later you can select the website from the list and remove it to unblock the website. Additionally you can also report harmful websites to be added to the application’s database.

Easy Website Blocker

block/ unblock websites on windows

Easy Website Blocker is a portable freeware application with simple interface. All you need to do is add the website and save the changes you made. You can unblock selective blocked websites or unblock them all at once. You do not need to change the default Windows Installation folder until you face any problem.

[alert-note] Download Torrents when ISP Port Blocks P2P [/alert-note]

The Web Blocker

block/ unblock websites on windows

The Web Blocker is not a portable application, to use it you have to install it. It has loads of features compared to all the other applications in this list. Apart from just blocking websites on your account, you can easily monitor any other accounts too. Options like content filtering will block all websites in categories like Social Networking, adult material, games, proxy servers. The best thing of The Web Blocker is that it is password protected, hence no one can have access to the settings you are applying.

If you need to stop applications from auto updating, you will have to enter the update server address for that application in Hosts file or using the above applications.

I hope this guide helps you out to block or unblock any website on windows easily. Let me know if you face any problem while following the procedure by commenting below.

Click Here to Leave a Comment Below 9 comments
Nrisingha - October 10, 2012

Sir, thanks for the post. I am a Medical Representative, so I have to send report to the head office daily through internet. But I don’t have pc, so I have to go cyber cafe to do this. But in my locality only one good speed cyber cafe available. But there are too many crowd. I usually use particular one computer. In this computer I save my all important data. But some young boy using this computer and delete my all data. I used folder lock, but they format the particular volume. So, every day I sort my all important document.
My request is, if any software or trick is available for prevent format volume and secure data. Cafe owner deny to create admin account. So in this xp pc there have only one user. Please sir, do something.
One more request of mine. Is any software or trick is available to prevent any software being install. Such as IDM or Dap. Coz, is same. Those fellow using this type of softwares in my pc. And they engaged the sit for maximum time. So I can’t do my work. Sir, I am requesting you to give me your help. Please sir. It necessity for me.

Reply
    Sourojit Nandi - October 10, 2012

    I will come up with some thing for you soon.

    Reply
Dr. Hubert Hechabarria - October 10, 2012

Dear Sourojit:

You have posted some good webpage blockers and unblockers. I only care about webpages in any language that has dangerous script errors, or is dangerous because there are embedded malwarey in the webpage.

Eset NOD32 5 Anti Virus Home, will block and clean any webpage in real time that is dangeorus in any language. Malwarebytes Pro., performs the same content filtering in real time. Neither conflicts with the other.

Plus PC Tools Free Firewall also performs content filtering in real time.

Reply
    Sourojit Nandi - October 11, 2012

    Yes they are good in what they do. But my main aim here was to focus on manual blocking and parental control. Think of people who do not have these antiviruses. Even I have been using Microsoft Security Essentials for years which do not offer those blocking features .
    Definitely for avoiding malicious scripts you will need advance protection.

    Reply
rock - October 13, 2012

thanks for sharing the information… also we can block the website using anti-virus software

Reply
    Sourojit Nandi - October 13, 2012

    Yes you can but in case someone is using a free antivirus which does not have this feature.

    Reply
foxer - October 13, 2012

hi,nice article ip-details.com providing ip details for the websites get the details here and paste the ip address into the anti-virus software option bad website url or ip paste it and save ..now the website is blocked..

Reply
    Sourojit Nandi - October 13, 2012

    Thanks for the feed back. This ip details will help users to get ip addresses of any domain.

    Reply
      foxer - October 15, 2012

      yes,it will definitely help, or try this site whoiXY.com their also providing ip to domain,domain-to- ip details and also ping and check the reverse ip for the websites…

      Reply

Leave a Reply: