Can't Delete Files or Format My SD Card When It's Not Locked

My 4GB SanDisk SD card won't let me remove any files. It's write-protected on the SD card, despite my attempts to format it. There is no lock setting on the card switch. What's wrong, and how can it be fixed?

Best Answered by

Dany· Answered on Jun 30, 2025

Many reasons can cause this issue: the files you want to delete are occupying, your SD card is corrupted, or the connection between the SD card and PC is unstable. If the physical switch does not lock your SD card, you should try other methods.

Your SD card may occasionally become encrypted by malware or viruses, adding write protection and preventing you from accessing the recorded data. Running antivirus software and eradicating write protection viruses from your memory SD card is the most effective fix.

Your SD card can be made re-writable by using the command line to remove the read-only status. You should run CMD and type in diskpart and press the Enter key. You should type in list disk, select disk x, attributes disk clear readonly one by one to remove the write-protection of your SD card.

The Registry Editor can remove write protection from the SD card. Search for regedit from the search bar. You should go to this folder: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. Right-click the folder, choose "New", and then choose "DWORD Value". Give it the name "WriteProtect". Set the Value Data to "0" and restart your computer.

If your files and folders are lost when you are using your SD card, you should know SD card recovery is possible. You can recover data on an SD card with EaseUS Data Recovery Wizard, and this handy tool will not take long to retrieve the lost files. There are only three simple steps to recover deleted or lost emails, videos, audio, and pictures from SD cards.

Use EaseUS Data Recovery Wizard to recover deleted or lost files easily and quickly.

Tutorials on how to recover lost, deleted, or formatted data from HDD, SSD, USB, SD card, or other storage media on Windows and Mac.

People Also Ask

How to Recover a File Saved as a CSV Instead of an XLS

Have you ever accidentally saved your Excel file as CSV and what to do when you come to this problem? This article has offered three quick solutions for recovering some lost data due to your wrongly saving a file as CSV instead of XLS.

Daisy

Dec 12, 2025

How Do I Restore Sandisk Micro SD Card

How do I restore SanDisk Micro SD card? If you have accidentally deleted your important and critical photo and videos from your SanDisk Micro SD card, EaseUS Data Recovery Wizard would be your lifesaver.

Finley

Dec 12, 2025

How Do I Recover My SD Card on My Macbook?

The first and best approach to Mac SD card recovery is using EaseUS Data Recovery Wizard. Additionally, you can recover the SD card using the Time Machine backup, iCloud backup, macOS Undo feature, and Terminal.

Jaden

Sep 17, 2025

How Can I Recover SD Card Data Using Disk Utility on Mac

How to recover SD card data using Disk Utility on your Mac? If your SD card data was lost or deleted, and you don't know what to do, worry not! Read this article to solve your problem!

Brithny

Sep 17, 2025

Is It Impossible to Completely Delete Files from the Computer

When you delete a file from your computer, it does not simply vanish - at least not immediately. The data may be recoverable. This guide will show you how to permanently delete files so they cannot be recovered in Windows 11/10/8/7.

Jaden

Sep 23, 2025

How to Recover Files from Internally Formatted SD Card on CM 13

How to recover files from internally formatted SD card on CM 13? What to do when you have an internally formatted SD card and lose the data on the card? This post offers a quick solution, which includes two sections instructing you to handle this problem. One section is to decrypt your SD card; the other is to recover your data from an internally formatted SD card.

Daisy

Dec 12, 2025