Windows 10: Diskpart Clean USB Problem

Discus and support Diskpart Clean USB Problem in Windows 10 Drivers and Hardware to solve the problem; I recently created a bootable USB device for Windows 10 then did these steps I found on the web: Plug in the flash drive. At a command prompt run:... Discussion in 'Windows 10 Drivers and Hardware' started by Cris1, Nov 5, 2020.

  1. Cris1 Win User

    Diskpart Clean USB Problem


    I recently created a bootable USB device for Windows 10 then did these steps I found on the web:
    • Plug in the flash drive.
    • At a command prompt run: diskpart
    • List disk (Enter)
    • Select disk (number of flash drive) (Press Enter)
    • Clean (It will wipe the drive completely, including partitions
    Once done, I exited the cmd then proceeded to go into disk management and select on what I think is the usb drive I plugged in. I then proceeded to click New Simple Volume and go through it normally. I then realized that the partition I did was not my usb but something else, however there are no other external storage medias plugged in to my PC, only my usb and I know that I didn't select my internal hard drives. I say it's something else because I still can't access my USB it says to insert a disk drive on (drive letter). And I am free to unplug my usb and the extra drive would still be there. I think I bricked something, I'm asking for help with my situation. Any feedbacks are well appreciated, thanks!
    EDIT: Forgot to mention, the size of my USB is 32gb and the partition I created was only 12gb without any files inside of it. I don't know what I was thinking.

    :)
     
    Cris1, Nov 5, 2020
    #1

  2. DISKPART CLEAN

    Hello

    I'm Peter F independent Advisor

    You will get this error when you are using diskpart clean command on system disk. The system disk contains the Windows operating system files and other critical files, if you are allowed to clean the system disk, all the data and partitions will be gone. That
    will result in a lot of errors and chaos. Meanwhile, the delete volume is greyed out in Disk Management. In this case, the new SSD drive may be regarded as the system disk due to the system files, etc.

    Using Windows installation disc to clean

    If you have the Windows installation disc, you can follow these steps to solve clean is not allowed issue in Windows 7/8/10:

    1. Insert the Windows installation disc, then boot from it.

    2. Click Repair your computer> Troubleshoot > Advanced Options > Command Prompt.

    3. Then input the diskpart commands to clean hard disk:

    diskpart

    list disk

    select disk [disknumber]

    clean

    Diskpart Clean

    Then you could create a new partition on the drive to solve this problem.

    Reference

    https://www.disk-partition.com/articles/virtual...

    This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised
    on the site before you decide to download and install it.

    I hope it helps
     
    Pedro V Flores, Nov 5, 2020
    #2
  3. thraxed Win User
    Installing windows off of a USB stick

    Step By Step from vista:
    From admin cmd prompt

    1. diskpart
    1a. list disk
    2. select disk 1 (replace 1 with your usb drive)
    3. clean
    4. create partition primary
    5. select partition 1 (replace 1 with your usb drive)
    6. active
    7. format fs=fat32
    8. assign
    9. exit

    Copy Windows Vista's DVD ROM content to the Flash Drive

    xcopy d:\*.* /s/e/f e:\ (d being your vista cd and e being your usb stick)

    And that's it, boot off your usb disk
     
    thraxed, Nov 5, 2020
    #3
  4. Diskpart Clean USB Problem

    Diskpart problems?

    Hi again, I tried what you suggested and got the same error message as before. I spoke to a guy on another forum and he suggested typing the "Active" command before doing the Format.
    diskpart
    list disk
    select disk # <-replace # with the actual number for the USB flash drive
    clean
    create partition primary
    select partition 1
    active
    format fs=fat32 quick
    He tried it on a Windows 7 PC with the Active command straight after format and he was told to select a partition again...but when selecting Active first before format it was fine.
    Im thinking that might be the case on my Windows 10 laptop too but instead of getting a reminder to select a partition I get an error. After the error message If I select a partition and Type Active everything is OK. It seems a bit strange I know!!

    Can I ask you though. Is it OK to type the Active command before the Format command or should Active only be typed into Diskpart after the Format has been done?
     
    sportsfan148, Nov 5, 2020
    #4
Thema:

Diskpart Clean USB Problem

Loading...
  1. Diskpart Clean USB Problem - Similar Threads - Diskpart Clean USB

  2. Clean all diskpart

    in Windows 10 Gaming
    Clean all diskpart: so i accidentally use command clean all instead clean because windows install wont format my hard drive with error code 0x8004242d D:< when refresh the where do you want to install windows? page it just formated with only one partition i have three partition before D': idk if...
  3. Clean all diskpart

    in Windows 10 Software and Apps
    Clean all diskpart: so i accidentally use command clean all instead clean because windows install wont format my hard drive with error code 0x8004242d D:< when refresh the where do you want to install windows? page it just formated with only one partition i have three partition before D': idk if...
  4. Clean all diskpart

    in Windows 10 Installation and Upgrade
    Clean all diskpart: so i accidentally use command clean all instead clean because windows install wont format my hard drive with error code 0x8004242d D:< when refresh the where do you want to install windows? page it just formated with only one partition i have three partition before D': idk if...
  5. Diskpart clean

    in Windows 10 Network and Sharing
    Diskpart clean: Hello,I recently used clean command in diskpart and it is the only drive in my laptop and i installed windows in it. How do i get the files back? https://answers.microsoft.com/en-us/windows/forum/all/diskpart-clean/d5d23cc0-1366-4054-b1ee-8645fa015585
  6. Diskpart clean

    in Windows 10 Gaming
    Diskpart clean: Hello,I recently used clean command in diskpart and it is the only drive in my laptop and i installed windows in it. How do i get the files back? https://answers.microsoft.com/en-us/windows/forum/all/diskpart-clean/d5d23cc0-1366-4054-b1ee-8645fa015585
  7. Diskpart clean

    in Windows 10 Software and Apps
    Diskpart clean: Hello,I recently used clean command in diskpart and it is the only drive in my laptop and i installed windows in it. How do i get the files back? https://answers.microsoft.com/en-us/windows/forum/all/diskpart-clean/d5d23cc0-1366-4054-b1ee-8645fa015585
  8. Unable to clean usb using diskpart

    in Windows 10 Drivers and Hardware
    Unable to clean usb using diskpart: Yesterday I encountered an error that when using diskpart i was unable to clean my usb drive, I searched the internet for answers but any answer can't fix up my problem, so can anyone help me?[ATTACH]...
  9. Accidentally Cleaned my USB Through Diskpart

    in Windows 10 Ask Insider
    Accidentally Cleaned my USB Through Diskpart: Earlier today I was trying to format one of my partitions with my usb plugged in through diskpart but instead bricked my usb. I used diskpart clean thinking the 30gb disk was my partition for some reason but it was actually my 30gb usb. I tried formatting it through the file...
  10. DISKPART CLEAN

    in Windows 10 BSOD Crashes and Debugging
    DISKPART CLEAN: Why won't diskpart clean work on my laptop? Thank you [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/diskpart-clean/14acc163-1e60-4373-8363-c5942ae68e51