In this post will shows you how to disable your USB device write, in other words, to lock and prevent any write action to the USB storage devices by using Windows Registry Editor.
Open up you Windows Registry Editor
Create New Key
Create a Dword
Set Dword value