sodcalculator

10 Tech How-To

Fix Hard Drive Format Error on Windows 10

Guide 10-29584 · Updated · Step by step

If Windows 10 says “Windows was unable to complete the format” or “The format did not complete successfully,” the fix usually involves using Disk Management, Command Prompt, or a third-party tool depending on the error. This article walks you through the most reliable methods to resolve format errors and get your drive usable again.

Why Format Errors Happen

Formatting a drive is the process of preparing it for file storage by creating a file system (like NTFS or exFAT). Windows 10 can fail to format a drive for several common reasons:

  • Write protection: The drive is physically locked or has a read-only attribute set.
  • File system corruption: The existing file system is damaged, preventing a clean format.
  • Bad sectors: Physical damage on the disk surface can interrupt the format.
  • Drive in use: Another program or process is using the drive, including antivirus scans or indexing.
  • Partition issues: The partition table is corrupted or the partition is too large for the chosen file system.
  • Driver or connection problems: For external drives, a faulty USB port or cable can cause errors.

Before You Start: Backup and Safety

Formatting erases all data on the drive. Before attempting any fix, back up any files you need. If the drive is your system drive (where Windows is installed), you cannot format it while Windows is running—you’ll need to boot from installation media. For external or secondary drives, ensure the drive is disconnected from any other device or program that might be using it.

Method 1: Use Disk Management

Disk Management is the built-in graphical tool for managing drives. If you get a format error, try these steps:

  1. Right-click the Start button and select Disk Management.
  2. Locate the drive you want to format. It will show as “Healthy” or “Unallocated”.
  3. If the drive has a partition, right-click it and choose Delete Volume (this erases all data). If the drive is unallocated, skip to step 5.
  4. After deletion, the space becomes “Unallocated”. Right-click it and select New Simple Volume.
  5. Follow the wizard, assign a drive letter, and choose a file system (NTFS for internal drives, exFAT for large external drives).
  6. Complete the wizard. If this fails, proceed to the next method.

Method 2: Use Command Prompt (Diskpart)

Diskpart is a command-line utility that can clear write protection and force a format. Open Command Prompt as administrator (type “cmd” in the search box, right-click, and select “Run as administrator”). Then:

  1. Type diskpart and press Enter.
  2. Type list disk to see all drives. Note the disk number of your target drive (e.g., Disk 1). Be careful—this will wipe the entire drive.
  3. Type select disk 1 (replace 1 with the correct number).
  4. Type attributes disk clear readonly to remove write protection.
  5. Type clean to remove all partitions and data.
  6. Type create partition primary to create a new partition.
  7. Type format fs=ntfs quick (or exfat for larger drives) to format quickly.
  8. Type assign letter=E (choose any unused letter) and then exit.

If the format command fails, try format fs=ntfs without “quick” to perform a full format, which checks for bad sectors.

Method 3: Check for Bad Sectors and Corruption

If format errors persist, the drive may have bad sectors or file system corruption. Run a check:

  1. Open Command Prompt as administrator.
  2. Type chkdsk E: /f /r (replace E with your drive letter).
  3. Press Y if prompted to schedule a scan on next restart for a system drive.
  4. Let the scan complete. It may take a long time for large drives.

If chkdsk finds many bad sectors, the drive may be failing. Back up data immediately and consider replacing the drive.

Method 4: Use a Third-Party Formatting Tool

When Windows tools fail, third-party utilities like Rufus, HP USB Disk Storage Format Tool, or SD Card Formatter can sometimes format drives that Windows refuses. These tools often bypass Windows’ restrictions. Download a reputable tool from its official website, run it, select your drive, choose a file system, and start the format. Always verify the tool’s compatibility with your drive type (USB, SD, HDD).

Common Problems and Misconceptions

  • “Quick format” vs. full format: Quick format only removes the file system metadata, while a full format also scans for bad sectors. If quick format fails, try a full format.
  • File system choice: NTFS is ideal for internal drives and large files, but some devices (like older TVs or game consoles) may require FAT32 or exFAT. FAT32 has a 4GB file size limit.
  • Drive letter not assigned: After formatting, if the drive doesn’t appear in File Explorer, assign a letter in Disk Management.
  • “The parameter is incorrect” error: This often indicates a corrupted partition table. Using diskpart’s clean command usually fixes it.

Frequently Asked Questions

Will formatting a drive permanently erase all data?

Yes, formatting removes the file system and marks the space as available. However, data can often be recovered with specialized software unless you overwrite it. For sensitive data, use a secure erase tool that writes zeros to the entire drive.

Can I format a drive that is write-protected?

Yes, if the write protection is due to a software attribute. Use diskpart’s attributes disk clear readonly command. If the drive has a physical switch, make sure it’s in the unlocked position.

Why does Windows say “The format did not complete successfully”?

This generic error usually means the drive has bad sectors, is corrupted, or is in use. Try chkdsk, then format again. If the drive is external, try a different USB port or cable.

What is the best file system for a USB drive?

For large files (over 4GB), use exFAT. For maximum compatibility with older devices, use FAT32 (but with the 4GB file limit). For internal drives, NTFS is the standard.

Can I format my C: drive while Windows is running?

No. You must boot from Windows installation media and choose “Custom install” to format the system drive. Alternatively, use a live Linux USB to format it, but you’ll lose Windows.

When to Seek Professional Help

If you’ve tried all methods and the drive still fails to format, it may be physically failing. Signs include clicking noises, very slow performance, or frequent freezes. In that case, stop using the drive immediately and consult a data recovery professional if you need the data. For a drive under warranty, contact the manufacturer for a replacement.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →