Step 1 - Open Command Prompt type Regedit and hit enter .
Step 2 - In the left hand side of the Registry Editor navigate through HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Step 3 - Right Click on Control folder click on new and then click on key.Name the key as StorageDevicePolicies. Use the same name in same order.
Step 4 - Again Right click on StorageDevicePolicies. click on new and then click on DWORD (32-BIT) VALUE.Name the string as WriteProtect.Use the same name in same order.
Step 5 - In the right hand side double click on WriteProtect string and edit it's value from 0 to 1 And click on OK.
That's all your work has been done ... Here is the preview of the error generated when you try to copy or do any changes to your USB.
When ever you feel that you want to remove WriteProtection just follow the whole procedure as same but in the step 5 change the value to 0 again. Now you can once again make changes in your flash drive.