Registry Hack to Disable Writing to USB Drives
Here is a registry hack that capable to disable the USB drive access to USB mass storage device such as flash drive, USB key, thumb drive, pen drive and portable hard disk while keeping the USB hardware device such as webcam, mouse, keyboard, printer and scanner connected to USB ports working as common. But, the hack disables the USB access to disk drive completely. User cannot copy data to the USB disk storage, nor able to read any files and documents from the USB drive.
A general security concern at organizations is allowing users to plug in a USB flash drive, because they could so easily copy corporate data.
In support of user who just want to disable write access to the external removable USB mass storage disk drive, there is another registry hack of WriteProtect in StorageDevicePolicies registry key that able to restrict Windows system from writing to the USB disk drive, and hence efficiently user to copy any sensitive or private data from the PC to USB key stick. The dodge works in a similar way to write-protect feature used in floppy disk and backup tape which make the disk read-only, only that in this case, it is system broad implementation that block any writing and recording of data to USB mass storage device.
To disable writing access to USB drives and make all USB drives has only read-only access, follow these steps...
Run Registry Editor (regedit).
Follow the map to the following registry key
Produce a New Key named as StorageDevicePolicies.
Underline StorageDevicePolicies, and then create a New DWORD (32-bit) Value named as WriteProtect.
Double click on WriteProtect, and set its value data to 1.
One time set, all users on the computer is now blocked and prevented from copying, transferring or writing any files, documents and data to the USB disk drives, without the need to restart or reboot computer. Any attempt to download or copy files to USB drive will return the error message.
Just the once you use the registry hack, you will have to reboot for the changes to take effect. One should also note that if you are using this dodge, you should make sure that the users are not administrators on the computer, because they could easily change this setting back.
The trick works in Windows XP SP2 and SP3, Windows Vista, Windows Server 2003 and 2008