Share via

how to block all websites except one or two

Anonymous
2023-12-29T06:04:13+00:00

Dear concern,

I have blocked all websites except two websites via internet options but we have to do the process manually for individuals users by logging into their account. Is it possible to the process for all users with one shot.

Windows for home | Windows 10 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2023-12-29T12:08:20+00:00

    Hie Ivan,

    Thanks for your guidance. But my question was how to block all websites except particular websites.

    For example. I want to block all websites even google but need to unblock facebook.com and instagarm.com.

    But you are suggesting me to enter manually websites name that I want to block. This is not possible.

    Please follow this link then you will get to know

    https://thegeekpage.com/block-all-websites-except-one/

    2 people found this answer helpful.
    0 comments No comments
  2. Ivan B 108.6K Reputation points Independent Advisor
    2023-12-29T13:35:11+00:00

    Hi ,

    I'm sorry, I misunderstood the question, but you can use this script that will add the blocking and only put Instagram and Facebook as an exception using the idea from the post you presented previously.

    https://drive.google.com/file/d/1hdocthyBW9fx7o...

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Independent Advisor - Community

    Thanks

    1 person found this answer helpful.
    0 comments No comments
  3. Ivan B 108.6K Reputation points Independent Advisor
    2023-12-29T08:45:46+00:00

    Hi ,

    I am Ivan, I will help you with this.

    If the computers are in the domain, you can block them using gpo by setting the computer configuration.

    If you are on Windows pro version put gpedit.msc in the search bar and add.

    1. If you want to apply the group policy to the computers then navigate to – Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page.
    2. On the right hand side, right click the policy setting Site to Zone Assignment List and click Edit.

    How To Add Sites to Internet Explorer Restricted Zone

    1. Click Enabled first and then under the Options click Show. You need to enter the zone assignments.

    As stated earlier in this post Internet Explorer has 4 security zones and the zone numbers have associated security settings that apply to all of the sites in the zone.

    Intranet zone

    Trusted Site zone

    internet zone

    Restricted Sites zone

    We will be adding a URL to the Restricted Sites Zone. So enter the value name as the site URL that to Restricted Sites zone and enter the value as 4.

    4.Click OK and close the Group Policy Management Editor.

    credits .:https://www.prajwaldesai.com/how-to-add-sites-t...

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Hope this helps.

    If you find the answer helpful, please mark it as an answer.

    Independent Advisor - Community

    Thanks

    1 person found this answer helpful.
    0 comments No comments
  4. Ivan B 108.6K Reputation points Independent Advisor
    2023-12-30T20:25:03+00:00

    Hi ,

    You put it in the task scheduler to run every time someone logs on, so any user who connects the script will start applying the configuration.

    Hope this helps.

    If you find the answer helpful, please mark it as an answer.

    Independent Advisor - Community

    Thanks

    0 comments No comments
  5. Anonymous
    2023-12-30T03:52:52+00:00

    Thanks Ivan,

    But will it work for all browsers and for all users.? Because in the script the Registry value is HKCU i.e for current users.

    0 comments No comments