Jun 19, 2020 · Blocking Websites With The Hosts File. Open Notepad as Administrator. Click on File > Open . Navigate to C:\Windows\System32\Drivers\etc. Once there, change file type from Text Documents (*.txt) to All Files (*.*). Now you can see the hosts file. Open it. Mar 30, 2011 · By adding entries to the Windows hosts file, you can block access to specific unwanted or known malware-infested websites. Jack Wallen explains how it works. There are so many sites out there you To Block Websites using Hosts File in Windows 10, Open the Start menu, and go to Windows Accessories. Right-click the Notepad app and select More - Run as Administrator. In Notepad, click the File menu - Open, or press the Ctrl + O keys.

If the Hosts file is still locked or not editable, try turning off Kaspersky to see if it’s the source of the issue. Symantec Application and Device Control Application Control De-select rule: 'Block modifications to hosts file' * It might be necessary to reboot after these modifications. Allow Applications To Modify the Windows Hosts File

The hosts file is one of the interesting and useful feature of both Windows and Linux operating systems that provides many handy options in addressing network nodes. For instance, you can use the hosts file to block annoying ads, pop-ups, banners, porn sites, or even redirect one website to another. Block Websites using Hosts File in Windows. The Hosts file is used by the operating system to map human-friendly hostnames to numerical Internet Protocol (IP) addresses which identify and locate a host in an IP network. The hosts file is one of several system resources that address network nodes in a computer network and is a common part of an operating system's IP implementation. A website can be blocked on any Windows computer by editing the hosts file (also see the lmhost file). Locate the hosts file in Windows Explorer. Windows XP and later versions: C:\WINDOWS\system32\drivers\etc\ Windows 2000 & NT: C:\WINNT\system32\drivers\etc\ Windows 98 & ME: C:\WINDOWS\ Navigate to the proper directory using Windows Explorer.

Sep 19, 2019 · How to Block Websites on Microsoft Edge in Windows 10. Unfortunately, there is no such setting available in the Edge browser and due to this reason users left with no other choice, but to use the host file to block sites in Windows 10. In this method, you need to modify the host file and mention the sites which you want to block on the Edge

Sep 29, 2016 · The blocking can be done by adding a custom rule in the HOSTS file, that prevents the browser from translating the unwanted site's domain name to an IP address. If this sounds complicated, fear not, all you have to is to add a short snippet of text in a text file.