When Windows gets stuck formatting a USB drive, SD card, or external hard disk, the process can appear frozen for hours with no Cancel button that works. This guide walks you through safe, reliable ways to stop a stuck format, close the hung process, and get your drive back to a usable state without losing data on other partitions.
What You’ll Need
- A Windows PC (Windows 10 or 11, though steps are similar on older versions)
- Administrator account access
- The stuck drive connected (USB, internal, or via card reader)
- Disk Management tool (built-in) or a third-party partition manager (optional but helpful)
- Patience — do not yank the drive while the format is stuck, as that can corrupt the drive’s firmware or partition table
Step-by-Step
- Close the Format dialog box. Click the X in the corner of the Format window, or press Esc. If it closes, the format may have already completed or failed on its own. Check if the drive appears in File Explorer with the expected capacity and file system.
- Open Task Manager. Press Ctrl + Shift + Esc to open Task Manager directly. Go to the Processes tab and look for Windows Explorer or explorer.exe — if the format is running from File Explorer, it may be tied to that process. Right-click and select Restart. This refreshes the shell and often dismisses a stuck dialog.
- Find the format process. In Task Manager, click the Details tab. Look for format.com or dism.exe (if you used DiskPart or a recovery tool). If you see format.com, right-click it and choose End task. Confirm if prompted.
- Use DiskPart to stop the operation. Open Command Prompt as Administrator (type cmd in Start, right-click, and select Run as administrator). Type diskpart and press Enter. Then type list disk to see all disks. Identify your stuck drive by its size (be very careful not to pick the wrong disk). Select it with select disk X (replace X with the number). Type clean to remove all partitions — this forcibly interrupts any format in progress. Then type exit.
- Reinitialize the drive. After DiskPart cleans the drive, open Disk Management (right-click Start → Disk Management). You’ll see the drive as Unallocated. Right-click it and choose New Simple Volume, then follow the wizard to format it with NTFS or exFAT. Use a quick format to avoid another long wait.
- If DiskPart is also stuck, restart the PC. On reboot, the format operation is gone. The drive may show as RAW or unallocated — that’s normal. Reformat it via Disk Management as in Step 5.
Common Mistakes
- Unplugging the drive while it’s stuck. This can corrupt the partition table or damage the drive’s controller. Always use software to stop the format first.
- Choosing the wrong disk in DiskPart. Double-check the disk number and size. Cleaning the wrong disk erases all data on it instantly.
- Assuming the format is stuck when it’s just slow. A full format of a 2 TB drive can take several hours. Check if the drive’s activity light is blinking — if so, let it finish.
- Using the same drive letter after a stuck format. The drive may still be mounted with a stale letter. In Disk Management, change the drive letter after reformatting if it doesn’t appear correctly.
Tips
- Always use quick format unless you specifically need to check for bad sectors — it finishes in seconds instead of hours.
- Before formatting any drive, copy important data elsewhere. A stuck format can sometimes be a sign of failing hardware.
- If the drive is an SD card or USB stick, try a different card reader or USB port — a flaky connection can make the format appear stuck.
- For stubborn drives, use SD Card Formatter (for SD cards) or Rufus (for USB drives) — both can often reset a drive that Windows refuses to format.
- If the drive still won’t format after cleaning, check if it’s write-protected. Some SD cards have a physical lock switch — slide it to the unlocked position.
Troubleshooting
If DiskPart says “disk is busy” or “access denied”: Close any open File Explorer windows, antivirus scans, or backup software that might be using the drive. Then retry the clean command.
If the drive still shows as “RAW” after reformatting: The partition table may be corrupted. In DiskPart, after selecting the disk, type clean again, then convert mbr or convert gpt depending on your system (GPT for UEFI, MBR for legacy BIOS). Then create a new volume.
If the drive is not visible at all: Open Device Manager, expand Disk drives, right-click the drive, and select Uninstall device. Then restart the PC — Windows will reinstall the driver. If it still doesn’t appear, try a different USB port or computer.
If the format keeps failing at a specific percentage: The drive likely has bad sectors. Run chkdsk X: /f /r (replace X with the drive letter) from an elevated Command Prompt. This can take a long time but may recover the drive.
If the stuck format was on your system drive (C:): You cannot format the system drive while Windows is running. Boot from a Windows installation USB, choose Repair your computer, then open Command Prompt and use DiskPart there.
Frequently Asked Questions
Q: Will canceling a format lose my data?
A: If the format was already in progress, data on that partition is likely gone. However, if you cancel before the format actually starts writing, the data may still be recoverable with data recovery software.
Q: How long should I wait before assuming a format is stuck?
A: For a quick format, more than 5 minutes is suspicious. For a full format, calculate roughly 1 hour per TB. If the drive’s activity light is solid on (not blinking), it’s likely stuck.
Q: Can I cancel a format using the command line?
A: Yes — open an elevated Command Prompt and type taskkill /f /im format.com to force-close the format process. This is faster than DiskPart for a simple stuck format.
Q: Is it safe to use DiskPart clean on a stuck drive?
A: Yes, but only if you select the correct disk. The clean command removes all partitions, which stops any format operation immediately. It does not physically damage the drive.
Q: Why does my drive show as RAW after canceling a format?
A: The format process was interrupted before it could write a new file system. The partition table is empty or incomplete, so Windows sees it as RAW. Reformatting with Disk Management or DiskPart will fix it.
Q: What if the drive is still stuck after all these steps?
A: The drive may be physically failing. Try it on another computer. If it’s still unresponsive, the drive’s controller may be dead, and data recovery services may be the only option.
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
- Router vs Hub: What’s the Real Difference?
- Turn Off Microsoft Verified Apps on Windows
- Fix Store Error 0xc03f300d on Windows 10
- Android Settings to Check First on a New Phone
- Fix TiWorker.exe High Disk Usage on Windows 10/8
- How to Pin Messages in WhatsApp