Blogger Templates Skip to main content

How to Block Websites Using Windows Host File

1. Open Windows Explorer and navigate to C:\Windows\System32\drivers\etc.

2. Double-click hosts, and select Notepad when Windows prompts you to choose a program. If you don't get the prompt, or if the hosts file opens in another program, open Notepad and then navigate to hosts by clicking File, Open within Notepad.

3. Place the cursor at the end of the last line, which will say something such as '127.0.0.1 localhost' or '::1 localhost'. Press Enter to create a new line.

4. Type 127.0.0.1, tap the space bar once, and then type the address of a website you want to block. For example, to block all traffic from YouTube, type 127.0.0.1 www.youtube.com on this line.

5. Continue to add the websites you wish to block, each prefaced with 127.0.0.1 and a space.

6. Click File, Save to commit to your changes. Dismiss any warnings from antimalware software, which may be triggered by your editing of the hosts file.

7. Close any open browser windows, and then reopen a browser to test your edits. The blocked sites should not display in any browser.


Follow : Facebook Page

Comments

Popular posts from this blog

By passing windows 7/8/8.1/10 login password using ease of access

I am almost certain that this has been covered elsewhere. If you have seen this before, then I am sorry I wasted a precious few minutes of your life. 1, Boot up using a Windows 7/8/8.1/10 Installation CD or Bootable Pendrive. 2, At the first splash screen click “INSTALL NOW” then accept the license agreement click "NEXT". 3, Press "SHIT+F10" Simultaneously. Command prompt will open up. 4, Now u need to find out at what partition your OS is installed. you can check this by typing DISKPART>LIST DISK >SELECT DISK 1 > LIST VOL and in the volumes check for the BOOT partition and note down the volume label e.g "C" (it can be different for you). 5, Type in the following commands: cd C: cd Windows/system32 copy UtilMan.exe abc.exe copy cmd.exe Utilman.exe So what did we just do here? The first two commands changed our current working directory to "/Windows/system32". This location contains both "cmd.exe" (...

How To Create The Matrix Rain In Command Prompt

Step 1: Open Notepad. Step 2: Copy and paste the below code in your notepad @echo off color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%. goto start       Step 3: Click on ” File ” and then ” Save As ” option. Save your file with a ” .bat ” extension i.e ” Matrix.bat “. Step 4: Run that batch file as an administrator. To enlarge The Screen Step 5: Right-click on the command prompt and Click on the properties. Step 6: Click on the Layout tab.  Step 7: Click On the window size section and enter your required resolution. Step 8: To apply changes Click on ok. To Stop The Matrix Rain: Just press CTRL + C, Then you will be asked: ” whether to terminate the job “. Now type ” y ” to stop the program. Tips : You can even add colors to your command prompt background and text. This is just by changing color codes i.e if you...

Reserved Storage in Windows 10 - 1903

To make sure your device can successfully update and that it runs its best, Windows reserves a portion of storage space on your device for use by temporary files, caches, and other files. When your device is low on space, Windows will clear reserved storage so it can be used for other processes, like a Windows update. Reserving storage also helps keep disk space usage on your device more predictable and more stable. DISM Commands To Enable or Disable Reserved Storage in Windows 10 1. Open a new elevated command prompt. 2. Type DISM.exe /Online /Get-ReservedStorageState to see if the Reserved Space feature is enabled or disabled. 3. Execute the following command to enable Reserved Storage: DISM.exe /Online /Set-ReservedStorageState /State:Enabled. 4. Run the following command to disable Reserved Storage: DISM.exe /Online /Set-ReservedStorageState /State:Disabled. You are done. The change will be applied instantly, no restart required. Note: If Windows 10 is performing a ser...