How to disable Mass Storage function of USB drives?

Posted by Muhammed Posted on Saturday, March 09, 2013

I wrote an article before about to block unauthorized transfer of files from your computer via USB or CD. Here I would like to share a simple registry tweak to disable Mass Storage function of the USB drives those who don’t want to use third party application.

It is possible that we can disable the USB port from BIOS but this will turn off the ability to use USB Keyboards, Mouse and other devices. So the below registry hack will help you to disable the USB Mass Storage function without affecting other function of USB port.

1. Open the Registry by running the command regedit.exe

2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

3. In the right pane, double click on the Start value name and change the value data to 4 to disable the removable USB mass storage device drive access.

4.To enable the Mass Storage function, change back the value of Start to 3.

You are done!!! The change will take effect immediately.

Test it yourself and share your comments.