How to Handle write-protected USBs

01/01/2024
Share:
Ever stumbled upon a message saying “Disk is write-protected” when using your USB drive? This (common) issue can be so frustrating, especially when you need to urgently transfer or modify files. So, just what is "write protection” anyway? This security feature on USB drives prevents unauthorized alteration of the data within. However, there are times when you’ll need to remove this to update/delete files; this article explores effective methods to do just that on USB drives.

Understanding Write Protection:

Before delving into solutions, let’s understand what exactly write protection is. Essentially, this feature is a safeguard that prevents new data from being written or existing data from being modified/deleted to help prevent accidental data loss or malicious software infection.

Common Causes:

  • Physical USB drive lock switch
  • Operating system software settings
  • Corruption or malware infections

1: Check the Physical Lock

  1. Inspect the USB Drive : Some drives are equipped with a physical switch that enables write protection; ensure this isn’t in the locked position.
  2. Toggle the Switch: Toggle the switch to the opposite side and then try accessing your files again.                                  (Both USB drives and SD card has lock besides)

 2: Use DiskPart Utility (Windows)

  1. Open the Command Prompt: Press Win + R, type CMD, and press Enter.
  2. Launch DiskPart: In the command prompt, type DiskPart and press Enter.
  3. Identify Your Disk: Type the list disk and note the number of your USB drive.
  4. Select the Disk: Type select disk [number] ([number] is your USB drive number).
  5. Remove Write Protection: Type in attributes “disk clear read only” and press Enter.

3: Edit the Registry (Windows)

  1. Open the Registry Editor: Press Win + R, type regedit, and press Enter.
  2. Navigate to StorageDevicePolicies: Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.
  3. Edit the WriteProtect Value: If WriteProtect exists, set its value to 0. If it doesn’t exist, you might need to create it.

4: Use Disk Utility (Mac)

  1. Open Disk Utility: You can find this in the Utilities folder.
  2. Select the USB Drive: Choose your USB drive from the list.
  3. Run First Aid: Click on “First Aid” and follow the prompts to check for errors.

5: Clear Out Viruses

  1. Use Antivirus Software: Launch a full USB drive scan with reliable antivirus software to remove any potential malware.
  2. Check Access: After cleaning the USB drive, check to make sure your write-protection issue is resolved.

6: Use File Explorer Properties

  1. Open File Explorer: Right-click on your USB drive and select Properties.
  2. Change Attributes: Uncheck the Read-only box under the General tab and apply changes.

Preventive Measures:

To minimize the chance you’ll face write-protection issues while ensuring USB drive longevity/security, consider these preventive measures:
  1. Regularly Back Up Your Data: Frequently back up your USB drive data to other storage devices/cloud services, a practice that helps protect against data losses due to write-protection errors or hardware failure.
  2. Use Reliable Antivirus Software: Protect your USB drives from malware and viruses (which can sometimes trigger write protection) by performing trustworthy antivirus software scans on a regular basis.
  3. Safely Eject USB Drives: Always use the “Safely Remove Hardware” option before unplugging your USB drive, as improper removal can lead to data corruption or write-protection activation as a defensive measure.
  4. Update Your Firmware: Ensure your USB drives' firmware is up to date, knowing that manufacturers often release updates to fix known bugs (including those related to write protection).
     5. Avoid Public Computers: Using public computers can expose your USB drives to malware/unauthorized access, so you’ll want to do so sparingly (if at all) when transferring sensitive data.   If you haven’t guessed it by now, USB drive write-protection removal is nothing short of essential for file management. Thankfully, you can rely on the aforementioned methods to regain control over your drive's data. Turn to Sino-memory—which offers a variety of personalized options—for high-quality (and customizable!) USB drives.  

Recent Blog