“How do I remove the write protection from a USB drive to make it usable?” is a common user query. While the write protection feature protects data integrity, it makes the drive read-only, preventing you from editing, adding, or deleting files. However, you can disable this feature through the USB lock switch, Windows Registry, Diskpart, Command Prompt, by disabling BitLocker, or, as a last resort, by formatting the USB drive.
The Windows Registry is a database where Windows stores configuration settings and options. Diskpart is a command-line tool that enables disk partitioning operations. BitLocker is a disk encryption program that can lock data on a drive for security.
In this article, we explain these methods in detail, along with when to use a particular method. However, let’s begin by clearing the basics around write protection to ensure better understanding.
Imagine a vault you lock to keep your valuables safe. Similarly, since the disk drives contain important data, the write protection feature serves as a lock that prevents people from editing, adding, or deleting the disk content to maintain data integrity.
Hence, in simple terms, write protection is a Windows feature that prevents data from being written or modified on the drive, meaning you cannot add, change, or delete files from your USB or hard drive if write protection is enabled. Generally, system administrators, IT professionals, digital forensics experts, and cybersecurity enthusiasts use this feature to ensure complete protection.
While the write-protection feature makes storage devices read-only, this feature is of two main types. One is the hardware-based write protection, and the other is the software-based write protection.
The hardware-based write protection involves a physical lock switch on the drive to control data writing.
On the other hand, the software-based write protection is applied through operating system settings, registry entries, or security policy to prevent data changes.
However, in addition to IT administrators, especially in enterprise settings, intentionally enabling write protection through registry settings, there can be several other reasons for the “This disk is write-protected” message you get when trying to save, edit, or delete a file.
In addition to USB restrictions enforced through registry settings, the following are the most common reasons for USB write protection.
Hence, while you can unlock a write-protected USB drive, it is also wise to learn when not to do so to prevent putting your data at risk.
Since write protection is often an intentional act, especially in corporate settings, or may be enforced by Windows to prevent data corruption, it may not be wise to remove write protection from a USB or hard drive.
With that in mind, let’s proceed to remove write protection from the USB drive and fix a write-protected hard drive, as the methods for both these actions are significantly similar.
You can execute write protection removal for your drives through the lock switch, Windows Registry, Diskpart, system file repair, disabling BitLocker, or drive formatting. Below are all these methods explained in detail.
Some USB flash drives have a physical write protection switch on the bottom or side. This switch keeps your drive protected from malware on public computers. If your drive has this switch, move it to the unlock position.
Also know: How to Fix Power Surge on USB Port Error on Windows 10, 11
Another way to perform write protection removal for USB drives is through the Windows Registry. However, follow this method carefully, as the Registry has advanced device controls and configurations. Before proceeding, we highly recommend creating a backup of the Registry to safeguard against accidental errors. To create a Registry backup, access the Registry Editor, click on ‘File’, select ‘Export’, choose a save location, and provide a name for the backup file.
Note: While Registry modifications only affect USB drives, they may also solve the problems if a hard drive is write-protected.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
Note: If you do not have the StorageDevicePolicies key, you need to create it. To create this key, right-click the Control key and choose New > Key. Name the new key StorageDevicePolicies and press Enter. Once you have created the key, right-click the StorageDevicePolicies key, choose New > DWORD (32-bit) Value, input WriteProtect as the new value name, and press Enter.
You can remove write protection from a hard drive and a USB drive through Diskpart. Here is how.
diskpart
list disk
select disk X
attributes disk clear readonly
exit
File system errors may have activated the write protection feature on your drive. Hence, you can follow the steps below to fix the system files to ensure write protection removal.
BitLocker, if installed and enabled on your computer, may activate the write protection on drives. Hence, you can turn off BitLocker to remove this protection. Below is how to disable write protection on a hard drive or USB drive by disabling BitLocker.
Note: This method to remove write protection works only if you have the BitLocker password or recovery key.
Also know: How to Fix the USB Device Not Recognized Error in Windows PC
If nothing works, formatting the drive is the only way to remove write protection from a USB or hard drive. However, ensure you have a data backup before following the steps below to format the drive, as this process may erase all data.
If you can’t back up data due to write protection, consider using data recovery software before formatting. These tools sometimes allow you to retrieve data despite write protection. Evaluate the risks and be aware that not all data recovery attempts are successful.
If you experience problems with write protection removal through the methods above, you can fix them with some simple steps.
To fix the write protection problems:
That’s all for how to remove write protection from the USB and hard drives to make them usable. However, since write protection is a part of a data loss prevention strategy to reduce malware risk and prevent unsanctioned data transfer, make sure your device has an active antivirus, you have scanned all file transfers before use, and you revert changes once the necessary work is completed.
Reverting changes means re-enabling write protection on your USB or hard drive to ensure that your data remains safe from accidental edits or malware threats. To do this, simply return to the same settings or configurations where you initially disabled the write protection and enable it again. This re-enables the safeguard against unauthorized modifications.
This may come as a surprise, but global email users are expected to reach a…
If you want to protect your system against malware attacks, then you can take the…
In this guide, we will have a look at some of the best game booster…
Imagine receiving a message, seemingly from your company’s overseas CFO, requesting a confidential transaction. You…
Are you on the lookout for the best free driver updater software? Look no further!…
Did you know that there are over 912 million ad blocker users worldwide? The statistics…