The error “Windows was unable to complete the format” usually appears when you try to format a USB drive, SD card, external hard drive, or even an internal partition. When this happens, the format process stops midway or fails instantly, leaving the drive unusable or stuck in its previous state.
In most cases, this error occurs due to file system corruption, bad sectors, write protection, permission issues, or logical errors on the storage device, not because Windows 11 cannot format drives. The steps below will help you fix the problem and successfully format the drive.
How to Fix Windows Was Unable to Complete the Format in Windows 11
Follow the solutions below in order. After each step, try formatting the drive again.
1. Try Formatting the Drive Using File Explorer Again
Sometimes the error is temporary.
- Press Windows + E to open File Explorer
- Right-click the problematic drive
- Select Format
- Choose a file system (NTFS or exFAT)
- Uncheck Quick Format
- Click Start
Unchecking Quick Format forces a deeper scan and may succeed.
2. Check If the Drive Is Write-Protected
Write protection prevents formatting.
- Check if the USB drive or SD card has a physical lock switch
- If present, switch it to the unlocked position
- Reinsert the drive into your PC
- Try formatting again
Physical write protection is common on SD cards and adapters.
3. Format the Drive Using Disk Management
Disk Management provides more control than File Explorer.
- Press Windows + X
- Select Disk Management
- Locate the problematic drive
- Right-click the partition
- Select Format
- Choose a file system and allocation size
- Click OK
If Format is unavailable, delete and recreate the volume.
4. Delete and Recreate the Partition
Corrupted partitions often cause format failures.
- Open Disk Management
- Right-click the drive partition
- Select Delete Volume
- Confirm the action
- Right-click the unallocated space
- Select New Simple Volume
- Follow the on-screen steps to format
This removes corrupted partition information.
5. Format the Drive Using DiskPart (Most Effective Method)
DiskPart bypasses many GUI limitations.
- Right-click Start and open Windows Terminal (Admin)
- Type the following commands one by one and press Enter after each:
diskpart
list disk
select disk X
clean
create partition primary
format fs=ntfs quick
assign
exit
- Replace X with the correct disk number
The clean command removes all partition data, fixing most format errors.
6. Check the Drive for Errors Using CHKDSK
File system errors can block formatting.
- Open Windows Terminal (Admin)
- Run the following command (replace D: with your drive letter):
chkdsk D: /f /r
- Wait for the scan to complete
- Try formatting again
Bad sectors and file system corruption often cause format failures.
7. Check If the Drive Is Being Used by Another Program
Open files can prevent formatting.
- Close all File Explorer windows
- Safely eject and reconnect the drive
- Disable antivirus temporarily
- Try formatting again
Background processes can lock removable drives.
8. Check for Read-Only Attribute Using DiskPart
Drives marked read-only cannot be formatted.
- Open Windows Terminal (Admin)
- Enter the following commands:
diskpart
list disk
select disk X
attributes disk
- If Read-only: Yes, run:
attributes disk clear readonly
- Exit DiskPart and try formatting again
This removes software-based write protection.
9. Try Formatting the Drive on Another PC
This helps identify hardware failure.
- Connect the drive to another Windows PC
- Try formatting it there
- If it fails again, the drive may be damaged
Drives with failing memory often cannot be formatted.
10. Check If the Drive Is Physically Damaged
Hardware issues cannot be fixed by software.
- Try a different USB port or cable
- Check if the drive disconnects randomly
- Listen for unusual noises (for HDDs)
If the drive consistently fails, replacement is recommended.
Final Thoughts
The “Windows was unable to complete the format” error in Windows 11 is usually caused by corrupted partitions, write protection, bad sectors, or logical drive errors, not a Windows issue. In most cases, using DiskPart with the clean command successfully fixes the problem.
If none of the methods work, the drive is likely failing and should not be used for important data. Replacing the storage device is the safest long-term solution.