Windows 10: Can't remove pendrive "readyonly" attribute !


  1. Posts : 713
    Windows 10 Build 14267
       09 Feb 2015 #1

    Can't remove pendrive "readyonly" attribute !


    I have a 8GB Kingston pen-drive that refuses to be formatted. I noticed that it's write protected and tried to make it usable again, but nothing works. First I tried DiskPart as follows...

    C:\WINDOWS\system32>diskpart


    Microsoft DiskPart versão 10.0.9926


    Copyright (C) 1999-2013 Microsoft Corporation.
    No computador: MYGEO-PC01


    DISKPART> list disk


    Nº Disco Status Tam. Livre Din. GPT
    -------- ------------- ------- ------- --- ---
    Disco 0 Online 223 GB 0 B
    Disco 1 Online 465 GB 1024 KB
    Disco 2 Online 465 GB 0 B
    Disco 3 Online 7652 MB 0 B


    DISKPART> select disk 3


    O disco 3 é o disco selecionado.


    DISKPART> attr disk
    Estado Atual Somente Leitura: Sim
    Somente leitura : Não
    Disco de Inicialização: Não
    Disco de Arquivo de Paginação: Não
    Disco de Arquivo de Hibernação: Não
    Disco de Despejo de Memória: Não
    Disco armazenado em cluster: Não


    DISKPART> attribute disk clear readonly


    Atributos do disco limpos com êxito.


    DISKPART> attr disk
    Estado Atual Somente Leitura: Sim
    Somente leitura : Não
    Disco de Inicialização: Não
    Disco de Arquivo de Paginação: Não
    Disco de Arquivo de Hibernação: Não
    Disco de Despejo de Memória: Não
    Disco armazenado em cluster: Não


    DISKPART>
    ... but after all it remains protected !

    I also added a key to registry to avoid disk write protection as follows...

    Windows Registry Editor Version 5.00


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
    "WriteProtect"=dword:00000000
    ... but again I still cannot use the USB disk !

    Please...

    Any suggestions ?

      My ComputerSystem Spec

  2.    09 Feb 2015 #2

    I haven't tried it so I don't know if this will work or not. How to erase a write-protected USB stick and format a write-protected SD card - PC Advisor
      My ComputerSystem Spec


  3. Posts : 713
    Windows 10 Build 14267
    Thread Starter
       09 Feb 2015 #3

    Winuser said: View Post
    I haven't tried it so I don't know if this will work or not. How to erase a write-protected USB stick and format a write-protected SD card - PC Advisor

    Thanks for answering but that's what I had tried already ! Still no go !
      My ComputerSystem Spec

  4.    09 Feb 2015 #4
      My ComputerSystem Spec


  5. Posts : 4,333
    Win 10 Pro x64
       10 Feb 2015 #5

    Have you tried formatting it on another machine?

    Or if you have another USB drive create a Linux Live USB (Ubuntu or Mint) and try your luck with it. It doesn't cost anything but only a little of your time.
      My ComputerSystem Spec


  6. Posts : 713
    Windows 10 Build 14267
    Thread Starter
       21 Feb 2015 #6

    badrobot said: View Post
    Have you tried formatting it on another machine?

    Or if you have another USB drive create a Linux Live USB (Ubuntu or Mint) and try your luck with it. It doesn't cost anything but only a little of your time.
    Thanks for the tips. I'll try !

    Here are pics of what I've been playing in the registry.
    Click image for larger version. 

Name:	RegeditUSB_1.jpg 
Views:	65 
Size:	237.4 KB 
ID:	13043Click image for larger version. 

Name:	RegeditUSB_2.jpg 
Views:	59 
Size:	210.2 KB 
ID:	13044
    1) When I change the value of "USBSTOR/Start" from 3 to any other value the pen-drive doesn't appear in "My Computer"
    2) Changing "STORAGEDEVICEPOLICIES/WriteProtect" from 1 to 0 doesn't resolve. I still can't format it.
      My ComputerSystem Spec


  7. Posts : 713
    Windows 10 Build 14267
    Thread Starter
       21 Feb 2015 #7

    badrobot said: View Post
    Have you tried formatting it on another machine?

    Or if you have another USB drive create a Linux Live USB (Ubuntu or Mint) and try your luck with it. It doesn't cost anything but only a little of your time.
    Thanks for the tips. I already tried another rig, but the Linux idea is nice !

    Here are pics of what I've been playing in the registry.
    Click image for larger version. 

Name:	RegeditUSB_1.jpg 
Views:	65 
Size:	237.4 KB 
ID:	13043Click image for larger version. 

Name:	RegeditUSB_2.jpg 
Views:	59 
Size:	210.2 KB 
ID:	13044
    1) When I change the value of "USBSTOR/Start" from 3 to any other value the pen-drive doesn't appear in "My Computer"
    2) Changing "STORAGEDEVICEPOLICIES/WriteProtect" from 1 to 0 doesn't resolve. I still can't format it.

    I'm gonna try to format it under Linux now !
      My ComputerSystem Spec


  8. Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       21 Feb 2015 #8

    What's the specific model? Data Traveler?
    Tech Support Search | Kingston Technology

    Is there a write protect switch on the thumb drive?
    Was the data encrypted?

    I had a ext WD that often required a chkdsk to clear the read only bit. The most success was running a read only check disk - no options

    In an elevated command prompt, or even better from a external boot (install disk), run chkdsk <drive letter>
    in disk management , Action menu -> Rescan disks
    right click the disk for the thumb drive.
    select properties
    press the Policies tab
    clear the checkbox for enable write caching on this device
    tick Turn off windows write cache buffer flushing
    Press the [OK] button

    Kingston has an online chat - maybe they have a good idea - chat is free! Only certain times though.
      My ComputerSystem Spec


  9. Posts : 713
    Windows 10 Build 14267
    Thread Starter
       21 Feb 2015 #9

    What's the specific model? Data Traveler?
    Tech Support Search | Kingston Technology

    Is there a write protect switch on the thumb drive?
    Was the data encrypted?

    I had a ext WD that often required a chkdsk to clear the read only bit. The most success was running a read only check disk - no options
    It's a Kingston DataTraveler 8GB. I bought it a month ago and the problems started suddenly a week ago. I'm gonna try your suggestions. Thanks !
      My ComputerSystem Spec


 

Related Threads
Is there any way to delete these system folders. I don't use them, and I never will. If I delete them though, they are simply re-created. Thanks
Hi In Windows 10, how I do not display the "Life at a glance" and "Play and explore" columns of the Start menu? Thanks Bye
Changed the group policy in Windows Update from Automatic downloads to notify back to automatic and I get a message with red text on the advanced settings screen of windows update that "Some settings are managed by your organization' how can i...
The Windows 7 registry mod to remove the "Shortcut" text from shortcut links does not seem to work in Windows 10 Build 1074. Is there a mod for Windows 10 to remove "Shortcut" text from links?
I'm sure it's just a thing with the preview, but to be perfectly honest, I never used Win8 after the initial dev release, so it's entirely possible this was something I would have hated in Win8 as well. 15884 Basically, the search is covering...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:21.
Find Us