How to Remove Write Protection from Pen Drive

Jean updated on Mar 30, 2020 to Partition Master | How-to Articles

How Do I Remove Write Protection from a USB Pen Drive?

"My USB pen drive is write-protected, and it happened when I copied a three gig size folder, and the write protection stops the copying process. Whenever I let my flash drive inserted in the comp for like 5-6 mins the write-protected appeared again, I didn't know how I removed it, but when I tried to copy a nine-gig folder, the problem happened again. I can neither disable the write protection nor format the USB pen drive because it always shows the error as 'The Disk is Write Protected'. Is there any efficient way to remove write protection and format the USB pen drive?"

Pen drive or USB flash drive, if we do not dig deep into their difference, are interchangeably used quite often. Nowadays in our digital life, removable storage media like pen drive and USB drive plays an important role in managing data flexibly, such as transfer files across computers, back up data, create Windows To Go portable USB drive, install applications, etc. In general, as long as you use the USB pen drive correctly, a branded drive has a lifespan of at least five years. Despite all kinds of pen drive issues happen a lot, most of them are fixable by yourself. For example, on this page, you can learn how to remove write protection from a pen drive.

What's Pen Drive Write Protection?

Write protection is defined as the ability of a hardware device or software program to prevent new information being written, meanwhile old information being modified or changed. In simple words, when a disk is write-protected, you cannot use it normally to write data or copy data on it.

Write protection usually appears on Windows PC with a Windows prompt message, warning you that the disk is write-protected with some supplementary messages.

#1. Pen drive is write protected while formatting:

fix pen drive is write protected while formatting

#2. Pen drive is write protected while copying files, telling you to remove the write-protection or use another disk:

fix pen drive is write protected while copying files

Other than the write-protected problem, sometimes we would encounter the other similar "read-only" error. If it happens to be your case, don't panic, the coming up write protection removal solutions can help you remove the read only error as well.

How to Remove Write Protection from Pen Drive

Chances are that 99% write protection on a USB flash drive, pen drive and SD card comes from the physical lock and virtual attribute change. By figuring out the behind reasons, it becomes easier for us to cure this problem and remove write protection successfully.

Method 1. Check Lock Switch and Disable Write Protection

toggle pen drive lock switch to disable write protection

Did you see a lock switch on either side of your pen drive? The lock switch, as the picture presents, is designed to control the ability of to read and write on the device. Most modern pen drives are designed with such lock switches, which we've seen on SanDisk, Sony, Kingston, and so many popular brands. You must toggle the switch to the position of "unlock" from "lock". By doing this way, you'll be able to use your pen drive freely again, without meeting the 'disk is write-protected' error again.

Method 2. Change Pen Drive Read-Write Properties

Go to My Computer/This PC and under Devices with Removable Storage, look for your pen drive device. Right-click on it and click Properties. Click Edit, in the pop-up box, sometimes there's an option to Remove write-protection. Change the status of this option and try again.

change pen drive properties to allow read and write

Method 3. Disable Write Protection Using CMD

Thus far Windows Command Prompt is the must attempt method to remove write protection from any drive in Windows 10/8/7. If you are willing to challenge the command that seems to be a little higher-leveled, it's very likely that you can successfully remove over 90% write protection from a pen drive.

Step 1. Search command prompt in Windows and run the program as an administrator.

Step 2. On the Windows Command Prompt, type each command line as follows and each command should be followed by an Enter key.

Click to copy

Step 3. When the write protection has been removed, you'll see the message 'Disk attribute cleared successfully'. Type exit, so you can close the window.

remove write protection from pen drive using cmd

Method 4. Remove Write Protection with Write Protection Removal Software

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 5. Remove Write Protection from Pen Drive Using Regedit.exe

The Windows Registry Editor (regedit) is a graphical tool in the Windows operating system that allows authorized users to view the Windows registry and make changes. Though it comes as the last resort, this Registry editing way is not so recommended as it exposes risk and danger at the same time when you try to remove the write protection. 

Warning
1. Only advanced users should work with the Windows Registry Editor and administrators should always create a backup of the registry before making changes.
2. Editing Windows Registry indeed helps remove write protection from your pen drive. However, we found that it's usually effective on earlier Windows operating systems, including Windows XP and Windows Vista. If you're Windows 7/8/10 users, it hardly works for you.

Step 1. Connect your pen drive to your computer.

Step 2. Press Windows + R keys and bring up the Run box. Type "regedit" in the empty box and hit Enter.

Step 3. Hit "HKEY_LOCAL_MACHINE" to expand "System".

Step 4. Find the "Current Control Set" in the "System" list to click "Control".

Step 5. Check whether there is a key named "Storage Device Policies" to change the digit in the "DWORD value" box into "0" and press "OK" to save the change. 

Note: if you cannot find the key named "Storage Device Policies", you are supposed to create one: right-click "Control" to create a new key and name it as "Storage Device Policies"=> right-click this new key to open "DWORD Value" and name it as "write protect"=> Double click it to change the number.

How to Format Pen Drive After Write Protection Removal

Do not try to format a write-protected USB flash drive before you can find a way to remove the write protection. When the pen drive is write-protected, you can neither use the native Windows disk formatting programs nor any third-party USB formatter to format it.

Fortunately, there are applicable solutions to write protection removal from all kinds of storage devices. Here, after removing the write protection from your pen drive, now you can feel free to format it without a hitch. EaseUS Partition Master the highly recommended free partition manager that enables users to format a USB drive to FAT32 or NTFS or EXT. Why we choose it over the Windows options to format a drive include the following highlights as well:

Download Now

 Windows 10 is supported

Step 1: Select the USB drive to format.

Connect the USB drive or pen drive to your computer. Download and launch EaseUS partition software. Right-click the USB drive you intend to format and choose "Format".

Format Hard Drive Partition - Step 1

Step 2: Set the drive letter and file system.

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: Check the warning box.

Click "OK" if you see the Warning window. If you have important data on it, back up the data in advance.

Format Hard Drive Partition - Step 3

Step 4: Apply the changes.

Click the "Execute operation" button first, and then click "Apply" to format the USB drive.

Format Hard Drive Partition - Step 4

Conclusion

In this article, we discussed the topic of how to remove write protection from a pen drive. By reading through, you will clearly understand what the write protection is, and learn five ways to fix a write-protected USB pen drive, including:

1. Toggle the lock switch
2. Change pen drive's read-write properties
3. Disable write protection using CMD
4. Remove write protection with automatic write protection removal software
5. Remove write protection from a pen drive using Regedit.exe

To help you further in formatting a USB pen drive after removing the write protection, we recommend the all-on-one partition manager software that can fully replace the Windows ability to format a removable hard disk. In addition, to solve the Windows problem of being unable to format a drive or partition that is over 32GB to the FAT32 file system.

Download Now

 Windows 10 is supported

 
 

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.