DiskPart has encountered an error: The media is write protected [Closed]

Report
-
Posts
3614
Registration date
Monday September 1, 2014
Status
Member
Last seen
February 20, 2017
-
Hello,
Does not work in my Machine Please help
It shows DiskPart has encountered an error: The media is write protected. See the System Event Log for more information. How to solve . please send me a message at



Related:

1 reply

Posts
3614
Registration date
Monday September 1, 2014
Status
Member
Last seen
February 20, 2017
131
Hi Mg Kyaw Moe Naing,

Are you trying to format the drive? Please check if the drive is still write protected, when connected to another PC. If so, run the Command Prompt as an Administrator and type the following commands:

Diskpart
List disk
Select disk n (n must be drive’s number)
Attributes disk clear readonly
Exit

Try to access your data. If another error appears use a data recovery tool and try to save your data. If all is backed up, try to format the drive.

Hope this helps