How to enable/disable access to USB mass storage device

You may want to block USB mass storage device to disallow the unauthorized use of pendrives or you may want to unblock USB mass storage device to get access (most of the case in college’s net lab). Well, this can be done by a simple registry tweak. Before doing so, I recommend taking a backup of the regustry because playing with registry can be harmful for your OS.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR proceed further.

To disable access

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
“Start”=dword:00000004

To enable access

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
“Start”=dword:00000003

Copy the required code to a text file and save it as *.reg file. Just open that file and information will be added to the registry.