modernlesno.blogg.se

How to block youtube on your computer
How to block youtube on your computer




how to block youtube on your computer

The first rule of thumb to save your new updates to a hosts file is to work on it with administrator-level privileges. What to Do if You Cannot Save the Changes to Your Hosts FileĪs hinted earlier in the post, the hosts file is an essential file that, if modified incorrectly, can affect your ability to connect to the internet. If the new changes have been executed correctly, you won’t be able to access them. Then, go to your browser and try opening YouTube or other websites that you have blocked. This is how you block YouTube on Windows 10 (at least, one of the easiest ways). See the image below for a visual reference. Then, type: 127.0.0.1 If you want to block more websites, keep using the same loop-back address, and continue adding similar commands into new lines. To do so, after the very end of your hosts file contents, press enter to get to a new line.

how to block youtube on your computer

Without getting into too many technical details for 127.0.0.1, just know that this is something you’d be using. Step 2: Assign the loop-back IP address of 127.0.0.1 to the sites you want to block In this path, you’d find your hosts file. By default, almost all hosts file are located at ↣C:\Windows\System32\drivers\etc. Step 1: First & foremost, you’d have to navigate to your hosts file. Step by Step Instructions on Blocking YouTube or Any Sites on Windows 10 Luckily, what we’d be doing is something as simple as adding one line of code - while ensuring we’re not making tweaks to the existing. It’s actually quite a useful utility for a simple text file, but any wrong configurations here can adversely affect your ability to connect to the internet. To block YouTube on Windows 10, or any website for that matter, we’d be using what’s called the “hosts file.”Ī hosts file is a plain text file that can be used to assign a specific IP address of your choosing for a particular domain, which is also how it can be leveraged to block certain websites, spyware, ads, or QA-ing server migrations.






How to block youtube on your computer