TechBuzzPro

Windows Unable to Complete the Format: Fix Guide

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Windows says it is unable to complete the format, the drive is usually locked by another process, has a partition table Windows cannot write to, or has developed bad sectors. The fastest fix is to close every program that might be using the drive, then format it again from Disk Management or Diskpart. If that still fails, you need to check the drive's health and its partition style before trying anything more drastic.

This guide walks through the safe order of operations: release the lock, use the built-in tools, verify the hardware, and only then consider wiping the partition table. Formatting deletes everything on the drive, so confirm you have a backup of anything you need before you start. The exact labels in Windows can differ slightly between Windows 10 and Windows 11, and between editions and regions, but the tools and paths below are the ones Microsoft documents.

What You'll Need

  • The drive you want to format, connected directly to the PC (not through a USB hub if you can avoid it).
  • Administrator rights on the Windows account you are using.
  • A backup of any files on the drive you want to keep, because formatting erases them.
  • Optional: the drive manufacturer's diagnostic tool, which you can download from their official support site, to check for hardware faults.

Step-by-Step

  1. Close everything that might be using the drive. File Explorer windows, backup software, cloud sync clients, antivirus scans, and any program with a file open on that drive can block a format. The quickest way is to sign out of Windows and sign back in, or restart the PC with the drive connected. Do not skip this; a locked drive is the most common cause of the error.
  2. Open Disk Management. Right-click the Start button and choose Disk Management, or press Windows+X and pick it from the menu. If the drive appears but has no drive letter, right-click its partition and choose Change Drive Letter and Paths to assign one. Then right-click the partition again and choose Format. Pick a file system (NTFS for internal drives, exFAT if you need to move files between Windows and macOS), leave allocation unit size at Default, and tick Quick Format unless you suspect the drive is failing.
  3. If Disk Management fails, try Diskpart. Open Start, type cmd, right-click Command Prompt and choose Run as administrator. Type diskpart, then list disk. Identify your drive by its size and be careful: the next commands erase the selected disk. Type select disk N (replace N with the correct number), then clean, then create partition primary, then format fs=ntfs quick, and finally assign. The clean command removes all partitions and data on that disk, so double-check the disk number before you press Enter.
  4. Check the drive's health. If both tools fail at the same point, the problem is likely physical. Open File Explorer, right-click the drive, choose Properties, then the Tools tab, and run Check under Error checking. For a deeper look, use the manufacturer's diagnostic utility or a SMART-reading tool from a reputable vendor. A drive that reports reallocated sectors or read errors should be replaced rather than formatted.
  5. Try a different connection. For an external drive, swap the USB cable and try a different port, preferably one directly on the PC rather than a hub. For an internal drive, reseat the SATA or power cable only if you are comfortable opening the case; otherwise have someone who is do so. A loose or failing cable produces exactly this kind of intermittent format failure.
  6. Recreate the partition table if the drive is still unusable. In Diskpart, after selecting the correct disk, run clean again, then convert gpt (or convert mbr if the PC needs it), then create and format a new partition as in step 3. This wipes the drive completely, including any recovery partitions, so only do it on a drive you intend to reuse from scratch.

Common Mistakes

  • Formatting the wrong disk. In Diskpart, disk numbers are not tied to drive letters. Always confirm by size and model before running clean.
  • Choosing the wrong file system. NTFS is right for Windows-only drives; exFAT is better for drives you will use on both Windows and Mac. FAT32 has a 4 GB file size limit and is rarely the right choice for a modern drive.
  • Skipping Quick Format when the drive is fine. A full format takes much longer and adds wear, but it can surface bad sectors. Use it only when you suspect a problem.
  • Ignoring the lock. Retrying the format without closing the program that holds the drive open just produces the same error.
  • Pulling the drive during the format. Disconnecting an external drive mid-format can leave it in a raw or unreadable state.

Tips

  • Run Disk Management and Diskpart as administrator; standard accounts often see the format option greyed out.
  • If the drive is a USB flash drive that came with a small read-only utility partition, the manufacturer's official tool may be needed to restore it.
  • Keep the drive connected directly to the PC during the whole process, and do not let the PC sleep.
  • After a successful format, copy a small test file to the drive and eject it properly before relying on it.

Troubleshooting

If the format still fails, work through these in order:

  • The drive shows as RAW or unallocated. Use Diskpart to clean and recreate the partition, as in step 6. This destroys the existing data, so recover files first if they matter.
  • Diskpart says the disk is write-protected. Check the physical write-protect switch on SD cards and some USB drives. If there is none, the drive's controller may have locked itself after a fault, and the manufacturer's tool is the next step.
  • The format stops at a percentage and hangs. Cancel it, restart the PC, and try Quick Format again. If it hangs at the same point, treat the drive as failing and stop using it for important data.
  • Windows will not format the system drive. You cannot format the drive Windows is running from inside Windows. Use Windows Setup media to delete and recreate partitions during a clean install instead.
  • The drive disappears from Disk Management. Reseat the cable or try another port. If it never appears, the enclosure or the drive itself has likely failed.

Frequently Asked Questions

Why does Windows say it cannot complete the format?

Usually because another program has the drive open, the partition table is damaged, or the drive has bad sectors. Closing programs and retrying from Disk Management fixes most cases.

Will formatting fix a corrupted USB drive?

Often yes, if the corruption is logical. If the drive has hardware faults, formatting may complete but the drive will fail again; check it with the manufacturer's diagnostic tool.

Can I format a drive without losing data?

No. Formatting erases the file table. Copy anything you need to another drive first. A quick format does not securely erase the old data, but it is not recoverable through normal means.

Is Diskpart safe to use?

It is safe if you select the correct disk. The clean command permanently removes all partitions on the selected disk, so verify the disk number by size before continuing.

What file system should I choose?

NTFS for internal Windows drives, exFAT for drives shared with macOS, and FAT32 only for small drives or devices that require it.

Why is the Format option greyed out?

The drive may be write-protected, in use by the system, or you may not have administrator rights. Check the physical switch, close other programs, and run Disk Management as administrator.