Format USB When Windows Can't: Full Guide
In this article
Yes, you can format a USB drive even if Windows fails—typically by using built-in tools like DiskPart, third-party formatting utilities, or checking for hardware locks. This guide walks you through reliable methods when the standard format option fails, often due to file system corruption, write protection, bad sectors, or unrecognized partitions.
What You'll Need
- A Windows PC with administrator access
- The USB drive you want to format
- Backup storage (external drive, cloud, etc.) for important files
- Optional: Third-party formatting tool (like Rufus or HP USB Disk Storage Format Tool)
Step-by-Step
- Back up your data: If the USB contains any files, try to copy them to your computer or cloud storage. Once formatting starts, all data will be erased permanently.
- Check for a physical write-protection switch: Some USB drives have a small physical switch on the side that enables write protection. Slide it to the unlock position if present.
- Open Disk Management: Press Windows + X and select Disk Management. Locate your USB drive in the list. Note its drive letter and status (e.g., “Removable,” “RAW,” or “Unallocated”).
- Delete the volume (if necessary): Right-click the USB partition and choose Delete Volume. This removes the current file system and prepares the drive for reformatting. Confirm the action when prompted.
- Create a new simple volume: Right-click the unallocated space and select New Simple Volume. Follow the wizard, assign a drive letter, and choose a file system (NTFS, FAT32, or exFAT). Click Finish to format.
- If Disk Management fails, use DiskPart: Open Command Prompt as administrator (search for cmd, right-click, and choose Run as administrator).
- Type diskpart and press Enter. Wait for the DiskPart utility to launch.
- Type list disk and press Enter. Identify your USB drive by its size.
- Type select disk X (replace X with your USB’s disk number) and press Enter. Be absolutely sure you’ve selected the correct disk.
- Type clean and press Enter. This erases all partition data from the drive.
- Type create partition primary and press Enter.
- Type format fs=fat32 quick (or ntfs, exfat) and press Enter. Wait for completion.
- Type assign to give the drive a letter, then exit to close DiskPart.
- Try a third-party tool: If all else fails, download Rufus (from the official site). Open it, select your USB drive, choose a file system, and click Start. Rufus often handles stubborn drives better than Windows tools.
Common Mistakes
- Selecting the wrong disk in DiskPart: Typing select disk 0 when your internal drive is disk 0 can wipe your system. Always verify the disk number using list disk and cross-check the size.
- Skipping the backup: Assuming the drive is empty or that files can be recovered later leads to permanent data loss.
- Using slow format unnecessarily: Unless you suspect malware or bad sectors, a quick format is sufficient and faster.
- Ignoring the write-protection switch: Some users spend time troubleshooting software issues when a simple switch is blocking writes.
- Formatting with incompatible file systems: Using NTFS for small drives or devices that only support FAT32 (like some car stereos) can cause future access problems.
Tips
- Always use exFAT for USB drives over 32GB that need cross-platform compatibility (Windows and macOS).
- If the drive shows up in Disk Management but not File Explorer, assigning a drive letter often fixes it.
- Rufus can format drives that appear as “locked” or “in use” by bypassing Windows restrictions.
- After formatting, run a quick disk check: open Command Prompt and type chkdsk E: /f (replace E with your USB’s letter).
- If the USB is recognized intermittently, test it on another PC or try a different USB port or cable (for USB-C drives).
Troubleshooting
If the USB still won’t format, try these steps in order:
- Restart your PC: A reboot can clear temporary driver issues.
- Update USB drivers: Open Device Manager, expand Universal Serial Bus controllers, right-click each entry, and choose Update driver.
- Check for disk errors: In Command Prompt, run chkdsk X: /f /r (replace X with the USB letter) to scan and fix file system errors.
- Disable write protection via Registry (advanced): Press Windows + R, type regedit, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. If the key exists, set WriteProtect to 0. If it doesn’t exist, the system isn’t enforcing software write protection.
- Test the USB on another computer: This helps determine if the issue is with the drive or your system.
- Consider drive failure: If no tool can detect or format the drive, it may have hardware damage. In such cases, professional data recovery services might be the only option, but formatting will likely remain impossible.
Frequently Asked Questions
Why won’t Windows let me format my USB?
Common causes include write protection (physical or software-based), file system corruption, bad sectors, or the drive being locked by another process.
Can I format a RAW USB drive?
Yes. Use DiskPart or Disk Management to delete the partition and reformat it with a valid file system like FAT32 or exFAT.
Is DiskPart safe to use?
Yes, if used correctly. Always confirm the disk number before running the clean command to avoid deleting the wrong drive.
What file system should I use for my USB?
Use FAT32 for drives under 32GB and broad compatibility. Use exFAT for larger drives and cross-platform use. Avoid NTFS unless needed for large individual files or Windows-only systems.
Why does my USB show 0 bytes?
This often means the partition table is damaged. Use DiskPart to clean and recreate the partition.
Can a virus prevent formatting?
Rarely. Most viruses don’t block formatting, but they can corrupt the file system. Formatting usually removes the infection, but use antivirus software before reusing the drive.