Skip to main content

Host File - Block Websites

Host File - Block Websites
---------------------------------
Open Host Files in C:\windows\system32\drivers\etc
here you can see a file called 'Host' open it using Notepad

At last line type -

127.0.0.1 localhost
127.0.0.1 www.yahoo.com
127.0.0.1 yahoo.com

www - is host
yahoo.com - is the domain
.com - is further classified as TLD (TopLevelDomain)

Comments

Popular posts from this blog

IBM iAccess for windows 7.1 "a system restart is pending" error

 IBM iAccess for windows 7.1 "a system restart is pending" error HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 1. Look for the following key:  PendingFileRenameOperations or   FileRenameOperations ** 2. Right-click ->  Rename . 3. Add a prefix ### and press Enter. 4. Close regedit and attempt the installation.  Note:  Make sure to go back and remove the ### prefix. The installation should continue.

Webex always using Microphone

 Webex always using Microphone 1). Navigate to Webex settings 2). Devices - Use Ultrasound 3). Remove ticket "Use Ultrasound"

Your organization manages updates on this PC

 Your organization manages updates on this PC We can disable updates from SCCM/WSUS for time being by using below command $currentWU = Get-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” -Name “UseWUServer” | select -ExpandProperty UseWUServer Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” -Name “UseWUServer” -Value 0 Restart-Service wuauserv Once required updates are installed on Laptop switch back to previous settings Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” -Name “UseWUServer” -Value $currentWU Restart-Service wuauserv