Situatie
-
Problem: You try copying files to, deleting items from, or formatting an SSD or USB flash drive, but Windows throws the error “The disk is write-protected”. In File Explorer, the Format and Delete options are either greyed out or fail.
Solutie
Solution (Step-by-Step via Diskpart):
-
-
Press
Win + R, type cmd, and pressCtrl + Shift + Enterto run as Administrator. -
Launch the disk management utility:
-
-
-
DOS
diskpart -
List all connected drives:
DOS
list disk -
Select the drive exhibiting the issue (e.g., Disk 1):
DOS
select disk 1 -
Check and clear the read-only attribute:
DOS
attributes disk clear readonly -
Exit the utility by typing:
DOS
exit
-
-
Effect: If the write lock was triggered by a logical state flag in the drive’s registry attributes (rather than permanent hardware failure or a physical write-protect switch), the drive immediately becomes writable and formatable again.
Leave A Comment?