SD Card Can't Be Formatted on Windows, Why and How to Solve That?

By Kevin | Posted to Howto on August 4th, 2020 |

Summary: Not a few people have the experience of "Windows was unable to complete the format" when formatting the SD card on a Windows computer. Have you ever thought about the reasons and do you know how to tackle this barrier? It is worth knowing and would just take you 5 to 10 minutes to get them clear in this article.

Part 1: Why you can't format an SD card and how to fix it?

I. Your SD card won't format as it is infected with the virus

tom got virus

SD card is a kind of data storage medium that is commonly used to transport data. When you consistently plug in and out different USB devices into a PC connector, to swap or back up files, viruses are spread. Some fierce viruses can directly kill your data in your SD card or make them as strange as Tom, and one of the symptoms is that you can’t get your SD card formatted.

How to recover deleted files from SD card on your Windows computer?

How to recover deleted files from SD card on your Mac computer?


It has been proved by so many people that reliable antivirus software is all of the time the most powerful shield to fight against viruses. If you want to remove the virus under the help of a Windows computer, then installing an updated version of antivirus software, like McAfee AntiVirus Plus, and use its powerful function to run a scan to identify and remove the virus, and then try formatting your SD card on a Windows computer.

II. Windows can't format the SD card due to bad sectors

cannot format the sd card

A sector is used to store data. An SD card may be unable to get formatted due to a fatal bad sector which is the result of improper operations like hot swapping and motherboard unintentional impact. This is reasonable as bad sectors can't be used to store the data of the file system, so you'll fail to format SD cards on Windows. What's worse is that as far as contemporary technology, a bad sector can by no means be repaired.


There are two kinds of bad sectors: physically bad sectors and logically bad sectors. Although neither of them can be repaired, there are some ways to skip the logically bad sectors when you formatting the SD card.

1) Use third-party software

Wondershare Liveboot 2012 can be a good choice for you to check the bad sectors on your SD card.

2) Use the in-built SD card repair tool in Windows

The in-built SD card repair tool in Windows can check and mark the logically bad sectors so that the system can skip the damaged part when performing certain operations like formatting. As the process in Windows 7/8/10 has no big difference, here demonstrates two methods to check your SD card in Windows 10.

Method 1:Repair SD card errors through Command Prompt

1. Log in your Windows 10 account.

2. Press the key "Windows" .

3. Choose "Search".

4. Input "cmd.exe".

5. Right-click on "Command Prompt" from the search results list.

command prompt search

6. Click "Run as administrator".

7. Log in as an administrator.

8. After the Command Prompt launches, input the command: chkdsk ?: /x/f/r.

chkdsk in command prompt


  • The "?" refers to the drive letter of your unformattable SD card. For example, if the drive letter of your SD card is e, then you can type chkdsk e: /f /r/x to check and repair it.
  • /f means "attempt to fix found errors".
  • /r means "fix a position of bad sectors and recover any readable files".
  • /x means "dismount the target volume forcibly".

Method 2: Repair SD card corruption through "This PC"

1. Enter "This PC".

2. Choose the target volume, like K:\.

3. Right-click the target volume and choose "Properties".

4. Select "Tools", click "Check".

If there are errors, like bad sectors, Windows will ask you to restart and attempt to fix the errors.

By the way, using an installation disc is another method to do a disk check, but it is troublesome enough to get executed, and very few people take that way.

So far, you've fixed the bad sectors, which makes you get closer to format your SD card on a Windows computer.

III. SD card won't format for hardware problems

Sometimes, Windows was unable to format an SD card because the SD card is stuck with hardware issues like SD card reader is not working. And the dirty metal connectors on the card are a big suspicion. The best approach to solving this problem is using a cotton swab immersed in alcohol for a second, slightly wipe the metal area for five seconds, and plug the SD card back after drying out.

sd card metal area

IV. SD card won't format when it's write-protected

sd card write protect

Also, you can't format it if the SD card is write-protected. You need to first remove the write protection from the SD card with the following methods.

1. Close the "write-protect" mode of your SD card through manual operation.

2. Have a try on another USB card reader if your USB card reader can't recognize your SD card

3. Turn off the "write-protect" switch in your USB card reader through manual operation if your USB card reader has such a switch.

sd card reader write protected

4. If the connected computer is managed by a third-party software which is used to ban all the operation from unauthorized people, then you have to apply for the permission.

V. Connection problems cause SD card formatting failure

The best circumstance is that SD card won't format simply because it's not connected well.

1) If there's something wrong with your PC USB interface. Try it in another computer or you can plug it into some devices, like a camera, to get it formatted relying on the devices' own stay-that-way formatting function.

2) If it's the SD card reader that is not working, then changing another USB card reader is thought to be cost-optimal.

When you have solved all the problems, you can start to get your SD card formatted on Windows, and normally, there are two approaches to do that.

Part 2: How to format corrupted SD cards on Windows?

Approach 1:Format SD card in Disk Management

2. Right-click the SD card drive and choose "Format".

3. Choose a needed file system.

file system choose

4. Click "OK" to start the formatting process.


Approach 2:Format SD card via diskpart command

1. Connect your SD card with your PC .

2. Press "Format" and "R" at the same time, and there will pop up a search window.


3. Input "cmd" into the search window and press “Enter”.

type the cmd

4. Right-click it and choose "Run as administrator" to launch it.

5. Input "diskpart" in the launched interface, and press "Enter".

6. Input "list disk" to list out all the accessible disk number and press "Enter" (your connected SD card will also have a disk number).

7. Input "select disk" + disk number of your SD card (e.g. select disk 2) and press "Enter".

8. Input "list volume" and press "Enter".

9. Input "select volume" + volume number (e.g. select volume 6) and press "Enter".

10. Input "format fs=ntfs quick"(or"format fs=exfat") and press "Enter". The formatted file system of your SD card depends on which one you input.

format-through diskpart

11. Wait until the screen reads that "DiskPart successfully formatted the volume".

12. Input "exit" to finish this process.


From the beginning to the end, thank you for your reading. While SD card formatting failure is never necessarily a piece of cake, I suppose that now you've known why you are unable to format an SD card on Windows and how to react when you fail to format an SD card on a Windows computer. If you find this article is of help, you can follow us in the YouTube account: iBoysoft. We will provide you with more and more useful information of high quality in the coming days.

See also: