USB drives are the most used and popular storage media in the electronic world. Everyone uses the USB storage devices for transferring of electronic data from one place to another place. But some time the people face the problems because it is the easiest way to transfer the virus in to the computers. But now you can stop the transfer of virus or virus affected files by disabling the Usb drive usage in to your system. After disabling it no one can connect the USB storage devices to your system. Follow the below steps for doing this..
login your system as administrator
1. Remove all the USB drives from your system.
2. Open Start menu write regedit in Run and press enter. A registry window will open.
3.Open "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR" from left side of window opened.
4. Double click on start on right hand side. A Edit DWORD(32 bit) Value window will open.
5. Change its value to 4 in Value data field. And press ok
Now any one can not connect usb drives into your system.
If you want to reset it then follow the above 3 steps again and change the value into 3 in value files.
This trick will not have any effect on the USB keyboard or USB mouse or any other device other then usb storage media.
If you like this feel free to leave the comments here.
Learn How to pop out cd trays continuously.