got an error at "clean" part of DISKPART

Page 2 of 2 FirstFirst 12

  1. Posts : 26,869
    Windows 11 Pro
       #11

    Mathewss, have you tried other USB drives in the computer and have you tried that USB in other computers? If not, please try it. USB drives do go bad. I would like to try to determine if the problem is with the USB drive or the USB controllers/drivers on your computer. Also, could you right click on computer, select manage, in the left column select device manager. The last entry should be USB controllers. Expand that and see if there are any yellow icons or exclamation marks on any of the entries.
      My Computer


  2. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #12

    In post #6 you said you went through the low-level format. Did you do it as in the steps below? Open command prompt as Admin, type cmd in to Start/Search, right cmd.exe, select Run as Administrator.

    Disk 6 is a USB drive

    got an error at "clean" part of DISKPART-diskpart.png
      My Computer


  3. Posts : 8
    Windows 7 Home Premium 64bit
    Thread Starter
       #13

    Britton30 said:
    In post #6 you said you went through the low-level format. Did you do it as in the steps below? Open command prompt as Admin, type cmd in to Start/Search, right cmd.exe, select Run as Administrator.

    Disk 6 is a USB drive

    got an error at "clean" part of DISKPART-diskpart.png
    yes I did do exactly as you did. just got an error at the clean step of the process.. I tried the flash drive in another computer and also tried formatting it on another computer. I have the same exact problems with the other computer, the other computer is windows xp though not windows 7, I don't think that would make much of difference though. I also tried different ports on the same computer, still the same problem.. I honestly believe now that it is the flash drive that has gone bad. I still have a 5 year warranty on the flash drive and I just got it like last year so I think I'm just gonna use that and get it replaced. Just worried about costs of shipping or something, don't know if they would charge me for shipping and handling or not, if so I'll just probably end up getting a new flash drive. No big deal really one that isn't working only cost like $20 I kind of want a portable hard drive instead anyways so I have a lot more memory.

    Anyways thanks for trying to help. Greatly appreciated, I'll make sure to come back whenever I need help with any other computer problems. Great Forum you have.
      My Computer


  4. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #14

    Good to hear, as essenbe said, USB drives do fail and yours apparently did. I suspect you'd have to pay shipping to get it replaced with almost anyone.
    Yes, come back anytime or contribute help yourself.:)
      My Computer


  5. Posts : 26,869
    Windows 11 Pro
       #15

    I think you should RMA it too. But, just to see, try running diskpart this way, just to see if it will work.

    got an error at "clean" part of DISKPART-usb.jpg
      My Computer


  6. Posts : 8
    Windows 7 Home Premium 64bit
    Thread Starter
       #16

    thnx


    essenbe said:
    I think you should RMA it too. But, just to see, try running diskpart this way, just to see if it will work.

    got an error at "clean" part of DISKPART-usb.jpg
    thnx for the advice. I'll have to try that when I get the windows 7 computer back because this windows xp computer won't even read the flash drive for some reason. when I type "list disk" only the hard drive shows up on this computer. The windows 7 computer is my sisters, planing on getting me one soon but my sis is at college I'll just try this next time she comes home. thnx again though.
      My Computer


  7. Posts : 1
    Win 7 x64
       #17

    the same issue


    essenbe said:
    I think you should RMA it too. But, just to see, try running diskpart this way, just to see if it will work.

    got an error at "clean" part of DISKPART-usb.jpg
    Hello,

    I was following the whole discussion because I have the same issue with my USB Flash Disk.
    I would like to reply to the last advice from essenbe.

    It is not working for me.

    got an error at "clean" part of DISKPART-usb.png
      My Computer


  8. Posts : 1
    Windows 10 Pro
       #18

    Made my USB Flash Drive work again


    spout said:
    Hello,

    I was following the whole discussion because I have the same issue with my USB Flash Disk.
    I would like to reply to the last advice from essenbe.

    It is not working for me.

    got an error at "clean" part of DISKPART-usb.png
    Hi.

    I had the same problem, and I was giving up, until I made something different. Don't know if this will work for all the cases, but I leave what I did here in case someone can do it.

    The problem of this method is that you need a Linux machine, not virtualized. I have dual boot for my job. Maybe can download and boot from a live version of Fedora (Fedora). I am assumig you have root privileges, if not, use "sudo fdisk ...".

    1. Find out the name of your flash drive in Linux executing:
    Code:
    fdisk -l
    Getting something like this:
    Code:
    Disk /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
    Disk model: WDC WDS100T2B0B 
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 316CB1C5-EC81-404E-BC51-AF036B549ED0
    
    Device          Start        End    Sectors   Size Type
    /dev/sda1        2048     411647     409600   200M EFI System
    /dev/sda2      411648    2508799    2097152     1G Linux filesystem
    /dev/sda3     2508800 1290823679 1288314880 614,3G Microsoft basic data
    /dev/sda4  1290823680 1290856447      32768    16M Microsoft reserved
    /dev/sda5  1290856448 1604347903  313491456 149,5G Microsoft basic data
    /dev/sda6  1604347904 1605394431    1046528   511M Windows recovery environment
    /dev/sda7  1605396480 1815111679  209715200   100G Linux filesystem
    /dev/sda8  1815111680 1919969279  104857600    50G Linux filesystem
    /dev/sda9  1919969280 1953523711   33554432    16G Linux swap
    
    
    Disk /dev/zram0: 8 GiB, 8589934592 bytes, 2097152 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/sdb: 57,3 GiB, 61530439680 bytes, 120176640 sectors
    Disk model:  SanDisk 3.2Gen1
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: mbr
    Disk identifier: 51B5CA6C-93DE-8848-A970-8AF810F03F0E
    
    Device     Start       End   Sectors  Size Type
    /dev/sdb1   2048 120176606 120174559 57,3G Microsoft basic data
    For the size, my device is "/dev/sdb" and the partition I can't use is "/dev/sdb1". I tried the same things than was instructed with DISKPART in DISKPART itself and Linux fdisk, but didn't work, so I tried something that can't be done in DISKPART.

    2. Open the device with fdisk:
    Code:
    fdisk /dev/sdb
    3. List the options with "m" + Enter (in case you have another version or options):
    Code:
    Help:
    
      GPT
       M   enter protective/hybrid MBR
    
      Generic
       d   delete a partition
       F   list free unpartitioned space
       l   list known partition types
       n   add a new partition
       p   print the partition table
       t   change a partition type
       v   verify the partition table
       i   print information about a partition
    
      Misc
       m   print this menu
       x   extra functionality (experts only)
    
      Script
       I   load disk layout from sfdisk script file
       O   dump disk layout to sfdisk script file
    
      Save & Exit
       w   write table to disk and exit
       q   quit without saving changes
    
      Create a new label
       g   create a new empty GPT partition table
       G   create a new empty SGI (IRIX) partition table
       o   create a new empty DOS partition table
       s   create a new empty Sun partition table
    
    
    Command (m for help):
    4. Since my drive was MBR, tried with GPT partition model, write "g" + Enter.
    Code:
    Command (m for help): g
    Created a new GPT disklabel (GUID: EC8851FA-79F5-ED44-807A-E5501ED7099D).
    
    Command (m for help):
    5. Create a new partition, write "n" + Enter (just Enter to the questions, will make everything by default):
    Code:
    Command (m for help): n
    Partition number (1-128, default 1): 
    First sector (2048-120176606, default 2048): 
    Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-120176606, default 120176606): 
    
    Created a new partition 1 of type 'Linux filesystem' and of size 57,3 GiB.
    
    Command (m for help):
    6. Change partition signature to something Windows can understand, write "t" + Enter:
    Code:
    Command (m for help): t
    Selected partition 1
    Partition type or alias (type L to list all): 11
    Changed type of partition 'Linux filesystem' to 'Microsoft basic data'.
    
    Command (m for help):
    7. Finally write all the changes to your flash drive, write "w" + Enter.

    In my case, I could reboot to Windows and format the drive withour any problem.

    Hope this works for some else with the same problem... if it the flash drive is new, well, you can RMA it.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

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