Join Our Telegram Channel Contact Us Join Now!

How To Block Websites On Your Windows 7 PC or Laptop

Do you want to block any irritating website on your personal computer?
If so, then in this article, I shall instruct you to do so. For this trick, you do not need to download or install any software. I'll guide you to block websites on all browsers, doesn't matter either you use Google Chrome, Mozilla Firefox or any other web browser. So, let's start the tutorial.
It works on Windows 7. Because of some security reasons, Microsoft disabled this option in Windows 8 and 10.

Block Websites in Windows

Guide To Blocking Websites in Windows 7

  • Open windows explorer and navigate to the following address
C:/Windows/System32/Drivers/etc
  • If windows is installed in any other drive, then replace C with the appropriate drive but usually it is installed in C. 
  • Or you can simply use command prompt to directly access this location. (Run CMD as administrator, enter the following commands one by one.)
cd drivers
cd etc
notepad hosts
It is an alternative way to open hosts files.
    drivers folder in Windows
    • In the above screen shot, you are seeing that I have navigated to that address. You have to double click on hosts file and select notepad from the programs.
    hosts files in notepad
    • Here you have to enter the URLs of the websites that you want to block. Leave all the coding as it is, place the cursor at the end of last line and then press enter to create a new line.
    • Now, write 127.0.0.1, press space bar to leave some space and write the address of the websites. It should look same as in the image below. I'm gonna block Facebook and one of my blogs. (don't use www before address)
    enter websites in hosts files
    • At the end, press Ctrl+S to save the file. That's it. Now, when you will open those websites, you will see this annoying message.
    website is blocked
    • If you need to unblock them, then just remove those addresses from host files and save it again.

    Watch The Video

    I have added the whole tutorial in this 3 minutes video. Must watch...



    Guys, it was a short tutorial which, I hope,  has surely helped you to block websites on your Windows 7 computer. If you have any question, then feel free to ask in comments section. I'll feel happy to reply you.

    Rate this article

    Loading...

    Post a Comment

    Cookies Consent

    This website uses cookies to ensure you get the best experience on our website.

    Cookies Policy

    We employ the use of cookies. By accessing Lantro UI, you agreed to use cookies in agreement with the Lantro UI's Privacy Policy.

    Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.