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 Feb 03, 2023

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 Files Older Than X Days in Folders and Subfolders

Are you tired of useless files on your computer yet eating up space? Then use this simple approach to delete files older than x days using File Explorer, CMD, and PowerShell. We can also assist you in recovering accidentally lost files on Windows 11/10.


Jan 09, 2023

Delete PDFs Older Than 90 Days with Log [PowerShell Commands]

It is possible to delete PDF files older than 90 days with Log using PowerShell command lines, and there are other ways you can use. Reading the following article may help you a lot.


Jan 17, 2023

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!


Jan 31, 2023

Difference Between Delete and Shift Delete

For a new Windows user, using delete shortcuts to delete files is very convenient. If you don't know the difference between Delete and Shift Delete, we will introduce both of them to you.


Jan 31, 2023

How to Delete Files on a Particular Date with Unix

If you have a list of files but only want to delete files older than a particular date with Unix. This post teaches you the specific command line to run a helpful script. You can also protect your data security with the help of EaseUS Data Recovery Wizard.


Jan 20, 2023

How to Recover Deleted Data from an Accidental Formatted Partition

You may still recover your data from a formatted partition that has been divided. If you don't know why you can access the formatted partition, you can first locate the cells and sectors before using the data recovery and repair program.


Jan 21, 2023