Categories Menu

Posted by | 17 comments

Fix USB disk undetected or write protected

How many of you guys had this issue at least once? Well, I had this problem yesterday and wanted to share with you the solution for this problem.

We need to open the command prompt in elevated mode (start -> Run -> type cmd but don’t press enter, right click on the cmd and select run as administrator). We need to enter the following commands:

Diskpart
list disk
select disk and the disk number. Please note that the disk size will be shown in MB.
attributes disk clear readonly
clean
create partition primary
format fs=fat32 quick  (or ntfs). For usb drives with smaller capacity it’s recommended to use fat32. If you want to make a bootable usb format as ntfs.
* wait for the format to finish (100%)
exit

repair usb drive

17 Comments

  1. not format in this process

    • last order replies the following :
      virtual disk service error:
      the media is write protected

  2. Hi

    I tried but showing this error message

    Diskpart has encountered an error: the request could not be performed because of an I/o device error
    See the system event log for more information.

    Please help me out

  3. every step was going smoothly untill I reached the CLEAN command. It shows “the media is write protected. please check the log blah blah…”

  4. I tried the instructions abaove. Receive the following error:
    The request could not be performed I/O Device error

    • Open a command prompt with administrator rights and type “chkdsk X: /f” no quotes and replace X with whatever drive letter your USB has.

      • Cant perform Check Disk function as its Write protected…

        • Did you ever find a solution? I have the same message on my comd!

  5. Type in Run window regedit and click OK

    After registry editor Open Goes to the
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Storage Device Policies\
    In the Right Pane Double Click on Write Protect and Type in Value 1
    Write Protection is A

    For Remove Write Protection
    Double Click on Write Protect and Type in Value 0
    write protection will be Removed

    Or Simply Download the Application Called USB Write Protector
    For Enable and Disable USB Port its worked for me.
    from http://www.softlinklabs.com/2013/02/usb-write-protector.html

    Hope this will be useful

  6. Can’t find the storage device policies. What would I do. Hope you help me

  7. after chkdsk g: /s it showing system is RAW

  8. This worked for me! Suddenly my DataTravler G4 32GB decided to not be recognized by Windows. This fix made it work again. Thank you so much!

  9. Thanks a lot.. THis worked for me.

  10. when i type chkdsk y:/F It shows a msg known cANNOT OPEN VOLUME FOR direct access. please help me

  11. Hello sir not select disk 1,
    The disk you specified is not valid.
    There is no disk selected
    Plezz help me

  12. works like charm….. run as admin

  13. life saver!!

Post a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>