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 registry because playing with registry can be harmful for your OS. When you have backup the key :

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.

Need any kind of help? Let me know through your valuable comments.

1 Comments

  1. I have saved this file with extension *.reg but the file info will not added in the c registry in-spite of ope this file.Suggest me for the same.It shows a message "can not import HKEY.reg.The specifird file is not a registry script.You can only import binary registry file from within the registry editor".

    ReplyDelete