How to block the unwanted sites in Windows 7 Using Command Prompt?
Here are few simple steps to block the unwanted sites in your windows 7 PC using command prompt
- Type in CMD in start menu and run the command prompt in admin mode by right click and run as administrator.
- Then type in commands
cd drivers/etc/ - Now you are in directory path
c:/windows/system32/drivers/etc/ - you will find the file named hosts in etc directory.
- Edit the file hosts by the command
edit hosts. Then at the end of the file add following lines. 127.0.0.1 www.examplesite.comhere www.examplesite.com is the website id that you want to block in your computer. You can block multiple websites by multiple lines as shown above.- Then save and exit the command prompt.
thanku very much .. also check_ Find Windows Login Password
ReplyDelete