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

Recover Accidentally Deleted Game Files from Steam

If you accidentally deleted your Steam game files, for example, when cleaning storage and accidentally deleting game files, don't worry! This article will tell you practical ways to recover accidentally deleted Steam game files.

Brithny

Dec 12, 2025

How to Recover Lost Saved File of Hollow Knight on Steam/PC

This article will introduce how to recover the lost saved files of Hollow Knight on Steam/PC, including the saved files of Hollow Knight deleted for no reason, how to backup the saving files of your game, how to do Steam Cloud syncing, etc.

Brithny

Dec 12, 2025

Fix Micro SD Card Cannot Delete Photos

You may encounter this problem due to many reasons. Don't worry! We are here to help you fix your Micro SD card' issue and let you delete the photos on the PC as usual. Keep reading to learn the methods!

Dany

Dec 12, 2025

How to Recover Accidentally Deleted WiFi Adapter Driver

Suppose your computer shows network anomalies because you accidentally deleted your WiFi adapter drive when cleaning your computer. Don't worry! This article will introduce effective ways to recover accidentally deleted network adapter drivers.

Brithny

Dec 12, 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

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