Aug 04, 2026 • Filed to: USB Recovery • Proven solutions
Quick Answer:
A USB drive can show as locked because of a physical lock switch, software write protection, corrupted data, or drive malfunctions, and the article provides five ways to unlock it.
- Check the physical lock switch first and move it to the unlock position if the USB drive supports that security feature.
- Use Command Prompt on Windows if the drive is write-protected by software instead of a physical switch.
- Edit the Registry or Local Group Policy settings if system-level write protection is blocking access to the drive.
- Format the USB drive or recover the files with Recoverit first if corruption or damage is making the drive inaccessible.
After you identify why the USB drive is locked and apply the matching fix, you can unlock the drive and access or restore its data again.
If your USB Drive is showing locked, or Write Protected, there's no need to worry. This Write Protection on your USB is one of the features of your external storage devices to fight unauthorized access. But in case, if you have mistakenly locked your USB Drive, or the Drive is automatically showing Write Protected, then you probably need to unlock it. There are various ways to unlock your USB Drive. If you know why your USB Drive is showing locked or Write Protected, then you can follow the methods and unlock your write-protected Drive.
Part 1: Why Is Your USB Drive Showing Locked?
When you connect your USB Drive to your PC and you can't use it, that's when you realize that your USB Drive is locked, and now you need to unlock it to access the data stored on it. Before you attempt to unlock your USB Drive, you first need to know the reason behind the USB Drive showing locked. There are multiple reasons behind your USB Drive showing locked, sometimes it's intentional, and sometimes it's accidental.
Why and How Your USB Drive Is Locked?
- Some USB drives and SD cards have a security feature called Lock Switch. This security feature is there to keep your data on your USB Drive safe from any unwanted access. So, if the switch is toggled to the lock position, then your USB Drive will show locked.
- Most of the removable storage devices like USB Drive, Pen Drive, SD cards, etc. comes with a Write protection feature. It's a software feature through which you can write-protect your USB Drive on PC, and then you or anyone else will not be able to write data over your USB Drive.
- Your USB Drive might show locked and inaccessible due to corrupted files and data on it. It can also be a result of damage or some other malfunctions on your Drive.
In case if your USB Drive isn't intentionally locked, then you might face a problem in figuring out the reason and fix the problem. So, you can consider the above-mentioned reasons, or other reasons, and try to unlock USB Drive by using the methods mentioned in Part 2.
Part 2: How to Unlock Your USB Drive | 5 Ways
If your USB Drive is locked or Write Protected, then you'll need to unlock it to be able to access the data stored on it. There are many ways to unlock your USB Flash Drive; the ways differ based on the method used to lock the drive. Thus, you can try and use one of the below-mentioned methods to unlock your USB Drive.
Method 1: Check the Lock Switch
If your USB Drive is locked and becomes inaccessible to you when plugged into the computer, then the reason might be the Lock Switch. Most of the SD cards and USB drives come with a physical Lock Switch, that you can toggle to lock or unlock USB Drive.
So, if you find your USB Drive locked, then you should first check the physical lock switch. If the lock switch of your USB Drive is toggled to the lock position, you need to toggle it to the unlock position to unlock your USB Drive.
If your USB Drive or SD card lacks a physical lock switch, then your USB Drive may be locked due to some other reason. Thus, you should try another method to unlock the USB Drive.

Method 2: Unlock Write Protection by Using CMD(Windows)
If your USB Drive is not locked using the physical switch, then it must be Write Protected. If your USB Drive is Write Protected, then you will not be able to access all the data stored on it, or write any data over it. In that case, you need to unlock the write-protected USB, and you can do it so with the help of the Command Prompt window in your Windows PC.
- Type "cmd" or "Command Prompt" on the search panel of your Task Bar in Windows 10 or any other versions. You will see "Command Prompt" as a result of your search. Click on it to enter the "Command Prompt" window.
- On the Command Prompt window, write "diskpart" and give the command by pressing Enter. This will open Diskpart.
- Once diskpart is processed, type the following commands one by one and press Enter each time:
list disk
Select Disk #(# is the number of your Write Protected USB Drive)
attribute disk clear readonly - Close the Command Prompt window once the process is completed. Now try to plug in your unlocked USB Drive and see if it works.

Method 3: Disable BitLocker(For Encrypted Drive)
If your USB drive displays a lock icon, it is protected by BitLocker encryption. You can unlock it by following these steps:
- Open File Explorer and navigate to This PC.
- Right-click the encrypted USB drive and select Unlock Drive.
- Input your encryption password when prompted.
- If you want to stop using BitLocker, type "Manage BitLocker" into the Windows search bar. Find your drive in the list and select Turn off BitLocker.
Method 4: Try Regedit to Unlock Write-protected USB Drive(Advanced)
There's a simpler alternative to Command Prompt if you want to unlock your Write Protected USB Drive. You can simply use the Registry Editor in your Windows PC to unlock your Write Protected USB Drive. The process is simpler and more user-friendly.
- From the home screen of your PC, go either to the search panel of the taskbar or use the shortcut "Windows+R" to start the Run command. Now, in any case, insert "Regedit" and search for the "Registry Editor".
- Once you are on the Registry Editor window, you will see the "Computer" option on the left-hand panel. Simply navigate to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies".

- Now, you will see "Write Protect Value" on the main panel of the window. Double click on it, and then change the "Value Data" on the pop-up from 1 to 0. Once done, click "Ok".

