Instruction for Sandisk Write Protection Removal and Format

Brithny updated on Feb 28, 2020 to Partition Master | How-to Articles

This page covers complete solutions to help you resolve "How to remove write protection from SanDisk pen drive" issue in two parts. If your SanDisk device is write protected, follow to unlock it now:

Remove write protection from Sandisk pen drive
Format Sandisk memory card & USB flash drive with EaseUS free partition tool

Sandisk write protected error cases

"The SanDisk SD card in my digital camera won't let me delete or take pictures. So I want a SanDisk repair tool to fix the problem. When I did the job using the Windows disk management tool, it shows write protected error. How do I get my SanDisk memory card off write-protect!?"

"I bought a SanDisk Cruzer Edge 8GB. But when I tried to reformat it for other uses, Windows says 'the Disk is Write Protected'. How can I remove the write protection from the Sandisk USB flash drive and format it successfully?"

"I cannot format my Sandisk pen drive because it is write-protected. Is there any Sandisk write protected removal tool that can help to format write protected pen drive?"

Sandisk writes protected error usually happens when you trying to format a Sandisk storage device. It is an issue that has disturbed lots of users for a long time. Have you ever encountered such a similar Sandisk write protected issue? Now, it is no longer a problem. Follow the details below, and you can remove the write protection of the Sandisk device then format it.

Part 1. Remove write protection from Sandisk USB pen drive/SD card 

To get rid of the write protection error from your SanDisk device and make the device work again, you will need to unlock your device first and then format it to a recognized status. Check and follow the tutorials below, your SanDisk USB pen drive or SD card, etc. will come back to life.

Three practical tools can remove SanDisk write protection for you. Let's check how to remove write protection from SanDisk USB, pen drive, SD card, etc. with each tool now.

Method 1. Remove write protection from SanDisk pen drive using Regedit.exe

Step 1. Click "Start", type Regedit in the search box. Click "Regedit.exe" to open the Registry editor when you see it is displayed at the top of the list.

Step 2. And then navigate to the following key: 


Step 3. Double-click on the WriteProtect value in the right-hand pane of Regedit.exe. Change the Value data from 1 to 0 and click "OK" to save the change. Close Regedit and restart your computer.

set the value data as 0

Method 2. Regedit.exe alternative - write-protection removal tool

If you are not professional in computing management and not familiar with command lines, don't worry. EaseUS R&D team has promoted a fresh kit for helping you resolve the write-protection issue on your hard drive, external hard drive, USB or SD card, etc., devices.

EaseUS Tools M is a practical computer fixing tool that is safe and light-weighted. It's a perfect alternative to the command line. 

Use this one-click tool to solve the write-protection issues on your own:

Step 1: DOWNLOAD and install EaseUS Tools M for free.

Step 2: Run EaseUS Tools M on your PC, choose the "Write Protection" mode.

Step 3: Select the device which is now "Write-Protected" and click "Disable" to remove the protection.

Remove Write Protection from storage devices.

Method 3. Unlock SanDisk write-protected device using CMD

CMD attribute disk clear command is another solution to fix write protected Sandisk SD card or USB flash drive. As it requires to clear the whole device, which may result in data loss, we would like to recommend you try the former two tools to remove SanDisk write protection.

If you don't mind losing data, connect your SanDisk device to your computer and follow to remove the write protection in a few simple steps:

Step 1.  Press "Windows + R" and enter cmd. Open Command Prompt as Administrator.

Step 2. Type diskpart and hit Enter.

Step 3. Type the following command lines and hit Enter each time:

  • list disk
  • select disk # (# is the number of your SanDisk USB/SD card/SSD drive that you want to remove write protection from.)
  • attributes disk clear readonly

Remove write protection using diskpart command.

Step 4. Type exit and hit Enter to close DiskPart.

When the above process completes, re-connect your Sandisk USB flash drive or pen drive again, and you should find the write protection is removed. The device is no longer write-protected.

However, this is not the end yet. To make your device ready and secure for saving data again, it's highly necessary to reset the SanDisk file system by formatting. Follow Part 2, you can format the Sandisk device as normal using a third-party format tool.

Part 2. Format write protected Sandisk memory card & USB flash drive with EaseUS free partition tool

Before the formatting, do remember to copy and back up your SanDisk data to another secure location in case of losing data while formatting your device.

EaseUS Partition Master Free is the tool here we would like to recommend to you. It works well to format an SD card, USB flash drive, pen drive, and other storage devices after you remove the write protection.

Download Now

 Windows 10 is supported

Note that the free format tool is unable to format a write-protected device directly, which means you have to remove the Sandisk write protection first. Let's check how to format your unlocked SanDisk USB pen drive, SD card, etc. to reusable again:


Step 1: Launch EaseUS Partition Master, right-click the partition on your external hard drive/USB/SD card which you want to format and choose the "Format" option.

