Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-drive-locked in Windows 11

ERROR_DRIVE_LOCKED = 108

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 20 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-drive-locked
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time20 min
Requires Admin Rights⚠️ Yes

Solution Steps

  1. 1 If the drive is a USB or SD card, check for a physical write-protect switch on the side. Slide it to the unlocked position. This is a common cause of the error, and it's a simple fix.
  2. 2 Press Windows key + S, type 'BitLocker', and select 'Manage BitLocker'. Look for the locked drive and click 'Unlock'. Enter the password or recovery key. If you don't have it, you may need to reset the drive, but that will erase data. This step is essential for encrypted drives.
  3. 3 Press Windows key + X and select 'Disk Management'. Right-click the locked drive and select 'Change Drive Letter and Paths'. Assign a new drive letter. Sometimes the drive letter conflict can cause the lock. This refreshes the drive's access.
  4. 4 Press Windows key + R, type 'diskpart' and press Enter. In the DiskPart window, type 'list volume' to see all volumes. Identify the locked volume number, then type 'select volume X' (replace X with the number). Then type 'attributes volume clear readonly' and press Enter. This removes the read-only attribute that might be locking the drive.
  5. 5 If the drive is in use by a program, close all programs that might be accessing it, such as backup software, media players, or antivirus scans. Then try accessing the drive again. You can also use Task Manager (Ctrl+Shift+Esc) to end processes that are using the drive.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free