I have a 4GB HP USB flash drive that I had written a Chromium OS image to with Win32DiskImager. Now I am trying to reformat it but I can't. Everything tells me the disk is write protected. Being a USB flash drive, there is no write-protect switch. I have tried the standard windows format thing, disk management, diskpart and HP USB Disk Storage Format Tool. I also tried the registry modification. Any ideas? Here is the results of trying to use diskpart:
Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>diskpart Microsoft DiskPart version 6.3.9600 Copyright (C) 1999-2013 Microsoft Corporation. On computer: BRANDON-PC DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 931 GB 1024 KB Disk 1 No Media 0 B 0 B Disk 2 No Media 0 B 0 B Disk 3 No Media 0 B 0 B Disk 4 No Media 0 B 0 B Disk 5 No Media 0 B 0 B Disk 6 Online 3824 MB 0 B DISKPART> select disk 6 Disk 6 is now the selected disk. DISKPART> attributes disk clear readonly Disk attributes cleared successfully. DISKPART> clean DiskPart has encountered an error: Incorrect function. See the System Event Log for more information. DISKPART> create partition primary DiskPart succeeded in creating the specified partition. DISKPART> format fs=fat32 0 percent completed Virtual Disk Service error: The media is write protected. DISKPART> exit Leaving DiskPart... C:\WINDOWS\system32>
Even after using "attributes disk clear readonly" it still says the media is write protected. I think it's because the clean operation fails.