Flash Drive Guide: How to Fix Windows Unable to Format USB

If your Windows is unable to format USB, here is the fix guide to show you why this problem appears and how to solve it in different methods in Windows 10 & 11.

Lucas

By Lucas Updated on August 20, 2026

Share this: instagram reddit

When dealing with a Windows unable to format USB error, the problem is rarely a dead drive. In many cases, the USB is locked by write-protection or malware, meaning you must clear the read-only attributes using native command-line tools to unlock the disk.

If the file system has experienced a sudden power loss and turned RAW, you cannot format a USB drive using the standard Windows File Explorer. Instead, you must bypass the basic interface and use Windows Disk Management to delete the corrupted volume and recreate it from scratch.

When native tools crash or throw I/O device errors, many users rely on AOMEI Partition Software. This free, visual disk manager allows you to force the format, wiping the drive clean and completely bypassing the Windows was unable to complete the format USB error entirely.

Why is Windows Unable to Format USB Drives?

Understanding the background mechanics of the Windows formatting protocol dictates your troubleshooting approach. Let's explore the common administrative and hardware roadblocks that trigger this frustrating failure.

You plug your flash drive into your Windows 11 or 10 computer, right-click the drive in File Explorer, and select "Format." The green progress bar moves before halting. A pop-up box appears stating that Windows was unable to complete the operation, leaving your drive inaccessible.

This error occurs because File Explorer uses a very superficial formatting method. If the drive has a scrambled "RAW" file system from being unplugged unsafely, if a virus has locked the drive's write permissions, or if the physical flash memory cells are dying, standard Windows tools will abort the operation to prevent system crashes. To fix this, you must step away from File Explorer and utilize deeper administrative utilities.

Try Windows Tools to Resolve Write Protection and Malware Blocks

Removing software locks is the mandatory first step before attempting any deep formatting. Administrators must strip these hidden restrictions using native command-line utilities. If a virus or a system glitch has locked your flash drive, Windows will refuse to modify the file system. We must force the operating system to drop these global read-only restrictions.

Tool 1: Clear Attributes via Diskpart

Executing advanced administrative commands strips the protective software lock from the selected flash memory. We will use the native terminal to execute this securely.

Step 1. Click the Windows Start button, type cmd, right-click Command Prompt, and select Run as administrator.

Step 2. Type diskpart and press Enter to launch the storage utility.

Step 3. Type list disk and press Enter. Identify your USB drive by its storage size and note its disk number (e.g., Disk 2).

Step 4. Type select disk X (replacing X with your actual USB disk number) and press Enter.

Step 5. Type attributes disk clear readonly and press Enter.

attributes disk clear readonly

The terminal will reply with: "Disk attributes cleared successfully." Type exit to close the terminal, and you can now attempt to format the flash drive normally.

Tool 2: Fix Cannot Format a USB Drive using Disk Management

Bypassing File Explorer limitations requires utilizing the built-in Windows logical disk manager. This native tool provides a deeper, more aggressive formatting protocol for corrupted flash drives.

When Windows is unable to complete the format USB warning stops your workflow, the flash drive has likely suffered logical corruption. This transforms the drive into a RAW state, which File Explorer cannot handle. We must use Windows Disk Management to force the file system rewrite.

Step 1. Deleting the corrupted volume allows the operating system to build a fresh partition table from scratch. Follow these precise steps to configure your storage media.

Step 2. Right-click the Windows Start button (or press Windows Key + X) and select Disk Management.

Step 3. Look at the visual map at the bottom of the screen and locate your corrupted USB flash drive.

Step 4. Right-click the RAW partition block on the USB drive and select Delete Volume.

delete volume

Step 5. The block will turn black and display as "Unallocated Space." Right-click this black block and select New Simple Volume.

new simple volume

Step 6. Click Next through the wizard, assigning a new drive letter.

create new volume

On the formatting screen, select FAT32 or exFAT from the File system drop-down menu. Ensure "Perform a quick format" is checked, and click Finish. The disk manager will push past the File Explorer errors and format your drive.

