Wondershare Recoverit

Memory Card Recovery

  • Recovers deleted or lost data from memory card effectively, safely and completely.
  • Supports data recovery from 500+ data loss scenarios, including computer crash, partition loss, accidental human error, etc.
  • Supports 1000+ file formats recovery with a high success rate and without any quality loss.
Free Download Free Download Free Download Learn More >
memory card recovery

How to Erase Files Not Deleting From SD Card?

Wondershare Recoverit Authors

Jan 27, 2024 • Filed to: SD Card Solutions • Proven solutions

I was thinking of deleting some unnecessary data from my memory card. But when I tried, I failed to delete them. Can anybody tell why I cannot delete the file from the SD card?

Are you also in the same situation where your deleted files come back into your memory card? It can be due to write-protection mode, corrupted card, or due to poor connection between slot and card. The reason can be any.

This article will answer your question – why you can't delete data from the SD card? You will also learn the correct steps to remove files from memory cards and how to format it to fix "cannot delete files."

Why I Can't Delete Files from SD Card

If you are wondering why SD card files not deleting, then here are some of the causes. These will assist you in tackling your issues.

Write Protection: Some data cards are write-protected. It means you cannot write over or format any data on your storage media and save it, or delete. In such a case, freeing up space becomes impossible. When this feature is activated, you are likely to receive an error message, if you are trying to eradicate records when write-protection is turned on.

Hence, you need to first turn off write-protection following different commands and then remove them from your storage device.

File System Errors: If the file system on your SD card is corrupted or damaged, it can affect file operations, including deletion. You can try running a file system check or repair utility on your computer or using the built-in error checking tools provided by the operating system.

File in Use: If a file on the SD card is currently open or being accessed by another program or process, you won't be able to delete it. Make sure you close any applications or processes that might be using the file before attempting to delete it.

Physical Damage or Malfunction: Physical damage or issues with the SD card itself, such as a broken controller or bad sectors, can prevent files from being deleted. In such cases, the SD card may require professional repair or replacement.

Correct Steps to Delete Files from SD Card

If you can't delete files from an SD card or modify it, first check whether you are doing it the right way. It might be possible you are not following the proper method to delete unnecessary information. To help you out, we are discussing here the detailed steps. Check them and see whether you are following the same.

However, at any stage, if you feel like recovering the data, you can recover them with recovery options.

Now first let us see the detailed steps to remove files.

File deletion is not a complicated task. Just select the saved record and then press the delete button. Isn't it simple? But sometimes this simple deletion does not guarantee permanent removal a recovery process can still retrieve them. Here are some steps on how to permanently delete documents using your Windows system.

  1. Attach your flash card to your system, and then open the drive in file explorer.

    connected drive

  2. Select the photos, or videos, or any records that you wish to eliminate.
  3. After making the selection, right click and tap on delete. Your collections will be out from your storage media.
  4. Now right-click on the recycle bin and tap "empty recycle bin." It will delete all your data permanently.

empty recycle bin


How to Fix "Can't Delete Files from SD Card"?

Here we prepared 6 effective ways to solve the can't delete files from SD card problem.

Solution 1. Switch off the Read-only Tab

There might be a "Lock" tab present. If the tab is switched on, then it will successfully lock your storage device and will enable a read-only mode. Now files cannot be deleted from the SD card. Here are some solutions to assist you in unlocking.

Sometimes users tend to ignore a lock switch, which switches on the read-only mode. So you just need to slide the tab to unlock it to eradicate or modify the photos, videos, or other documents on it. However, if the tab automatically slides upwards, it indicates that your memory card has been corrupted, and you need to replace it.

Solution 2. Unlock Read-only Using Password

The lock can be unlocked using a password—a service offered by many online providers. You can also follow the given steps:

  1. Install "ES File Explorer" and run it on your device.
  2. Rename the file with mmstore.txt. This is where you will get the password; enter it and unlock it.

Solution 3: Remove Write Protection Using CMD

Some data cards are write-protected. It means you cannot write over or format any data on your storage media and save it, or delete. In such a case, freeing up space becomes impossible. When this feature is activated, you are likely to receive an error message, if you are trying to eradicate records when write-protection is turned on.

Hence, you need to first turn off write-protection following different commands and then remove them from your storage device.

If the error message "the disk is write protected" repeatedly flashes, then here is the perfect solution to unlock your SD card using CMD

  1. Connect the locked data card to your device and press "Windows" + "R" to open the "run" dialog box and type CMD. For Windows 8 press "Windows + S" and enter CMD in the Run dialog box. Right-click to choose "Run as admin".
  2. Now, type the following commands by pressing enter after typing each command:
    diskpart
    list disk
    select disk # (# represents SD card number)
    attributes disk clear read-only
  3. Now exit the command prompt and check if the memory card lock error has been fixed.

