Every time you want to perform the Format, Copy, Paste or Delete a certain file on the memory stick or on the USB, sometimes a USB error message appears with the title: “The disk is write protected“.
The main cause of the error “The disk is write protected” is a computer virus, the SD Card or USB device has not been unlocked or the device is formatted in the Read-Only state.
Although this error does not affect the Windows system’s operation and the memory on SD Card or USB devices. If you are wondering how to do or fix this error, please refer to a few simple tips in the article below.
Before you can fix this problem, you need to make sure that the device you are using is connected to your PC or Laptop and that the drive letter appears in MyComputer or ThisPC. Because if the device is physically damaged or firmware is lost, the application of the methods below is useless.
How To Fix The Disk Is Write Protected USB Flash
Edit the Registry
First, you need to open a Run window with the quick key combination Windows + R and type the following command and Enter.
In the Registry interface that appears, find and new to the following path.
On the right side of the StorageDevicePolicies window, open the WriteProtect section and change the value of this keyword from 1 to 0. Finally, select OK to exit the Registry.
If this value is not available, you can right-click and choose New >> DWORD and name it WriteProtect. Then set the value to 0.
Now, unplug the device and then plug it back in to see the results, usually with this method, it almost fixes the error “The disk is write-protected”. If the field still does not work, please refer to the following method.
Use to diskpart
First, you need to open the Run dialog box, enter the command line “CMD” and press Enter.
In the CMD interface that appears, press this command line and then Enter.
Next, enter the following command and continue to Enter to display the available drives on the computer.
You need to select the SD Card or USB drive you want to fix, open ThisPC or MyComputer to see the device’s order and then enter the command below to select the drive.
Note: Select disk X where x is the number of the drive to be fixed.
For example: I need to fix the error “The disk is write-protected” in drive 1, then the command line will be:
Select disk 1
Next, enter the command below right after the DISKPART line and press Enter in CMD.
attributes disk clear readonly
Now, you try to unplug the device and then plug it back in to check the results, this method also has a high probability of success, up to more than 70%.
See more: How To Use Diskpart Windows 10
Change status of Read-only
In some cases, when you download a folder or file to your computer or accidentally set the folder and file’s status to Read-Only, this means you can’t do it. Basic operations such as copying, cutting, and pasting these files and folders.
So it would help if you changed the Read-Only mode to normal, which is pretty simple to do.
Just right-click on a file or folder that is in Read-Only state >> Select Properties. Finally, leave the uncheck in the Read-Only box.
Check virus of the device
If the SD Card or USB is infected with a virus, then the error “The disk is write protected” USB drive is also likely to occur and worse, the virus can quickly spread to your PC or Laptop device.
See more: Top 10 Free Antivirus Software for PC
Unlock the device
Some SD Card and USB devices will be equipped with a toggle switch and lock, so if it is locked, it means you can also copy or delete any data on this device. Therefore, if you own this device, you need to check if it is locked or not, then plug it into your PC or Laptop.
Above are the tips you can use to how to solve “The disk is write-protected“. In general, just using method 1 or 2 is a successful fix. Hope this article will help solve your problem and if there are any other difficulties while doing this, please leave your comment in the comments below.