Removing Write Protection Using Diskpart

Ask a question Alliancepotato - Latest answer on Sep 16, 2016 03:13AM
Removing write-protection using Diskpart
With your USB drive plugged in, launch a command prompt. Do this by searching for cmd.exe in the Start menu (or Start screen in Windows 8). In Windows XP, click Start then Run, and type cmd.exe in the box.
NOTE: you may need to run Cmd.exe with administrator privileges if you see an "access is denied" message.
To do that, right-click on the shortcut and choose Run as administrator. In Windows 8, simply choose Command prompt (admin).
Now, type the following, pressing Enter after each command:
list disk
select disk x (where x is the number of your USB flash drive - use the capacity to work out which one it is)
attributes disk clear readonly
create partition primary
format fs=fat32 (you can swap fat32 for ntfs if you only need to use the drive with Windows computers)
See more 
moins plus
"attributes disk clear readonly" works but after that clean command received an error : the media is write protected.How to solve this ?
Add comment
moins plus
Thank you for the tip.

Ashu- Oct 3, 2015 10:58PM
This will not format my drive Will it??
Fade- Dec 20, 2015 10:17PM
its now work for my flashdrive verry protected
Craig- Jan 15, 2016 05:46PM
Same here. Wish someone would come up with a way that actually works. :-(
Pathik Fade - Apr 25, 2016 02:45PM
i can not work this
Dickson orengo- Sep 16, 2016 03:13AM
It will not wipe all user account unless u select disk 0
Add comment

Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.

Not a member yet?

sign-up, it takes less than a minute and it's free!