Format Hard Drive Partition - Step 1

Step 2: Assign a new partition label, file system (NTFS/FAT32/EXT2/EXT3), and cluster size to the selected partition, then click "OK".

Format Hard Drive Partition - Step 2

Step 3: In the Warning window, click "OK" to continue.

Format Hard Drive Partition - Step 3

Step 4: Click the "Execute Operation" button in the top-left corner to review the changes, then click "Apply" to start formatting your external hard drive/USB/SD card.

Format Hard Drive Partition - Step 4

When you finish the formatting, your SanDisk storage device is secure for saving data again with no write protection issue. You may save your files back to the SanDisk device again.

If you lost files after formatting, don't worry. You can try reliable SanDisk recovery software to help you fully recover lost files after formatting. 


Being efficient, safe and easy, the above guide is the best solution to remove write protection from the SanDisk pen drive. You can try it with no hesitation whenever you have Sandisk write protected issue using a Sandisk write protected removal tool & write-protected format tool.

People Also Ask

This page covers three solutions for removing write protection error from SanDisk pen drive, USB flash drive, memory card or SSD disk. Some people also have questions about write protection removal issues. 

If you're having the same concerns, follow and check the answers below the following questions:

1. Why does my SanDisk says write protected?

Usually, when SanDisk device says write-protected, it is locked by the following reasons:

  • 1). SanDisk device locking switch is ON.
  • 2). SanDisk USB, pen drive, SD card, external/internal disk is encrypted by password.
  • 3). SanDisk device is write-protected by viruses or malware.

2. How do I remove write protection from online?

The best way to remove write protection from online is to select the right tool and solution for your device. We would like to recommend you to get rid of this issue with the next two steps:

Step 1. Select a reliable write-protection removal tool online.

As recommended on this page, Regedit.exe, third-party write-protection removal tool or CMD can all help to clean write protection from the SanDisk device.

Step 2. Format devices to reusable again.

3. How can I remove write protection from my SanDisk pen drive Windows 10?

This page offers the complete solution of removing write protection from the SanDisk pen drive. The solutions are applicable for Windows 10/8/7/Vista/XP. 

First, you need to choose a reliable tool to remove the write protection from SanDisk pen drive.

As recommended on this page, Regedit.exe, Write-protection removal tool or CMD command in Part 1 can all work. 

Next, you need to format the device ready for saving data again.

4. How do you remove write protection on a USB stick?

If you are using a SanDisk USB stick that has a lock switch, make sure the Lock switch on the left side is slid up (unlock position). Otherwise, you will NOT be able to modify or delete the contents on the memory card if it is locked.

If the lock is Off but the USB is still write-protected, you can use DiskPart command, Registry or write-protection removal tool to unlock your device with ease. For a detailed guide, follow to remove write protection on USB


100% of people found this article helpful.


Frequently Asked Questions

Why Choose EaseUS Partition Master?

"I've used Partition Master Professional many times to create, delete, format, move, rename, and resize partitions."PCWorld

"Partitioning tools have come a very long since the days of complicated command line utilities and EASEUS Partition Master is one of the most advanced programs available."TECH ADVISOR

"I love that the changes you make with EaseUS Partition Master Free aren't immediately applied to the disks. It makes it way easier to play out what will happen after you've made all the changes."Lifewire

Will the "Migrate OS" feature transfer the Windows system files only or the whole C drive?

To ensure that the migrated system will boot normally, the Migrate OS feature will transfer all the files in the system and the boot partitions. Generally, the boot partition is the C drive so the transfer will include all the files in C.

Does EaseUS Partition Master license apply to multiple computers?

The license of Partition Master Professional and Server editions can be used on 1 computer only, while that for for the Technician and Unlimited editions can be used on multiple machines.

What is the difference between EaseUS Partition Master Trial version and the Free version?

Free is for home users only, with most basic functions available such as partition resize and clone. While trial can help you understand how this product works and test what a full license can do on a business or server OS machine.

Will it cause any data loss after resizing the partition in EaseUS Partition Master?

Generally, it will not cause any data loss or boot issue by resizing a partition. However, in order to protect your data, we suggest that you backup the partition before resizing, in case of any unexpected situations such as power outages, computer hardware failures, etc. You can use EaseUS Todo Backup to backup the partition and its trial version is fully functioned for 30 days.

What should I prepare before resizing the partition?

On the partition that is going to be operated, there might be some files being occupied by other programs. To ensure a successful operation, we suggest that you close all the unnecessary software before resizing that partition. Otherwise, EaseUS Partition Master will detect the partition being locked by the other software and require a reboot to resize the partition under boot mode.

About EaseUS Partition Master

All-round disk & partition management software for personal and commercial use. Let it manage your storage drive: resize, format, delete, clone, convert, etc.