How to Fix "The Format Did Not Complete Successfully" Error
You can learn how to force format a stubborn drive when Windows fails. Find out why an external hard drive format did not complete successfully and master the steps to clear write protection and rebuild corrupted file systems.
Quick Answer:
How do you fix a drive when Windows says the format did not complete successfully?
When you try to format a storage device using Windows Disk Management and receive the "Virtual Disk Service error: The format did not complete successfully" prompt, the drive is usually blocked by a software lock or a corrupted file system.
For SD Cards (Write Protection): If an SD card format did not complete successfully, it is often due to write protection. Check the physical lock switch on the side of the SD card adapter, or use the Windows diskpart utility to clear read-only attributes.
For External Hard Drives (Corrupted/RAW): If an external hard drive format did not complete successfully, the partition table is likely corrupted into RAW. You can bypass Disk Management by using the diskpart clean command to forcefully wipe and reformat the drive.
The Best Visual Fix: To avoid typing complex command-line scripts, IT professionals recommend using AOMEI Partition Software. This free disk manager can easily force a format on stubborn RAW drives, thoroughly wipe partitions, and scan hardware for bad sectors in just a few clicks.
Formatting a storage device is supposed to be a simple, one-click process. You plug in your SD card or external hard drive, open Windows Disk Management, and select "Format."
But instead of a clean, empty drive, you are met with a terrifying pop-up box: "Virtual Disk Service error: The format did not complete successfully." Or, if you try formatting in File Explorer, you simply get a generic message that says "Windows was unable to complete the format."
When Windows native tools fail to complete a format, the drive is left in a useless, inaccessible state. It is incredibly frustrating, but it does not automatically mean your hardware is dead. In this comprehensive guide, we will break down exactly why this error occurs, separate the fixes based on your specific device, and show you exactly how to fix the format did not complete successfully error to make your drive usable again.
Why an SD Card or External Hard Drive Format Did Not Complete Successfully?
Windows Disk Management is a very basic tool. It expects the storage drive to be in a perfectly normal state before it applies a new file system. If the drive is abnormal in any way, the native format process will instantly abort.
- Write Protection: The drive is locked, either physically or via software, preventing Windows from making any write/format changes to the disk.
- RAW File System (Corruption): If you unplugged the drive without safely ejecting it, the file system can become corrupted. It ends up in a "RAW" format, which confuses standard Windows utilities.
- Physical Bad Sectors: If the drive was dropped or is simply dying of old age, the physical flash memory cells or magnetic platters might have "bad sectors." Windows cannot write a new file system over dead hardware sectors.
3 Methods to Fix the Format Did Not Complete Successfully
Depending on whether you are dealing with a tiny micro SD card or a massive 2TB external hard drive, your troubleshooting steps will vary. Here are the three best methods to force a successful format.
Method 1: Remove Write Protection (Best for SD Cards)
If an SD card format did not complete successfully, write protection is the first culprit.
Step 1: Look closely at the left side of your full-sized SD card. There is a tiny, sliding plastic switch. If this switch is pushed down to the "Lock" position, the computer is physically blocked from formatting the card. Slide it up to the "Unlock" position and try formatting again.
Step 2: If the switch is unlocked but the format still fails, the drive might be software-locked. We can fix this using Command Prompt. Press Windows + R, type cmd, and press Enter.
- Type diskpart and press Enter.
- Type list disk and press Enter. Note the number of your SD card.
- Type select disk X (replace X with your SD card number) and press Enter.
- Type attributes disk clear readonly and press Enter.
Once it says "Disk attributes cleared successfully," type exit. You can now format the drive.
Method 2: Use Diskpart to Clean the Drive
If an external hard drive format did not complete successfully, it usually means the partition table is so deeply corrupted (RAW) that the standard Disk Management GUI crashes when trying to read it. We can bypass the GUI using the powerful diskpart clean command.
Step 1: Open Command Prompt, type diskpart, and press Enter.
- Type list disk and press Enter to identify your external hard drive.
- Type select disk Y (replace Y with your external hard drive number) and press Enter.
- Type clean and press Enter. (This completely obliterates the corrupted partition table).
- Type create partition primary and press Enter.
- Type format fs=ntfs quick (or fs=exfat quick for cross-platform use) and press Enter.
Finally, type assign to give the drive a letter. Your external hard drive is now completely fixed!
Method 3: Force Format via AOMEI Partition Software
For many users, typing attributes disk clear read-only or clean into a black command terminal is stressful and risky. If you accidentally type the wrong disk number, you could format your computer's active C: drive.
To fix stubborn drives safely and visually, you should use AOMEI Partition Software. This free, professional disk manager uses advanced formatting algorithms that can easily handle RAW file systems and corrupted partitions that native Windows tools simply cannot process.

