Sunday, May 31, 2015

Block website with notepad in windows

                 Block a particular website with Notepad                                       in Windows

      


Hey Buddies, I am back with a awesome trick.
You may use this trick to amaze your friends, relatives.

Sometimes it happens that we do not want that any other person who is using your system may use a particular website or any social networking site, So in this matter you can restrict access to that website by following these steps even without using any software or antivirus.

1. Go to Windows installed drive.(Most likely to be "C" Drive.)

2. Go to 'Windows' Folder.

3. Now, Go to 'System32' folder.

4. Then go to 'Drivers' folder

5. Go to 'etc' folder.
 in short go to C:\WINDOWS\system32\drivers\etc

6. In 'etc' folder'; You will find a file naming "hosts".

7. Open this file in notepad or you may open notepad and drag & drop this file to notepad.

8. In the last line of this notepad add this string. 127.0.0.1 and put a space and place name of the website.

e.g.  If you wish to restrict facebook than do type this in last of notepad.
                127.0.0.1 www.facebook.com
9. Now save your notepad with Ctrl+S or by going in file tab in notepad.

That is it.
 You have successfully restricted website with simple steps.

But do not alter any other thing in notepad.


Keep visiting and keep sharing.


Friday, May 29, 2015

Enable or Disable  to USB Drives through registry


Enable or Disable  to USB Drives through registry in Windows


Guys, I am back with a new cool trick.

Sometimes we do not want that nobody can take our data in his USB or pen drive from our PC or laptop but we can not ask him to do so. Then what should we do?

I have got solution for the same. Just follow some steps stated below and your usb ports shall be disabled until you enable it again.

1. Open Run Box (Window logo+R).

2. Type "regedit" and hit enter this will open Registry Editor.


Registry Editor
3. Now go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR from left side of the Registry Editor.


4. Now, select Start open by double clicking on it a window sill open and change this value to 4.
Editing in Registry Editor
This will disable USB drivw and if want to enable it again then change again this value to its original value i.e. 3

So, In this way you may enable or disable USB or pen drives.

Feel free to comment and do not forget to visit my blog for upcoming tricks.