unable to clean my usb drive

while cleaning with cmd , got the following error
DISKPART> clean

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.

DISKPART>
then in event log i got this 
Cannot zero sectors on disk \\?\PhysicalDrive1. Error code: \\?\PhysicalDrive1
 

Question Info


Last updated May 29, 2020 Views 43,717 Applies to:

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Hi Anubhav,

 

Let’s follow these steps and check if it helps.

 

I would suggest you to run check disk and check if it helps.

 

a) Press Windows Key + X.
b) Click on ‘Command Prompt (Admin) to bring up elevated command prompt. Note:
Click ‘Yes’ if it prompts for permission.
c) In the command prompt type in the following command and hit enter.

 

chkdsk /r (there is a space between k and /)

Important: While performing chkdsk on the hard drive if any bad sectors are found on the hard drive when chkdsk tries to repair that sector if any data available on that might be lost.

 

For more information on DiskPart command line options, refer to the link.

 

http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx

 

Hope this information helps. If you have any concerns, please let us know.

K.Z. Sharief Khan
Ex-Microsoft Forum Moderator

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Anubhav,

Let’s follow these steps and check if it helps.

I would suggest you to run check disk and check if it helps.

a) Press Windows Key + X.
b) Click on ‘Command Prompt (Admin) to bring up elevated command prompt. Note:
Click ‘Yes’ if it prompts for permission.
c) In the command prompt type in the following command and hit enter.

chkdsk /r (there is a space between k and /)

Important: While performing chkdsk on the hard drive if any bad sectors are found on the hard drive when chkdsk tries to repair that sector if any data available on that might be lost.

For more information on DiskPart command line options, refer to the link.

http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx

Hope this information helps. If you have any concerns, please let us know.

I tried as u said but it gives me following error

D:\>chkdsk /r
The type of the file system is FAT32.
Cannot lock current drive.
Windows cannot run disk checking on this volume because it is write protected.

3 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Ashutosh,

You may run the following command and see if it fixes the issue.

chkdsk D: /f /r /x

Hope it helps.

K.Z. Sharief Khan
Ex-Microsoft Forum Moderator

64 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Ashutosh,

You may run the following command and see if it fixes the issue.

chkdsk D: /f /r /x

Hope it helps.

I also tried this but had no luck.  The command prompt returns the following message.

The type of the file system is FAT32.

Windows cannot run disk checking on this volume because it is write protected.

5 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I have had this happen a couple times... Usually when I take a USB key that had been used on a Linux system...

ChromeOS backups, ESXi, and something else all made the USB key unusable in Windows.

If you were playing with Linux, try putting the key back into a Linux machine and having it format the key.

If you don't have one available or wasn't playing with Linux, it still may help.

Download GParted (bootable ISO) and have it clean the key... (This is what I used to wipe an ESXi install) and I was able to get a ChromeBox to format the key that I had orginally used to place the ChromeOS backup on...

I hope this helps...  (probably a little to late)

9 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

having same problem

and to that

chkdsk D: /f /r /x

is not working

4 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

@WilliamGonzalez_EWP

I found the solution as i have the same problem.

Try to download (PowerISO) program search it on Google, and Run the program as (Administrator) to give it full permission, then select from the upper Tab "Tools" > "Clean USB Drive" > "Start" > "Ok"

Then it will erase all data in the USB Drive, Now you've to Open "Command Prompt" as "Administrator) > Then follow the same steps that you would have start in your first comment which are

Diskpart > List disk > select disk # > clean > etc.... 

59 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thanks Vip,

PowerISO worked to clean the USB stick but after that process I try to format the drive and it will not format successfully.  Any ideas there?

5 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Ashutosh,

You may run the following command and see if it fixes the issue.

chkdsk D: /f /r /x

Hope it helps.

Any particular reason you suggested to run chkdsk on drive D?

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

H:\>chkdsk /r
The type of the file system is FAT32.
Cannot lock current drive.
Windows cannot run disk checking on this volume because it is write protected.

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.