Skip to main content

How to Block a Website on Windows xp, Windows 7 , Windows 10 &11 PC for all browser

 How to Block a Website on Windows xp, Windows 7 , Windows 10 &11 PC for all browser.

Step by Step Easy Process :

Step1.  Go to the Windows Start Button and click there. A "Search Program & Files" text box will appear at the bottom. On that Textbox type "run", and press enter key.

How to block a Website on Windows Local PC


Step 2. A small window dialog box will appear with a text box. On that text box write "system32" and press the enter key.

How to block a Website on Windows Local PC step 2


Step 3. Now on the screen you will see lots of Folders under this system32 directory. Find the "drivers" folder and double click on it.

How to block a Website on Windows Local PC


Step 4. On this "driver" folder you will get the "etc" folder. Double click on this folder and you will get a file called "host". Now open this "host" file in NotePad.


How to block a Website on Windows Local PC





# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

-----------------------------------------------------------------------------------

Step 5. At the end of this text file write down the url which you want to block. For Example


How to block a Website on Windows Local PC


127.0.0.1     www.yahoo.com

127.0.0.1     www.google.com 


Step 6 . Save this notePad file. Now your www.yahoo.com and www.google.com sites will be blocked.

How to block a Website on Windows Local PC


Comments

Popular posts from this blog

Do's and Don'ts of Structured LAN Cabling Network

 What is Structured Cabling & Why it is used ? "Standard " is to define a method of connecting all types of vendors voice & data equipment, over a cabling system that uses a common media, common connectors and a common topology. This means that a building can be cabled for all its communications needs without the planner or architecture even having to know what type of equipment will be used. There are three main cabling standards. EIA/TIA 568 A ---> American standard and was the first to be published on 1991. ISO/IEC 11801 ---> International Standard. CENELEC EN 50173 ---> European Standard (British version is BSEN 50173) . TERMS: Cable Tie Patch Panel PVC pipe of Casing IO Box RJ45 connectors Cat 5e/6/7 cable Wall mount Box.

How to create user DSN with ODBC driver in Windows System for PostgresSQL Database

 How to create user DSN with ODBC driver in Windows System : Step by Step Tutorial Guide : Step 1: Go to Windows start button -->Click Settings --->Click on Control Panel Step 2: In control panel go to the Administrative Tools Step 3: Double Click on the Data Source(ODBC) icon. A small popup screen with lots of tabs will be appear on the screen. Step 4: Click on the User DSN tab. Step 5: Now click on the ADD button. Now you can see lots of ODBC drivers in the List. Select the appropriate Driver form the List, for example here we chose the PostgresSQL ODBC driver. Step 6: Click on the Finish button. Step 7: Now give the data source name in the appropriate box. Similarly give the database name, ip address of the database server (may be localhost or other private IP address ),then Give the User Name and Password of the database in the appropriate box. Step 8: Press the TEST button to check the connection, whether you put all the parameters correctly or not. If everything is OK t...

Password Recovery ASA 5520

Password Recovery Process for Cisco ASA 5520. Reboot Power When prompted , press Esc to interrupt the boot process and enter ROM monitor mode.You should see a Rommon Prompt (rommon#0> ). rommon#0>confreg (press enter). current configure register should be default of 0x01. Device will ask if you want to make changes to the configuration register. Answer : NO You must change the configuration Register to 0x41. rommon#1>confreg 0x41 Reset the device. rommon#2> boot Now after booting you will see a general user mode like. ciscoasa> ciscoasa> enable password ciscoasa# ciscoasa#copy startup-config running-config ciscoasa#config t ciscoasa(config)#enable password Reset the configuration to default value 0x01. ciscoasa(config)#config-register 0x01 View the configuration register setup ciscoasa#show run startup-config reload ciscoasa#reload System config has been modified,save [Yes][No] press Yes.