Instructions apply to Windows 10, Windows 8, and Windows 7. If your computer tells you the media is write-protected, look for a write protection switch also called a lock switch on the USB or SD card. If the media has this switch, make sure the switch is set to write, not read-only. Here's how to grant writing permissions. Open Windows File Explorer. Navigate to the device and folder containing the file. In the Properties dialog box, select Read-only to remove the check mark.
Select OK. There are many ways to remove write protection from USB drives in Windows. One popular method is to change a Registry key, but this is scary to some people. A less intimidating method is to use diskpart. Select Run. Enter diskpart and then select OK. The User Account Control dialog box may appear and ask if you want to allow this app to make changes to your device.
Select Yes to continue. In the list of mounted disks, find your USB drive and note the disk number. Look at the Size column to locate the write-protected flash drive. If, for example, your drive number is 1, enter select disk 1. When the disk is selected, diskpart displays a message saying the disk is now the selected disk. Enter the command attributes disk clear readonly and then press Enter.
When write protection has been removed from the disk, diskpart displays a message stating the attributes were cleared successfully and the disk is no longer write protected. To close the diskpart window when you're finished, type exit and press Enter. Before making any changes, back up the Windows Registry. If you make a mistake and have problems with your computer, you'll be able to restore the Registry and return your system to its original state.
Enter regedit and select OK. Keep reading to learn how. Not sure how that happened, but you can confirm it by running diskpart: -Run Diskpart you will need to elevate to admin -Type List Disk take note of the disk number that contains your files, let's assume it's 0 -Type Select Disk 0 or whatever the disk number is -Type attributes disk look at the read-only setting, if it's True, then this is your problem assuming read-only is true, then type: attributes disk clear readonly.
Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related If your flash drive does not have a protection lock, then you can follow the steps below to disable the write protection.
Enter regedit and click OK. If the StorageDevicePolicies folder is missing on your computer, you can create one with yourself. Right-click on the Control folder. This step will create a new subfolder under Control. Name it " StorageDevicePolicies ". Name the new entry "WriteProtect" without quotes. Click OK to close the Registry Editor. Restart your computer and see if you can delete the USB files now.
In this article, we mainly talked about write protection. When a file or a USB flash drive is write-protected, users can view the content only but cannot edit or delete the file or the file content. In most cases, write protection works as a method to protect data. Actually, you have many other choices to protect files, for example, lock your files with a password , hide the target files.
No matter which method you prefer, choosing a proper tool is of vital importance. This tool supports users locking, hiding, and encrypting files, folders, and drives. Both local drive and external drive are available for this tool. The biggest advantage of this tool is that the user can use the registered email address to recover the password, but the built-in encryption function of Windows cannot do this. If you are interested in EaseUS LockMyFile, download this tool from the button below, and check our guide to see how to use this tool.
Click Locking File on the right side. Click Lock File s , and choose the file you want to lock from your computer, and click Open to confirm.
0コメント