Best answer: How do I block YouTube on my computer with hosts?

How can I block YouTube on my PC?

To block YouTube using site settings, follow the steps below:

  1. Open Google Chrome.
  2. Go to YouTube.
  3. Click on the lock icon on the left side of the URL.
  4. Choose “Site settings” from the drop-down menu.
  5. Scroll down to “Your device use.”
  6. Click on the “Ask (default)” box.
  7. Select “Block.”

How do I block YouTube on Windows 10 host file?

How to Block YouTube on Windows 10 (or Any Website)

  1. What is a hosts file?
  2. Step 1: First & foremost, you’d have to navigate to your hosts file. …
  3. Step 2: Assign the loop-back IP address of 127.0.0.1 to the sites you want to block.
  4. Step 3: Save your file. …
  5. Step 1: Search for notepad in your start menu.

How do I block websites with hosts?

How to Block Websites Using Hosts File in Windows (Guide)

  1. Open Notepad as an Administrator. …
  2. Right click on Notepad and press Run as administrator.
  3. If your User Account Control dialogue box opens up asking “Do you want to allow this app to make changes to your device?”, …
  4. Open the Hosts File.
THIS IS INTERESTING:  How can I host my own website at home?

How do I block a YouTube channel on Chrome?

1. Open Chrome and go to youtube.com. 2. When you find a video or channel that you want to block, right-click on the thumbnail and select “Block videos from this channel.”

How do I block YouTube on Chrome without extension?

#4 How to block YouTube on Chromebook without extensions

  1. On your Chrome OS device, go to Settings.
  2. On the left, click Apps.
  3. Click the Turn on button next to Google Play Store.
  4. Click Accept on the Google Play apps and services screen.
  5. On the Chromebook shelf, click the Google Play icon to launch it.

Can I block YouTube on Windows 10?

Windows 10 has built-in parental controls that you can use to block undesirable websites through the Microsoft Edge web browser. … Note that you can set this up using any internet browser, but once you do, the sites will only be blocked in Microsoft Edge — any other browser will be unaffected.

How do I block YouTube from my registry?

How to Use the Registry to Block Websites

  1. Press “Windows-R,” type “regedit” in the Run box and press “Enter.” …
  2. Using the folder structure on the left side, navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapDomains. …
  3. Click on the “Domains” folder.

How do you block all websites except one using hosts file?

Can you block all websites except one in router?

  1. Access your router’s settings by logging in.
  2. Find the parental controls, web filtering or similar settings. …
  3. There should be two filtering types: the blacklist and the whitelist. …
  4. Add specific websites or URLs to the whitelist one by one.
  5. Save your settings.
THIS IS INTERESTING:  How do I upload a world file to Apex hosting?

How do I edit the hosts file in Windows 10?

Windows 10 and Windows 8

  1. Press the Windows key.
  2. Type Notepad in the search field.
  3. In the search results, right-click Notepad and select Run as administrator.
  4. From Notepad, open the following file: c:WindowsSystem32Driversetchosts.
  5. Make the necessary changes to the file.
  6. Select File > Save to save your changes.

How do you block websites on a computer?

Here’s how.

  1. Open the browser and go to Tools (alt+x) > Internet Options. Now click the security tab and then click the red Restricted sites icon. Click the Sites button below the icon.
  2. Now in the pop-up, manually type the websites you want to block one-by-one. Click Add after typing the name of each site.