- Manage Disks & Partitions: Resize, move, extend, shrink, and merge partitions without data loss, helping you make full use of available disk space.
- Migrate OS & Copy Disks: Migrate Windows OS to SSD or HDD, or clone system and data disks easily for migration or backup.
- Convert Disks Effectively: Safely convert disks between MBR and GPT, switch between basic and dynamic disks, and convert file systems between NTFS and FAT32.
- Free Up More Disk Space: Accurately clean junk files and reclaim disk space, especially useful to solve the C: drive full problem and adjust OS drive usage.
- Wipe Sensitive Data Securely: Use advanced wiping algorithms to permanently erase disks or partitions, ensuring sensitive data is completely removed and unrecoverable.
Step 1: Download, install, and open AOMEI Partition Software.
Step 2: Locate the stubborn SD card or external hard drive in the visual interface.
Step 3: Right-click the problematic partition and select Format Partition.
Step 4: Choose your desired File System (NTFS, FAT32, exFAT, etc.) and add a Volume Label.
Step 5: Click OK, then click Apply at the top left of the screen, and hit Proceed. The software will safely override the Windows errors and force the format.
If even AOMEI cannot format the drive, your drive might be physically dead. You can right-click the drive in AOMEI, go to Advanced, and select Check Partition. Choose to test for Bad Sectors. If the visual map lights up red, your external hard drive or SD card is suffering from irreversible hardware failure and must be replaced.
Conclusion
Getting slapped with the "Virtual Disk Service error" is a fast track to tech frustration. However, understanding exactly how to fix the format does not completely fix the error, putting you back in total control of your storage devices. If you are dealing with a tiny flash memory device, checking for physical write protection should always be your first step. For heavily corrupted RAW external drives, utilizing the diskpart clean command will forcefully reset the file system.
But for the absolute safest, most reliable solution, relying on the advanced formatting algorithms of AOMEI Partition Software ensures that your stubborn drives are repaired, formatted, and ready for use in just a few clicks.
FAQs
Q: What does the Virtual Disk Service error mean?
A: The Virtual Disk Service (VDS) is a set of Microsoft Windows interfaces that manage storage devices. When VDS throws an error during a format, it simply means the background service encountered an unexpected roadblock—like a read-only lock or a corrupted partition block—and had to abort the operation to prevent system instability.
Q: Why won't Windows format my 64GB SD card to FAT32?
A: If you are trying to format a 64GB or larger drive to FAT32 for a gaming console or dashcam, Windows will intentionally fail or not provide the option. Windows caps native FAT32 formatting at 32GB. To bypass this and format a large drive to FAT32, you must use a third-party tool like AOMEI Partition Software.
Q: Can a virus prevent a hard drive from formatting?
A: Yes. Certain types of malware anchor themselves to external drives by artificially locking the drive's write permissions. Running a deep antivirus scan, followed by the diskpart clean command to completely wipe the master boot record, will destroy the virus and allow you to format the drive
AOMEI Partition Software
Advanced and comprehensive partition manager, disk converter, and PC optimizer for Windows 11/10/8.1/8/7.
Windows 11/10/8.1/8/7
Learn more