Please do not mark my question as a duplicate, as I have read the solutions to many of the same questions and despite applying them, I still have the same problem.
I have a PNY 64GB USB drive, but I cannot delete files from it or add new files to it because it is "write protected". I am using Windows 7.
What I have tried:
-
Locating a switch, there is none.
-
Trying to find a "Security" tab when in the properties menu of my USB drive. There isn't one.
-
Trying to format it outright by right-clicking my USB Drive in the C: folder, and going to "format". It fails and tells me that the file is write protected.
-
Using "Filepart" from the Command Prompt, selecting the right volume, and changing the attribute of the readonly option. Still tells me that the disk is write protected when I try to format it.
-
Inserting the following code into a .bat file and executing it (as was suggested by a user on StackExchange to a similar question):
reg add "HKLM\System\CurrentControlSet\Control\StorageDevicePolicies" /t Reg_dword /v WriteProtect /f /d 0
-
Trying to edit my registry directly. The problem with this approach is that I am missing the folder required, "StorageDevicePolicies". So I created that "key" and put a DWORD value called "WriteProtect" in it, with its value data set to 0. Still the USB Drive is "write protected".
-
Attempting to format through diskmgmt.msc, again, same problem: tells me that the file is disk protected.
-
Downloading the HPUSBDisk-2.2.3.exe, which was supposed to be able to format my USB Drive but resulted in the same thing–cannot format because disk is write protected.
Best Answer
SOLVED: I found a link to the company's website, where software to "recover" the drive is available. If you have a similar problem with a PNY drive, please check it out, as it may spare you the headache I had.