Fix ERROR_WAS_UNLOCKED (0X000002CB) – Already Unlocked
This error means the locker or drive you're trying to unlock is already unlocked. Here's how to fix it.
Quick answer
Run manage-bde -unlock -recoverypassword <password> <drive>: from an admin command prompt, or unlock the drive via Disk Management.
What's happening here
ERROR_WAS_UNLOCKED (0X000002CB) shows up when you try to unlock something that's already open. Think of it like trying to unlock your front door when you left it wide open. Windows throws this error most often with BitLocker-encrypted drives, but it can also pop up with third-party encryption tools or even Windows' own Device Encryption. You'll see it if the drive got unlocked by the system at boot (maybe via auto-unlock or TPM) and then some other tool or user tries unlocking it again. I've seen this on Windows 10 and 11 systems, especially after a BIOS update that resets TPM settings. The OS treats it as a waste of time — and it is.
Step-by-step fix
- Check if the drive is actually unlocked. Open File Explorer. Look at the drive's icon. If you see a lock icon, it's locked. If no lock icon, it's already open. Also check in BitLocker Drive Encryption in Control Panel — it'll say "On" or "Off," not "Locked."
- If it's already unlocked, stop trying to unlock it. That sounds dumb, but the error usually comes from scripts or scheduled tasks that unlock a drive that's already open. Find the script or task and disable it. Check Task Scheduler for any unlock tasks.
- If the drive shows locked but you get 0X000002CB anyway, force a re-lock. Open Command Prompt as Administrator (Win+X, then select "Command Prompt (Admin)" or "Terminal (Admin)"). Type
manage-bde -lock <drive letter>:and press Enter. After a few seconds, you'll see "The volume is now locked." - Now unlock it properly. In the same command prompt, type
manage-bde -unlock -recoverypassword <your 48-digit recovery key> <drive>:. Replace<your 48-digit recovery key>with the actual key (all 48 digits, no spaces) and<drive>with the drive letter. You'll get a confirmation message. - Verify it works. Go back to File Explorer. The drive should now show without a lock icon. Try accessing it — no error, no problem.
Alternative fixes
If the main fix doesn't cut it, here's a couple more things to try.
Use Disk Management
Right-click the Start button, select "Disk Management." Find the drive. Right-click on its volume and select "Mark Partition as Active" if it's grayed out. That can reset the lock state. Then restart and try unlocking again.
Disable auto-unlock
If auto-unlock is causing the conflict, disable it. Open an admin command prompt and run manage-bde -autounlock -disable <drive>:. Reboot. Then unlock manually with your password or recovery key. After that, re-enable auto-unlock with manage-bde -autounlock -enable <drive>:.
Prevention tip
Stop multiple tools from trying to unlock the same drive. Only one unlocker — Windows auto-unlock or a third-party tool — should handle it. Check what runs at startup. Use msconfig to see startup programs. If you see two BitLocker-related entries, remove one. Also keep your 48-digit recovery key printed and stored safely. You'll need it if the TPM goes weird.
Was this solution helpful?