Sunday, September 20, 2015

Remove Write Protection Of USB Drive


1.Using CMD

when your USB drive plugged in, launch a command prompt. By searching  cmd.exe in the Start menu .You may need to run Cmd.exe with administrator privileges if you see an “access is denied” message.
In CMD follow This Commands:
diskpart
list disk
>select disk n (n is the number of your USB  drive)
attributes disk clear readonly
clean
create partition primary
format fs=fat32  (you can swap fat32 for ntfs if use the drive with Windows)
exit

2.Using Registry

>run Regedit.exe

Navigate to the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
Double-click on the WriteProtect value in the right-hand pane of Regedit.exe. Change the Value data from 1 to 0 and click OK to save the change. Close Regedit and restart your computer. Connect your USB drive again, and you should find it is no longer write protected. If you can’t find StorageDevicePolicies, you can try creating a key by right-clicking in the white space in the Control folder and choosing New -> Key and carefully entering the name.Now double-click on the new key (folder) and right-click once again and choose New -> DWORD. Name it WriteProtect and set its value to 0. Click OK, exit Regedit and reboot your computer.

No comments :

Post a Comment