- Open the Start menu.
- Search for Notepad.
- Right-click and select Run as administrator.
- File > Open...
- Navigate to C:\Windows\System32\drivers\etc\.
- Switch the file type to All Files (*.*).
- Open the file called hosts.
- Begin a new line below the '#' section. Start the line with: 127.0.0.1
- Add one space and then type the domain without http:// or www. For example: website.com
- The final entry should look like this: 127.0.0.1 website.com
- Save the file.
- Open a web browser and go to the blocked website. It should display a connection error and therefore be "blocked".
25 August 2016
How to Block Websites in Windows (No Programs Needed)
How to block websites in Windows without using third-party programs: