How to Format SD Card with CMD (Force Format SD) in Windows 10/8/7

Background

Can I format sd card using cmd in Windows computer? If this is the question that shows up in your mind, the answer is YES, however it is not the best way to do the job since there are some more easier to use sd card format software available for free of charge in Windows 10/8/7 or more Windows platforms that you may do the job the round way and easier since cmd is not easy for every starters.

What we recommend: 7 free sd card format software

There are useful command prompt lines for getting memory card sd formatted in Windows 10/8/7 or earlier Windows editions for free and the cmd is for skilled users, if you are not familiar with the cmd format, you may use free sd card format software to get memory card formatted in easier ways, or we would recommend you try sd card free repair tools to get damaged sd card repaired too if its the damaged memory card you want to repair by way of formatting.

Part 1 - Format sd card with cmd diskpart in Windows 10/8/7

The diskpart is famous in previous Windows editions that could do many disk management jobs including changing the properties for disks/usb/sd card.

Step 1 - Open diskpart in CMD

open diskpart

This is how you get it started: Start Run in Windows start menu or press Windows icon+R, and then type diskpart or diskpart.exe to get it open.

Step 2 - Type the following command lines to get memory card force/hard formatted when sd card cannot be formatted.

format the sd card fat32

  • list disk
  • select disk * (you need to select the one that represents your own memory card in your computer)
  • attributes disk clear readonly
  • clean
  • create partition primary
  • format fs=fat32

Note: please backup sd card data before using diskpart cmd since it would erase all files on the sd card.

Format memory card with cmd MFormat

The mformat command is used to add an MS-DOS file system to a low-level formatted diskette. Its syntax is:

mformat [-t cylinders|-T tot_sectors] [-h heads] [-s sectors]
[-f size] [-1] [-4] [-8]
[-v volume_label]
[-F] [-S sizecode]
[-M software_sector_size]
[-N serial_number] [-a]
[-C] [-H hidden_sectors] [-I fsVersion]
[-r root_sectors] [-L fat_len]
[-B boot_sector] [-k]
[-m media_descriptor]
[-K backup_boot]
[-R nb_reserved_sectors]
[-c clusters_per_sector]
[-d fat_copies]
[-X] [-2 sectors_on_track_0] [-3]
[-0 rate_on_track_0] [-A rate_on_other_tracks]
drive:

Mformat adds a minimal MS-DOS file system (boot sector, FAT, and root directory) to a diskette that has already been formatted by a Unix low-level format.

Video - how to use Mformat

 

Related Articles

File Recovery Free > Format Recovery Utility > Howto > Format sd card cmd