You can now close the Registry Editor and restart your computer. Once your computer is restarted, try to connect your USB Drive again, and see if you can access the data or not.
Method 5: Format the Drive (Warning: Data Loss)
If your USB drive is corrupted or inaccessible due to file system restrictions, reformatting is the most effective solution. However, this will erase all data on the drive.
- Open File Explorer. Locate and right-click your USB drive.
- Select Format from the menu.
- Choose your desired file system (e.g., FAT32 or NTFS) and click Start.
Video Tutorial on How to Remove Write Protection from USB drive
Part 3: Use Recoverit to Recover Lost Data from Unlocked USB Drive
You can lose the data while trying to unlock your USB Drive. In that case, you will not be able to get your data back without performing the data recovery at the earliest.
Thus, you are recommended to use the Recoverit Data Recovery tool to recover data from your unlocked USB Drive. No matter if your data is lost due to accidental deletion, intentional formatting, or due to the corruption in your drive, but if you act quickly enough, you can always successfully recover your data by using Recoverit tool. Recoverit data recovery is an extremely powerful yet very affordable data recovery tool.

Recoverit - The Best File Recovery Software
- Recoverit helps you in recovering data from various kinds of storage drives like USB Drive, Pen Drive, SSDs, HDDs, Floppy Disk, SD card, etc.
- By using Recoverit, you can recover lost data from an unlocked USB Drive, corrupted drive, malfunctioning drive, formatted drive, etc.
- Recoverit allows you to recover all kinds of files from your USB Drive such as Video files, Audio Files, Documents, ZIP files, OBB files, etc.
User Guide to Recover Data from Unlocked USB Drive:
Preparations before starting with the recovery process:
Preparation 1: Install and Launch the Recoverit tool
To recover lost data from your unlocked USB Drive, you will be required to use the Recoverit data recovery tool. On your web browser, go to the Recoverit official website and click on the Download button for the Windows-compatible version. There will be two download options, one for Windows and another for Mac, make sure you download the correct one.
Preparation 2: Connect the USB Drive
Connect your unlocked USB Drive from which you want to recover data. Make sure it is detected by the system. If it goes undetected, check the lock switch. Once detected, confirm the drive letter, name, and size from "This PC" window.
Step 1. Selection of Drive
Initiate the recovery of lost data from your unlocked USB Drive by launching the Recoverit data recovery tool.
Once the tool is launched, the first window i.e. Drive Selection Window will contain all the storage drives that are either externally connected to your system or are internal drives.
Select your USB Drive listed under "External Devices" section, you can identify your USB Drive by its Size, Name or Letter. Click "Start" after selecting the Drive. This will initiate the scanning process.

Step 2. Customizing Scanning Process
You will be transferred to a new window after the scanning of your drive starts. On the scanning window, you will see the recoverable files getting listed one by one as the scanning proceeds. During the scanning you can:
- Pause and Resume the scanning process at any point in time. You can also recover the listed files directly.
- Refine the scanning process by choosing a specific File Type or File Path for scanning. You can access the feature on the left-hand panel of the window.
- Filter the scanned results by choosing various filters like Name, Date, Size, Type, etc. You can access the Filters on the right-hand panel of the window.

Step 3. Recovering the Files
Once all the recoverable files are listed on the window, you can complete the recovery of lost files from an unlocked USB Drive. To recover from the listed files, you need to select all the files you wish to recover. You can find the files by searching through the search panel, using filters, or by navigating through all the files.
Once you have selected all the files, simply click on the "Recover" button on the bottom of the window, and then choose a secure location on your PC to restore all the files.

After the completion of the above-mentioned recovery process, you will be able to access all the lost and recovered files of your unlocked USB Drive.
Conclusion:
The task of unlocking your Write Protected USB Drive is very easy if you know the correct method. But if you don't know the correct method to unlock your USB Drive, then you might end up losing your data. In such a case, you should attempt to recover the data lost from your Unlocked USB Drive.
People Also Ask
-
What does it mean when a USB drive is locked?
A locked USB drive can mean: Write protection. Encryption. Hardware lock. Corruption. -
Can a locked USB drive still be infected with viruses?
Yes, because:
Read-only locks don’t block viruses from being read/executed.
Encryption only protects data if the drive is unlocked.
Malware can exploit firmware or bypass software locks.
Always scan even if the drive seems locked or corrupted. -
How to unlock a USB drive that isn't showing up in File Explorer?
1. If the drive is "locked" because it’s hidden, right-click the Start button and select Disk Management.
2. If you see the drive there but it has no drive letter, right-click the partition and select "Change Drive Letter and Paths" to assign it a new letter (e.g., E: or F:). This usually makes the drive accessible again. -
Why does my USB drive show "Access Denied" even though I am the admin?
This is often a permissions issue. To fix it, go to File Explorer and right-click the USB drive. Go to Properties > Security, and click Edit. Ensure that "Authenticated Users" or your specific username has Full Control checked. If the permissions are greyed out, you may need to "Take Ownership" of the drive under the Advanced settings.
USB Topic
- Recover USB Drive
- Recover files from USB.
- Recover data from raw drive.
- Recover corrupted USB.
- Recover Sandisk USB data.
- Recover Kingston USB data.
- Adata flash drive recovery.
- Format USB Drive
- Fix/Repair USB Drive
- USB device not recognized.
- Fixed: USB not detected.
- Repair your flash drive.
- Fix USB no media error.
- Know USB Drive

Sue Wayne
staff Editor