
There are all sorts of reasons why you may need to format your PC. Whether you want to prepare a USB drive, SD card, external hard drive, or memory card for use, it has become the need of the hour. At times, Windows fails to erase and rebuild the file system on the storage device, throwing an error “Windows was unable to complete the format”. To figure out why this classic PC issue crops up and how you can resolve it, this in-depth guide with the 12 viable solutions is for you.
Fix Windows Was Unable to Complete the Format
This format issue occurs due to many factors, such as write protection, file system corruption, bad sectors, malware, hardware damage, or background processes locking the drive. The good thing is that you can nab these culprits with ease and force Windows to get through formatting as usual.
1. Reconnect the Storage Device and Try Again
Keep in mind that at times the error appears because the USB drive or SD card was not connected properly, or Windows temporarily lost communication with it. Therefore, watch out for the loose connection, unstable USB port, or temporary driver hiccup that can interrupt the formatting process.
- Safely remove the storage device from your PC.
- Wait a few seconds before reconnecting it.
- Insert it firmly into another USB port if available.
- Open File Explorer and locate the drive.
- Right-click the drive and choose Format.
- Try the formatting process again.
2. Remove Write Protection
Be warned that if the device is write-protected, Windows won’t be able to erase or modify its contents. It’s worth pointing out that write protection blocks formatting, deleting, and copying data to prevent accidental changes. Hence, I’d recommend you get rid of the write protection on your PC.
- Before going any further, make sure to check if the USB drive or SD card has a physical lock switch.
- Move the switch to the unlocked position.
- Reconnect the device to the PC.
- Open This PC and right-click the drive.
- Select Format and test again.
3. Use Disk Management to Format the Drive
Sometimes, File Explorer formatting fails, but Disk Management can still complete the task. Disk Management uses deeper storage controls and can handle partition issues better.
- Press Windows + X > Disk Management.
- Find your storage device in the list.
- Right-click its partition > choose Format.
- Select a file system like FAT32, exFAT, or NTFS and click OK to begin.
4. Run CHKDSK to Repair File System Errors
Corrupted files or damaged sectors can stop Windows from formatting the device. CHKDSK scans the drive, fixes logical errors, and marks damaged sectors.
- Connect the storage device to your PC.
- Press Windows + S and search for Command Prompt.
- Right-click it and choose Run as administrator.

- Type
chkdsk X: /f /rand replace X with the drive letter. - Press Enter.
- Now, be sure to wait for the scan to finish and try formatting the drive again.
5. Format the Drive Using Command Prompt (DiskPart)
When the standard format tool fails, DiskPart can force-clean the device and create a new partition. DiskPart removes corrupted partition data and rebuilds the storage structure.
- Open Command Prompt as administrator.
- Type
diskpartand press Enter. - Type
list diskand press Enter. - Identify your storage device carefully.
- Type
select disk Xand replace X with the correct disk number. - Type
cleanand press Enter. - Type
create partition primary. - Type
format fs=ntfs quick. - Type
exitwhen finished.
6. Change the File System Type
Some devices fail to format because the selected file system is not suitable. Using a compatible file system improves success rates and device recognition.
- Right-click the drive in This PC.
- Select Format.
- Open the File System dropdown menu.
- Choose FAT32 for broad compatibility.
- Choose exFAT for large files and flash drives.
- Choose NTFS for Windows-only use.
- Click Start to format.
7. Disable Antivirus Temporarily
Security software may block formatting if it suspects suspicious activity. Some antivirus tools monitor removable drives aggressively and interfere with changes.
- Save any open work first.
- Temporarily disable your antivirus program.
- Reconnect the storage device.
- Try formatting again.
- Re-enable antivirus after testing.
8. Scan for Malware
Malware on removable storage can lock files or damage partitions. A malware scan can remove threats, preventing the format process.
- Connect the device to your PC.
- Open Windows Security.
- Select Virus & threat protection.

- Run a full scan or a removable drive scan.
- Remove detected threats.
- Retry formatting the drive.
9. Update USB and Storage Drivers
Outdated or damaged drivers can cause communication failures during formatting. Fresh drivers improve hardware detection and storage stability.
- On your PC, press the Windows + X keys and choose Device Manager in the menu.
- Expand Disk drives and Universal Serial Bus controllers.
- Right-click the relevant device > choose Update driver > Search automatically for drivers.

- You need to restart the PC after updates.
10. Delete and Recreate the Partition
It’s also important to mention that a damaged partition table can block formatting entirely. Therefore, you need to eliminate the old partition in order to allow Windows to create a clean new one.
- On your Windows device, launch Disk Management.
- Right-click the affected partition > Delete Volume and confirm the action.
- Next up, you have to right-click the unallocated space > New Simple Volume > Then, carefully follow the wizard and format the drive.
11. Try Another Computer
Do you know that at times, the issue is caused by your Windows installation, USB ports, or system conflicts? Thus, testing on another PC helps determine whether the problem is the device or your computer.
- To begin, safely remove the device and connect it to another Windows PC.
- After that, open This PC or Disk Management.
- Attempt to format the drive there and compare the results.
12. Replace the Storage Device if It Is Failing
If none of the fixes work, there is a high chance the drive may have a physical memory failure. Note that the flash memory and storage chips wear out over time and can become unreadable or unformattable.
- Notice signs like slow performance or disconnecting repeatedly.
- Back up any accessible data immediately.
- Stop using the failing device for important files.
- Replace it with a reliable new USB drive, SD card, or SSD.
Signing off…
There you go! I hope you managed to get the better of the “Windows was unable to complete the format” error on your PC. More often than not, you can resolve it through easy fixes like reconnecting the device and using Disk Management, which can save time, while advanced tools like CHKDSK and DiskPart often solve stubborn cases. Of course, if the simple fixes don’t yield the desired results, you can always turn to the advanced ones at your own pace.