Hi! Today I'm posting about blocking websites manually in Windows without using any software, follow these steps:
- Go to the path C:\WINDOWS\system32\drivers\etc\hosts
- Open it in notepad or wordpad.
- Below "127.0.0.1 localhost" add 127.0.0.2 www.example.com
- Save it.
- www.example.com is blocked now.
- For every site which you want to block, just add site name after 127.0.0.1 as
127.0.0.1 www.abcd.com
127.0.0.1 www.xy.com
4 comments
commentsnot working
Replywhy not working?? it must work,, pls mention the error u r facing!!
Replyi hv getting this error ""access denaied"
Reply@jay patel: it happens if u dnt hv write access to hosts file.
ReplyGo to security tab and change the permissions for full control for the current user.
Thank you for your comment.