Format Stubborn RAW USB Drives by Force Formatting

When native Windows utilities completely freeze or throw I/O device errors, administrators must rely on enterprise-grade partition managers. AOMEI Partition Software provides an elite visual interface to force-format stubbornly locked drives effortlessly.

Windows Disk Management fails on heavily corrupted USBs. If you cannot format a USB drive under any conditions, you can utilize AOMEI Partition Software. Because this software operates at the foundational sector level, it easily bypasses Microsoft's rigid GUI errors, allowing you to force a clean format, wipe the drive entirely, or test it for hardware failure.

AOMEI Partition Software

A free and reliable disk partition software that helps you resize partitions, migrate OS, convert disks, and optimize PC efficiently.

 

Method 1. Format Stubborn RAW USB Drives

Step 1. Download, install, and open AOMEI Partition Software on your Windows PC. Locate your locked or RAW USB drive in the visual disk map on the main interface.

Step 2. Right-click the corrupted partition and select Format Partition.

format partition

Step 3. A dialog box will appear. Select a highly compatible file system from the drop-down menu, such as FAT32 or exFAT, and enter a new Volume Label.

choose file system

Step 4. Click OK. Navigate to the top-left toolbar, click Apply, and hit Proceed. The software will override the native Windows lock and successfully format your drive.

apply

Method 2. Wipe Partition and Check for Bad Sectors

If standard formatting is rejected due to deep sector blocks, wiping the unallocated space forces a complete factory-level reset of the flash memory. Furthermore, running a surface test diagnoses terminal hardware failure.

Step 1. If the format fails, right-click the stubborn USB drive in AOMEI and select Wipe Partition.

wipe partition

Step 2. Choose the Fill sectors with Zero wiping method to mathematically overwrite the corrupted data blocks, then click OK, Apply, and Proceed.

wipe method

Step 3. Once wiped, right-click the empty Unallocated Space and select Create Partition to format it normally.

✨ Bonus Diagnostic: If the drive still throws a Windows unable to format USB error, right-click it, navigate to Advanced > Check Partition, and run a Surface Test. If the visual grid turns red, your flash drive has physical bad sectors and is permanently dead.

Surface test

Ending

For standard flash drives, utilizing Windows Disk Management often bypasses a Windows unable to format USB error caused by RAW corruption. However, when severe logical damage paralyzes native Microsoft tools, and you cannot format a USB drive natively, deploying AOMEI Partition Software guarantees success. By utilizing its advanced Format Partition, Wipe Partition, and Surface Test features, administrators can securely force the format and restore their portable storage to peak condition.

FAQs

Q: Can I recover my files if Windows is unable to format the USB drive?

A: Yes, provided the drive is not physically dead. Before you force a format using Disk Management or AOMEI Partition Software (which will delete the data), you should use dedicated data recovery software to scan the RAW drive. Once the files are safely extracted to your C: drive, you can proceed with formatting the USB.

Q: Why does Windows refuse to format my 64GB USB drive to FAT32?

A: Microsoft intentionally restricts native Windows utilities from formatting any partition larger than 32GB to the FAT32 file system, which often causes formatting failures if forced via CMD. To format massive flash drives to FAT32 for use in gaming consoles or dashcams, you must use a third-party tool like AOMEI Partition Software to bypass the 32GB limit.

Q: Is my USB drive physically dead if AOMEI Partition Software​​​​​ cannot format it?

A: If a professional tool like AOMEI fails to format the drive, throws an I/O (Input/Output) error, and the Surface Test reveals massive red blocks, the flash memory controller inside the card has suffered a catastrophic hardware failure. When cheap flash drives reach the end of their lifespan, they intentionally lock themselves to prevent further data corruption, meaning the drive must be replaced.

Lucas
Lucas · Editor
I prefer peaceful and quiet life during vacation,but sometimes I watch football match if my favorite club performs brilliantly in that season. And I love reading, painting and calligraphy, thus I send my friends festival handwriting cards every year.