If you are the administrator of public cafe or school,this trick will be helpful for giving protection to your system. You can disable writing to USB. This will prevent from file stealing. You have to login to administrator so that you can access regedit.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
In right panel you can find write protect
Change the value to 00000001