How to Unlock USB Drive | Decrypt Write Protected USB Drive and Restore Data – Qiling  

Unlock USB Drive | Decrypt Write Protected USB Drive and Restore Data


If you're having trouble unlocking your USB drive, there are two practical methods you can try. The first method involves checking the drive's compatibility, formatting it, and then unlocking it. The second method involves using a third-party software to unlock the drive. For more details, refer to the table below.

Workable Solutions Step-by-step Troubleshooting
Solution 1. Ask for the permission If you have administrator passwords, take these steps to unlock the encrypted USB drive, partition, or even write-protected files. Connect the USB drive to your PC and go to Computer/This PC...Full steps
Solution Fix 2. Make changes in Regedit If you've forgotten the password of an encrypted USB drive or files, you can try changing the WriteProtect value. To do this, press the Windows + R keys to open the Run dialogue, then type `cmd` and press Enter to open the Command Prompt.regedit in the search box, and hit Hit...Full steps
Recover data from USB drive If data loss happens on your USB drive due to deletion, formatting, corrupting, or other causes, you can use Qiling data recovery software to recover data from USB drive, pen drive, or SD card in simple clicks...Full steps

How Is Your USB Flash Drive Locked

If you're unable to add, write, copy, or transfer files on a USB drive because it is locked, you need to first determine the real cause of the issue to find the appropriate troubleshooting solutions.

After learning about the two possible items that can lock a storage device, you can now focus on the write protection removal solutions in the coming part of this guide. Most of these cases are caused by the disk being write protected in Windows 10/8/7. To unlock a USB drive, try out the following two ways:

Solution 1. Ask for the Permission with a Password

This solution works for users who have administrator passwords for unlocking encrypted USB drives, partitions, or write-protected files. To unlock the USB drive with a password, follow these steps: [insert steps here].

Step 1. Connect your USB drive to your PC and navigate to the "Computer" or "This PC" section.

Step 2. Right-click the USB drive and choose "Properties" followed by "Security".

Step 3. Click "Edit" and enter your administrator password.

Step 4. Select your username in "Group and Usernames" and click the "Allow" radio button alongside the "Full" and "Write" settings in the "Permissions for Authenticated Users" section.

ask for permission to unlock usb drive

Step 5. Click "Apply" followed by "OK".

You'll now be able to access the encrypted USB drive and use those important files on it again.

Solution 2. Make Changes to the Windows Registry (Regedit)

If you've forgotten the password to an encrypted USB drive or files, you can try to decrypt the write-protected USB drive by locating the StorageDevicePolicies on any version of Windows and changing the WriteProtect value as instructed below.

Step 1. Press the Windows key + R keys to open the Run dialogue, type "regedit" in the search box, and press Enter.

Step 2. In the Registry Editor, navigate to the following key:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.

Step 3. Double-click on the WriteProtect value, change the Value data from 1 to 0, and click OK to save the changes in Registry Editor.

edit registry to unlock the usb drive

Step 4. Close the Registry Editor and restart your computer.

Check your USB drive's status and see if you can access the data stored on it.

How to Recover Lost Data After Unlocking USB Drive

If you've tried the methods mentioned and still can't access your USB data, you may need to use professional data recovery software to securely restore the data.

Here, you can try Deep Data Recovery, which is fully compatible with all Windows systems, enabling users to restore data from an encrypted USB drive or storage devices after unlocking them.

To recover data from an encrypted or write-protected USB drive, pen drive, SD card, or memory card, download a USB recovery tool and follow these steps.

Step 1. Choose file types and click "Next" to start

Launch Deep Data Recovery, select the desired file types, and click "Next" to initiate the recovery process.

Select file types that you want to recover

Step 2. Choose the USB drive to scan

Choose the USB drive where you lost your important files. Click "Scan" to initiate the scanning process.

select the USB drive

Step 3. Check and preview USB drive data

When the scanning is complete, you can quickly find a specific type of file using the Filter feature and the Search option.

Restore lost files from USB drive

Step 4. Restore flash drive data

After finding lost USB drive files, click "Recover" to restore them and save them to a safe location on your PC.

Video Tutorial to Recover Lost Data After Unlocking USB Drive

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it