Why can't I delete all partitions on a flash drive in Windows 7?

179,838

Solution 1

There's no need to install any third-party programs, Windows already includes everything you need. Just open up command prompt and enter the following commands in sequence:

DISKPART
LIST DISK

Select the disk that you want to correct. Example: I want to remove all partitions on Disk 1:

SELECT DISK 1
CLEAN

If the CLEAN command doesn't work, try RECOVER.

Disk 1 will be recovered as one complete disk.

FORMAT <option>

Where <options> represent what formatting method you'd prefer. Alternatively, use QUICK.

Solution 2

Try the software MiniTool Partition Wizard.

I've used it before to create and delete partitions on flash media. It may work for you, and it's free.

MiniTool Partition Wizard Home Edition is a free partition manager software designed by MiniTool Solution Ltd. Our partition manager supports 32/64 bit Windows Operating System including Windows XP, Vista and Windows 7. Home users can perform complicated partition operations by using this powerful yet free partition manager to manage their hard disk. MiniTool Partition Wizard Home Edition is designated for home user only.

  • Support Windows 2000/XP/Vista/windows 7 (32 bit & 64 bit) operating system.
  • Support RAID.
  • Extend system partition to maximize computer performance.
  • Manage the hard disk for substantial performance increase.
  • Create, Delete and Format partitions with simple steps.
  • Disk Copy to protect or transfer data.
  • Support disk and partition size larger than 2 TB.
  • Convert partition format from FAT to NTFS.
  • Partition Copy: Copy the entire content of one hard disk to another.
  • Copy Disk Wizard: Copy the entire hard disk to another without having to reinstall Windows.
  • Disk Map - Visually demonstrate your disk/partition configuration; preview the changes before applying.
  • Hide/unhide partition, set active partition, etc. - Change partition properties easily.
  • Explore FAT/NTFS partition.
  • Set partition as primary.
  • Set partition as logical.
  • Rebuild MBR.
  • Disk Surface Test.
  • Partition Surface Test.
  • Change Partition Serial Number.
  • Change Partition Type ID.
  • Hot Extend Partition without reboot. NEW!

enter image description here

Share:
179,838

Related videos on Youtube

user3784403
Author by

user3784403

Hidden features of Stack Overflow? Stack Exchange blogs and podcasts Why is Internet access and Wi-Fi always so terrible at large tech conferences? Ubuntu manpage repository http://askubuntu.com/q/5121/how-do-i-report-a-bug http://askubuntu.com/q/14008/i-have-a-hardware-detection-problem-what-logs-do-i-need-to-look-into script (create a transcript of a terminal session) WiFi TroubleShooting Commands Ars Technica Climate change deniers billboard trolling porn, al-Qaeda, &amp; steganography Google Tech Talks (search) WifiDocs: Wireless Networking Central How to check hardware specification in Linux If you have solved your problem you should answer your own question and then select ("check") it as the best answer. Answering your own question to complete it is perfectly acceptable, even encouraged (when a *better* answer is not available). See Jeff Atwood's [se] BLOG 01 July 2011 [*It’s OK to Ask and Answer Your Own Questions*](http://blog.stackoverflow.com/2011/07/its-ok-to-ask-and-answer-your-own-questions) or the end of this *[faq#question]* section. http://help.ubuntu.com/community/KnowThyUbuntu What is Trello ???

Updated on September 17, 2022

Comments

  • user3784403
    user3784403 over 1 year

    Recently I purchased an ADATA C802 8GB flash drive. Since the drive was new I decided to run some of the HD Tune Pro (v4.50) performance tests on it, mostly just for the heck of it.

    To avoid accidentally destroying data HD Tune refuses to write to a drive unless there are no partitions on the drive. If you do attempt to write to a drive with partitions, it posts the message "Writing is disabled. To enable writing please remove all partitions."

    As you would expect, the ADATA came formatted with a single primary FAT32 partition in the Master Boot Record. But a number of unexpected things happened when I attempted to delete that partition.

    1. The first thing I tried was to use the Windows 7 (64-bit) Disk Management tool (diskmgmt.msc) to delete the partition. It would not let me. The context menu choice to delete that volume was not available.

    2. Next I opened up a command prompt window with Admin authority and ran diskpart. Diskpart deleted the volume for me. However, when I attempted to run an HD Tune write test on the drive I still got the "Writing is disabled" message. Huh???

    3. So I fired up a utility I happen to own which allows viewing drives at the sector level and verified that the partition table in the Master Boot Record was empty. No partitions. Yet HD Tune still thought there were partitions on the drive?

    So why was I still getting the "Writing is disabled" message from HD Tune Pro? And why wouldn't the Windows 7 Disk Management tool let me change the partitions on this drive.

    After doing the above, I plugged the ADATA into my MacBook. I was then able to format it as either a GPT or MBR partitioned drive with no problems. I am not looking for suggestions on how to format this drive. I can do that.

    What I do not understand and was hoping I might get insight into is why this drive behaves so strangely under Windows 7? And BTW, what's up with HD Tune Pro?

    BTW, if I plug the drive I formatted on my MacBook back into my Windows 7 64-bit system I still run into road blocks with the Disk Management tool. For example, I cannot delete all the GPT partitions on the ADATA so I can convert it into an MBR drive. I followed Microsoft's instructions, the instructions just do not work with this ADATA flash drive.

    Anyone know what's up with this? It makes no sense to me. Has something changed in Windows 7 (Vista)??

    • Breakthrough
      Breakthrough over 12 years
      With DISKPART, select the disk, and run CLEAN. Then try to use the benchmark. Let me know if that solves it.
    • travis
      travis over 12 years
      I tried DISKPART and I got an error on CLEAN after selecting the disk: DiskPart has encountered an error: Incorrect function. See the System Event Log for more information.
  • Gnudiff
    Gnudiff almost 10 years
    This is almost correct. For correct answer, see superuser.com/questions/536813/…
  • StackOverflowed
    StackOverflowed over 9 years
    In my opinion (and in my experience 30 seconds ago), this IS the correct answer.
  • kevlar1818
    kevlar1818 over 9 years
    RECOVER was successful, but CLEAN was what I needed.
  • Rachael
    Rachael almost 9 years
    what's the difference between recover and clean?
  • Joe Healy
    Joe Healy over 8 years
    recover didn't do anything for me. clean worked great. good stuff.
  • Antonio Sesto
    Antonio Sesto over 2 years
    Well, nice tutorial up to the very last step. In my case (windows 10), the only supported file systems are NTFS and exFAT. So, no, windows does need a tool for FAT32 formatting.