When you connect a USB storage device but Windows fails to format it, there are few fixes you can try before completely giving upon them.
In these cases, plugging it into a different USB port will not work. Even if you’ve tried connecting to different PCs with little success, if there’s no physical damage, you might be able to use it if you fix it correctly.
We’ve provided some troubleshooting tips below to assist you in identifying and resolving the problem. The fixes provided are compatible with all USB thumb drives, SD cards, and external hard drives.
Table of Contents
Windows Was Unable to Complete the Format
Using Format Command
- Right-click on the Start Menu and select Windows Powershell run as administrator.
- Type the following command: format G: /fs: NTFS
- This command Formats drive G as file system NTFS.
- Change NTFS to FAT32 for thumb drives or memory cards below 4gb size.
- Press Enter and wait until the format is complete.
Using DISKPART Command

- Right-click on the Start Menu and select Windows Powershell(Admin).
- Type diskpart and press Enter to enter interactive mode.
- Then Type list disk to bring up a list of all connected disk drives.
- Make a note of the drive number you want to format.
- Now type select disk 2, replacing 2 with the drive number from Step 4.
- Type clean and press Enter to erase all data in the selected drive.
- Type create partition primary to create a new primary partition.
- Type format fs=FAT32 to format the new partition file system. Replace FAT32 with NTFS for hard disk drives.
- Type assign letter G to assign a letter to the drive.
- Type exit to complete the format process.

Using CHKDSK Command(NTFS only)

- Right-click on the Start Menu and select Windows Powershell(Admin).
- Type chkdsk G: /f /r to run the chkdsk utility for any bad sectors causing the problems.
- Chkdsk command also attempts to repair bad sectors and hopefully fix the error.
Using Disk Management Window

- Press Win key + R together to bring up the Run window.
- Type diskmgmt.msc and press Enter to bring up the disk management window.
- Under the list of drives, right-click on the drive you want to format.
- Select Format option. If the drive shows up as unallocated, choose New Simple Volume instead.
- Select File system as FAT32 or NTFS as needed. Leave other settings to default.
- Uncheck Perform a quick format to turn it off.
- Select Next and wait until the format is completed.
Using Scan And Repair

- Open the File Explorer window and go to This PC.
- Under the list of drives, right-click on the drive having issues.
- Select Properties.
- Go to the Tools tab.
- Under Error-checking, click on the Check button.
- Select Scan drive and wait until the scan and fix process is completed.
Removing Write Protection
- First, make sure that a physical lock does not protect the device.
- Press Win key + R together to bring up the Run window.
- Type regedit and press Enter to bring up the Registry Editor window.
- From the left navigation pane, go to the following location. COMPUTER\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- Right-click on the Control list and Select Key under New.
- Type the name StorageDevicePolicies for the new key.
- Right-click on it and select QWORD(64-bit value) under New. If running on 32 bit, choose DWORD 32 bit instead.
- Type the name WriteProtect for the new registry entry.
- Double-click on the WriteProtect and enter 0.
- Select Hexadecimal under the Base section.
- Press OK and reboot your PC before trying again.
Updating The USB Drivers

- Remove the USB disk drive that is having the issue.
- Right-click on the Start Menu and select Device Manager.
- Under Universal Serial Bus controllers, choose Scan for hardware changes.
- Plug back the USB drive-in.
- Wait until the system detects the drive and installs the latest USB driver on its own.
- After completion, your disk should be ready.
Using SD Formatter For Memory Cards (SD/SDHC/SXDC)

- Click on the Start menu and search for PC info.
- Select About your PC.
- Under Windows specifications, note down the version number.
- Download the official SD card formatter.
- Download for the right version according to the version number in Step 3.
- After the download completes, run the setup to install a new application.
- After installation, open SD Card Formatter.
- Select the SD card letter.
- Select Overwrite format under Formatting options.
- Click on Format to start formatting.
Scanning for Malware
- Go to Start Menu and type Security to bring up Windows & Security options.
- Select Virus & threat protection.
- Select Quick scan to do a quick check for any malware.
- If you have any other anti-virus programs, make sure to do a scan from there as well.
Frequently Asked Questions
What Causes The Windows To Be Unable To Complete The Format Error Message?
Some of the common causes of this error message are given below:
- File system error due to unsupported file systems
Windows supports a standard set of file systems. If a particular disk doesn’t fall under the list, Windows becomes unable to recognize the disk. Thus it throws the error message. - Write-protected locks.
Some SD cards or disk drives have hardware lock features. This prevents you from removing the files. These locks differ from each manufacturer and can be as simple as just moving a slider switch. When trying to format a Write-protected disk, Windows gives the error message. - Physical damage of the disk drive.
If the disk or the card is physically damaged, Windows cannot read the drive. This causes the system to prompt you to format the drive for usage. But, the process never completes because Windows cannot format the drive. - Bad sectors in the disk.
Because of overuse or physical wear and tear, some of the sectors in the magnetic disk may have worn out. This causes the system to not respond to the device when plugged in. Thus Windows will show the error message. - Virus in your system preventing formats.
Malware in the device or your system may be preventing formats. Some malware is highly resilient and will use any tactic to keep itself on the system. These viruses can prevent disk formats or even prevent you from accessing the files in them.
Can I use Linux To Format A Corrupt Storage Device?
Linux has a powerful set of tools to help you format and use all file systems. If the file system is ext4 or ext3, Windows is unable to read from this file system. Thus, plugging the device into a Linux system can work to read and write from the storage.
The most popular Linux tool for disk management is GParted. It comes equipped with a graphical interface to configure your disks easily. If the storage device has become corrupt due to physical damage, you may not be able to format the device. But you should still give it a try nonetheless.
What Is The File System In My Storage?
The default file systems in external storage devices can vary from the type of device. Normally, Windows can determine the file system of a readable storage drive.
- Plugin the storage device.
- Go to File Explorer and select This PC.
- Under the list of drives, do a right-click on the storage device.
- Select Properties.
- Under General, the File system should show the type of file system.
- If it shows an unknown filesystem, you can format it to any supported file system.
- SD cards, thumb drives are generally FAT32.
- External storage drives are NTFS.
Finally,
When Windows throws this message, most of the time it’s due to physical damage. Software or program fix generally does not work for hardware faults. Even formatting the drive can only do so much to help the issue.
After trying all the above fixes, if the issue is not resolved you should treat it as a hardware issue. You need to explore other options such as warranty claims. If the device is well beyond the warranty period, you will have to consult a tech repair expert.
The other option is to replace the device altogether. Sometimes replacing the device is much cheaper than repairing your existing device. At the end of the day, you should be the one to decide which is the right option for you.