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 Delete a File/Folder at Logon [GPO Script Settings]

It is not a good thing that agents and supervisors can check some sensitive information. We will help you use the logon/logoff script to solve the issue in this passage.

Dany

Nov 11, 2025

How to Recover Deleted/Unsaved Smart Notebook Files [Windows Tips]

It's typical on the internet for people to desire to get their hands on Smart Notebook files. You should read this article if your smart notebook has ceased functioning or if you have lost the data on it.

Jaden

Dec 12, 2025

How to Delete Photoshop Temp Files on Windows 10

If your hard drive gets full because of Photoshop temp files, you must learn about this page. You can know the Photoshop temp files' location and whether it is safe to delete Photoshop temp files on Windows 10. Then, you can delete Photoshop temp files with ease.

Dany

Jun 30, 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

How to Fix Can't Delete a File That's Stuck on Desktop

There are several methods to delete a file that is stuck on your desktop, and we will show you some possible solutions to help you troubleshoot this problem in this passage.

Dany

Jun 30, 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