How to Remove Write Protection From Pen Drive?

  Amit Patra
Written By Amit Patra
Anuraag Singh
Approved By Anuraag Singh  
Modified On February 3rd, 2026
Reading Time 8 Minutes Reading

Seeing the error “The disk is write protected” when you are using a pen drive and i can tell you that this can be very frustrating especially when your important files are stuck inside the USB drive. Now you may not be able to copy, delete or even format your USB drive. So If you want to know how to remove write protection from a pen drive safely, this guide is the perfect solution to your question. You will learn why it happens and what to do if removal is not possible without risking your data.

Table of Contents Hide

What Does Pen Drive Is Write Protected Actually Mean

When a pen drive becomes write protected Windows switches it to read only mode so this simply means-

  • You can view files
  • But you cannot modify or delete or even add new data

This protection is not always a bug but in many cases it is a safety mechanism triggered by corruption, hardware wear or firmware rules to prevent further damage to your data.

Real Facts:- Modern USB drives are automatically enable write protection when the internal memory cells start failing well this behavior is absolute intentional not accidental.

Common Symptoms of a Write Protected Pen Drive

There are 5 major symptoms you can identify and you are likely dealing with write protection if you see these 5 symptoms

  • The disk is write protected error
  • Format option disabled
  • Files cannot be deleted or renamed
  • DiskPart “clean” command fails
  • USB opens but acts read-only

Why Pen Drives Become Write Protected?

Lets understand the cause that will help you decide whether your fixing or recovering data is the right move.

Physical Write Protection Switch

Some older USB drives include a tiny lock switch and when it is enabled your drive becomes permanently read only until you switch back.

File System Corruption

This is simply a case of improper ejection, sudden power loss or malware that can corrupt the file system completely and trigger write protection.

Controller or Firmware Protection

So when your internal memory reaches its wear limit the controller locks the drive in read only mode. Now this type of write protection cannot be removed by software.

BitLocker or Encryption Can Trigger Write Protection

In some cases a pen drive or USB flash drive becomes write protected because of the encryption when Windows BitLocker To Go is enabled. Now the BitLocker is designed to protect data but if the encryption or decryption process is interrupted Windows will switch the USB drive into a read only mode to prevent any data corruption.

This situation is commonly seen with corporate or office USB drives where encryption policies are enforced by default and If the system fails to properly authenticate or complete the encryption process the USB drive may appear write protected even though it is physically fine.

Warning:- If a USB flash drive is encrypted and the process is interrupted well Windows may restrict write access to protect data integrity.

Windows or Office System Policies Can Block USB Writing

On work PCs or company laptops pen drives often become write protected due to Windows Group Policy or registry based security restrictions. Here the IT administrators can apply all these rules to prevent data leaks which secretly blocks USB write access without showing any error error.

This is common when a pen drive works on one system but becomes write protected on another systems.

Virus or Malware Activity

Do you know some certain viruses can modify your USB drive attributes as it forces the pen drive into a read only state to hide the infections. This prevents users from deleting or modifying files and often spreads malware further.

You May Also Love to Know 7 Ways to Remove Write Protection from External Hard Drive Windows

Case Example – SanDisk Pen Drive Showing Write Protection

Recently a user reported a SanDisk 32GB pen drive showing the following

  • “The disk is write protected”
  • Format failed
  • DiskPart clear readonly failed

Lets clearly understand what actually happened in this case?
SanDisk USB controllers often enable read only mode when NAND memory begins to degrade. This prevents total data loss.

Danger Alert: Forcing format or firmware flashing at this stage can permanently destroy your recoverable data so always act smartly to protect your important data stored in pen drive.

How to Remove Write Protection From Pen Drive?

Below are legitimate and all working ways to Remove Write Protection From your Pen Drive that work only when the protection is software based.

Method 1:- Check for a Physical Lock Switch

  • Remove the pen drive
  • Look for a small switch on the side
  • Toggle it off and reconnect
    Success Tip: If your pen drive has a lock switch so after unlocking it fixes the issue instantly and no software or commands needed.

Method 2:- Remove Write Protection From Pen Drive Using DiskPart

You need to open Command Prompt as Administrator and type the following instruction correctly

diskpart

list disk

select disk X

attributes disk clear readonly

Remove Write Protection From Pen Drive Using DiskPart

Warning: If DiskPart returns an error now you need to understand that the drive is likely hardware protected.

Method 3:- Registry Editor Fix – For Windows Only

Remove USB Write Protection Using Windows Registry

  • Just Open regedit
  • You can navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
  • Next set WriteProtect value to 0
Points to Note: Well the most important to understand is this solution only works if the problem is caused by registry policies and not a firmware lock.

Method 4:- Format the Pen Drive

As there is a data loss risk so only attempt this method if your-

  • Data is not important
  • Drive is detected normally
Danger Alert: Formatting your pen drive does not fix firmware locked problem but also USB drives may reduce recovery chances.

Why Write Protection Sometimes Cannot Be Removed

You want the solution How to Remove Write Protection From Pen Drive but In many actual cases users fail to remove the write protection because of the following reasons

  • USB controller has locked the drive
  • NAND memory cells are worn out
  • Firmware has entered permanent read-only mode
Truth:  No tool or command can unlock firmware level write protection pen drive so I will suggest you to avoid any false claims or promises.

What to Do If Write Protection Cannot Be Removed

See If your pen drive is still visible in Windows it’s time to take the smart decision and protecting you important data should be your first priority as recovery of your data is possible here.

Check below what read only mode exact means

  • Files are still accessible
  • Recovery success rate is high

Using a reliable SysTools’ Best Pen Drive recovery Software solution allows you to extract data safely before the drive becomes fully unreadable.

Can You Reuse a Write Protected Pen Drive?

In most cases you can not reuse as

  • You can not reuse Firmware locked drives
  • Temporary fixes rarely last
  • Replacement is recommended after data recovery

Common Mistakes That Make Things Worse

When a pen drive becomes write protected a panicked actions often lead to permanent damage so many users unknowingly destroy the chances of recovery by resorting to unsafe shortcuts instead of finding the actual cause.

You must avoid the following at all costs

  • Repeated forced formatting
  • Using cracked “write protection remover” tools
  • Flashing random firmware
  • Ignoring backups
Danger Alert: Once low level cleanup or controller level reset occurs your existing data may be erased permanently now at this point making recovery extremely difficult or completely impossible.

How to Prevent Write Protection Issues in the Future

If pen drives and USB flash drives are used carefully and within their technical limitations so the most write protection problems can be avoided.

  • Always eject USB drives safely
  • Avoid filling pen drives to 100%
  • Don’t use low-quality USBs for critical data
  • Maintain regular backups
Success Tip: Pen drives are mainly designed for temporary data transfer not permanent storage so using them wisely will reduces stress on the controller and helps you avoid unwanted write protection issues.

Final Verdict – Fix or Replace?

How to Remove Write Protection From Pen Drive? Well If the issue is software based you can remove write protection from pen drive using safe methods as discussed in this article but If the protection is firmware level just focus on data recovery not repair.