displaying command prompt

Solution 4: Fix Corrupted SD Card

You would not be able to delete or format stored records on your storage device if it is corrupted. Here are the steps to fix a damaged memory storage media. Following these, you'll be able to wipe out your required files.

  1. Attach the micro SD card to your laptop or PC.
  2. Click on Start -> My Computer -> SD card.
  3. Right-click on it and select "Properties".
  4. Now left-click on the Tools tab, and select the Check button. This will initiate the scanning process. After the process completes, close the scan window.
  5. Now, remove it safely.

Restart your device and reconnect the storage device to it.

Solution 5: Format SD Card to Delete Files via File Explorer

If it's not the write protection case, you can try formatting the drive to remove the files you can't delete in SD card.

Noted: Formatting will erase all the data stored on the SD card. So if you want to use the following methods to remove the files that you failed to delete, don't forget to back up or recover all the data in the SD card.

  1. Attach the memory drive to your device.
  2. Open its location and right-click on it.
  3. Click on "Format" in the drop-down menu.
  4. If you need a full format, uncheck the Perform a quick format box. Then, click OK to start formatting.

erasing in windows explorer

Solution 6: Format SD Card Using Disk Management

There may be any reason to erase data from your storage media. Whatever be the reason, securely erase with disk management by following the below steps.

  1. Right-click on Start and choose "Disk management" You can even press the "Windows + R" key and type "msc" in your systems Run dialog box, and press Enter to open it.
  2. To perform formatting, select the partition on the memory drive. Now, right-click and select the "Format" option.

    formatting using disk management

  3. Now give the partition label, file system, and allocation unit, a size in the pop-up box. Further, uncheck the "Perform a quick format" box and hit "OK".

    options highlighted

  4. Again, hit on "OK" to confirm your action. This will instantly erase the data.

dialogue box

If the above method fails, you can recover the data using special software.


Final Workaround: Format SD Card to Fix "Cannot Delete Files"

By following all the above methods, if you are still unable to fix the issue, you can format the storage drive. It will delete all the files stored on it. But remember to take the backup of the data first, as you will lose your other essential data too, after formatting. However, if you forget to take the backup, then you can recover files with Recoverit.

Format SD Card VS Delete Files

Often referred to as one, deleting and formatting are quite different. While deleting, you can wipe out your desired files, whereas formatting removes all the data—even the one listed as critically important.

You may opt for formatting because of any of the following issues-

  • You see a dark screen on your device when you connect your memory card to it.
  • Error messages pop up, denying access.
  • You are unable to delete files from the SD card.
  • The chances are that your storage device may flash wrong or missing information or even obscure files.
  • It may become extremely slow.
  • A CRC error appears while you are transferring or copying.

Two Solutions to Protect the Data on SD Card

Here are two simple and reliable methods to format your storage drive and get rid of your issues.

1. Make a Copy of SD Card Data

You can employ the method of copying the entire data, following the given process.

Step 1: Take your memory drive and connect it with the system through the card reader.

Step 2: Locate it on your system and select the photos or videos or documents that you want to copy.

Step 3: Press ctrl + c to copy the selected data and then paste it on your system by pressing ctrl + V.

2. Recover Accidentally Formatted Data

Accidentally formatted data on the SD card? Don't worry! Here is the ultimate way to recover files with Recoverit data recovery software. It can help you recover deleted or formatted data. Download and install the data recovery software Recoverit on your computer.

Step 1: Select your SD Card Storage.

Connect your storage drive to the computer. Select it and click "Start".

start recovering formatted files

Step 2: Scan Memory Card and Locate Data

Recoverit will now start scanning your SD card. It will take only a few minutes to complete the scan.

software starts scanning

Step 3: Preview and Recover Deleted Data

After scanning completes, you can check all the recovered data. Now go to preview to open some recovered records like photos, video and office documents, and then select and click on "Recover" to retrieve them.

recovering deleted files


Closing Words

We shared some reasons why you can't delete files on an SD card and tips to assist you in finally deleting them. We also explained to you the difference between formatting and deleting files, and some methods to do so.

Now in the future, if you can't delete files from SD card on your device, you can figure out a relevant cause for the same and can take suitable action to fix your issue effectively.

Moreover, we also provided a bonus tool – Recoverit to help you retrieve the deleted data from your SD card. We hope you will now be able to delete files from your storage device.

Recoverit author

Eleanor Reed

staff Editor

Home > Resources > SD Card Solutions > How to Erase Files Not Deleting From SD Card?