Wednesday, 9 November 2011

How to disable/enable the usage of USB storage device?

USB drives are indeed very useful in these days......... but a user can easily upload viruses affected files to your computer by accidentally or deliberately. you can prevent the users to connect any USB drives in the computer by disabling the ability of "usbstor.sys" (USB driver) to load in system.

Perform the following steps to block the USB storage devices :

1. click on Start button to open "Run" and type "regedit" then press Ok button to open the Registry Editor.

2.  In registry editor locate the given path:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ USBSTOR

3. Here select the "USBSTOR" folder and in right side of the registry editor panel find the value with name "Start".
4. Double click on "Start" and then set its value 4 under "Value data" section.


5. Close the Registry editor and restart your computer for changes to apply.

6. when you want to restore the default setting, open the Registry Editor and set its value back to 3.
    
Now again close the Registry editor and restart your computer for changes to apply. 







No comments:

Post a Comment