How to recover a write-protected USB flash drive

When I used rufus to create a bootable USB flash drive, the creation failed and the USB flash drive was write-protected.
Modifying the registry is useless, cannot be formatted, winhex cannot be modified, and DiskGenius cannot succeed.
Finally, it was completed using diskpart.
Here are the steps:

win+R 打开运行
cmd 回车
diskpart 回车
list disk 回车
select disk n 回车   (这里n是数字,可以从上一步判断对应的磁盘的数字)
attributes disk clear readonly 回车  (去除只读属性)
clean 回车
create partition primary 回车

Next, you can format it, just go to format it.

Guess you like

Origin blog.csdn.net/my_name_is_sy/article/details/133354120
Recommended