There are a lot of reasons to ban or block different websites in your Windows. From wanting to limit yourself from distraction to block certain sites for sake of kids not going into them. Whatever your reason might be, keep reading in order to find out how you can block any website inside Windows for all browsers.
The technique I am going to share with you is universal and not tied to Windows versions, they will work in any Windows from XP onward. Also, the technique will block desired websites on any browser, already installed or even ones that will be installed after doing the trick. And we will also be looking at applications that can help you in this task if you do not wish to do it manually.
A small free application called Focal Filter which can be found here: https://www.focalfilter.com/ is a software solution for your needs. It is a pretty straightforward and easy-to-understand application and not really much can be said here about it. You simply download and install it, set your websites, and you are done, the app does rest.
Another method besides mentioned one using the dedicating application is to manually set site addresses inside the Windows host file.
The first thing, of course, is to open the host file, run a notepad with administrator privileges, go to file open, and navigate to c:\windows\system32\drivers\etc\hosts.
Once the file is opened go all the way down and add:
127.0.0.1 SITENAME
For example: 127.0.0.1 www.youtube.com or 127.0.0.1 www.facebook.com
This way each time user on a PC tries to access a listed website computer will reroute it to the given address which is your PC's local address and asked website will not be able to load.

“Microsoft Windows Network: You can’t connect to the file share because it is not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack. Your system requires SMB2 or higher.”In this post, you will be guided on how to check if the SMB2.0 version can be installed on your Windows 10 computer. To get started, follow the steps below. Step 1: Tap the Win + X keys to open the Device Manager. Step 2: After that, click on the Windows PowerShell (Admin) option. Step 3: In the Windows PowerShell window, type the following command and hit Enter:
Get-SmbServerConfiguration | Select EnableSMB2ProtocolNote: After entering the command, you will see the following content on your screen which means that your Windows 10 computer is now capable of running the SMB2 protocol Now all that’s left for you to do is to enable the SMB 2 protocol on your Windows computer by enabling the SMB 1 protocol first and then upgrading it to SMB 2 afterward. Refer to the steps below for more details. Step 1: Tap the Win + I keys to open the Settings app. Step 2: Then type in “control panel” in the search area and click on Control Panel from the search results. Step 3: After opening Control Panel, click on Programs. From there, select the “Turn Windows features on or off” option under the larger menu of Programs and Features. Step 4: After that, Windows Features will appear on your screen. And from there, make sure that you select SMB 1.0/CIFS File Sharing Support and then click on OK. Step 5: Now let it install all the required files and then restart your computer to apply the changes made successfully. After your computer has restarted, the SMB 2 protocol should now be supported on your Windows 10 computer. Note: On the other hand, you can also enter the following command in the Windows PowerShell window. Just make sure you have admin rights to enable it.
Set-SmbServerConfiguration –EnableSMB2Protocol $true
“Something went wrong You can contact Microsoft support for help with this error. Here is the error code 0xa0000400.”As you know, keeping your computer up to date with all the Windows Updates is important and is imperative especially if you are experiencing a couple of issues like the Windows Upgrade error 0xa0000400. At the time of writing, there is no specific cause that has been found for this error. However, there are some potential fixes that might help you. You can try to recreate the Windows 10 installation USB and get the ISO files or you could also get a newer version of the Windows Media Creation Tool, or turn off your internet connection at a specific time or run the Windows Update troubleshooter. For more details, refer to the options given below.
Once the device window opens, click once on printers and scanners, and on the right window go to the bottom and uncheck Let windows manage my default printer.
Unchecking that box will let Windows know that we do not wish anymore for him to set our default printers according to their use. Once the checkbox is clear go up to your printer list and click on the printer you wish to use as the default one. I will choose Microsoft Print to PDF as my default printer and click on it. Once the printer is clicked option menu will appear.
When the option menu appears under the printer name, click on Manage which will take you to the printer management screen. When you are on the manage screen, click on the Set as default button, and you are done.