anandparekh :
how can i remove write protection error from my sony pen drive
Write click the drive & format it usually works.
If not, try this registry tweak, As always, take a restore point before working in the Registry.
Use regedit to change dword value.
1.Enable and Disabling of USB write protect using regedit
Enabling USB write protect
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
“WriteProtect”=dword:00000000
Disabling
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
“WriteProtect”=dword:00000001