0X00000454

ERROR_UNABLE_TO_LOCK_MEDIA (0x00000454): Real Fixes That Work

Windows can't lock the media eject mechanism, so your drive won't read or eject. Here's what actually fixes it, from a consultant who's seen it a hundred times.

You're trying to read a disc, rip a CD, or eject a USB stick and Windows throws ERROR_UNABLE_TO_LOCK_MEDIA (0x00000454) in your face. The drive just sits there, or worse, it spits the tray open the second you close it. I've seen this exact error kill a dental office's backup routine because their nightly disc image job couldn't grab the DVD drive. Annoying doesn't cover it.

Here's what the error actually means: Windows asked the drive to physically lock the media (so it can't be ejected mid-read) and the drive said no. That's it. It's a hardware handshake failure, not a corrupted file or a missing DLL. The fix depends on why the drive refused.

Cause #1: Another process is holding the drive open (most common)

This is the one I see 8 times out of 10. Some background app — backup software, a media player, an antivirus scanner, even Windows Search indexing — has the drive open and Windows can't get the exclusive lock it needs. The drive isn't broken. Something's just sitting on it.

Real trigger: last month a client's Veeam agent and Windows Defender were both trying to scan the same DVD-RW at the same time. Every rip failed with 0x00000454.

How to check and fix it

  1. Open Task Manager (Ctrl + Shift + Esc) and look for anything media-related: VLC, iTunes, HandBrake, Windows Media Player, backup agents.
  2. Kill them. Not just close the window — actually end the process.
  3. Try the drive again.

If you want a real answer instead of guessing, use Sysinternals Handle to see exactly who's holding the file:

handle.exe D:\

Replace D:\ with your drive letter. It'll print every process with an open handle. Then you know precisely what to kill.

For a permanent fix, exclude the optical drive from Windows Defender real-time scanning. It's not a threat vector for a DVD you burned at home:

Windows Security → Virus & threat protection → Manage settings → Exclusions → Add → Folder → D:\

Cause #2: The drive's firmware or lock mechanism is stuck

Slimline laptop optical drives and cheap external USB DVD writers are notorious for this. The little motor that drives the eject lock pin can get physically stuck or the firmware can wedge. I've had two clients with identical $25 Amazon USB DVD drives die the same way within a month of each other — same error, same firmware bug.

You'll know this is your cause if the error appears even with zero other processes running, and a reboot doesn't clear it.

Fixes to try, in order

  1. Power cycle the drive. For USB externals: unplug it, wait 30 seconds, plug it back in. For internal SATA drives: shut down fully (not Sleep — actually shut down), wait a minute, boot.
  2. Eject manually with a paperclip if there's a physical disc stuck inside. Locate the tiny hole on the front bezel, push a straightened paperclip in until the tray pops. This resets the mechanism.
  3. Update the drive firmware. Check the manufacturer's site. For example, LG, ASUS, and Pioneer all post firmware updates for their external writers. It's a 5-minute flash that's fixed this exact error for me at least a dozen times.
  4. Try a different USB port or cable. USB 3.0 hubs are a frequent culprit. Plug the drive directly into a rear-panel USB port on a desktop, no hub. I've seen $8 hubs cause lock timeouts because they don't pass the right SCSI command through.

Cause #3: Driver conflict or corrupted upper/lower filter drivers

Windows uses filter drivers stacked on top of the optical drive's class driver. Third-party burning suites (old Nero, Roxio, Daemon Tools, Alcohol 120%) install their own filters. When they conflict or one gets corrupted after a Windows update, the lock command gets mangled on the way to the hardware. Result: 0x00000454.

Real trigger: Windows 10 22H2's cumulative updates broke Daemon Tools Lite's filter driver on a bunch of machines in early 2023. Same error, same drive, every time until the filter got removed.

Reset the filter drivers

Back up the registry first. Then open Regedit as admin and look under:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e965-e325-11ce-bfc1-08002be10318}

That GUID is the CD/DVD class key. On the right pane, delete any values named UpperFilters and LowerFilters. Don't delete anything else in that key.

Reboot. Windows will rebuild clean filters. If you had Daemon Tools or an old burning app installed, uninstall it first or it'll just put the filters back.

You can also do this from the command line for the same effect:

reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e965-e325-11ce-bfc1-08002be10318}" /v UpperFilters /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e965-e325-11ce-bfc1-08002be10318}" /v LowerFilters /f

Then reboot. This one fix has resolved more stubborn cases for me than any other single step.

Bonus: quick sanity checks

  • Wrong media type. Trying to lock a CD-R in a drive that only reads DVDs. Yes, it happens.
  • Failing drive. If the drive can't lock any disc and it's 8+ years old, replace it. Optical drives are $20. Don't spend three hours on a dying laser assembly.
  • Virtual drives. If you mounted an ISO with Windows' built-in Mount feature, unmount it before touching the physical drive. Conflicting drive letters cause weird lock errors.
Skip the "clean your registry" tools. Skip driver booster utilities. Neither fixes 0x00000454. The problem is almost always a process holding the drive, a stuck mechanism, or a bad filter driver — in that order.

Quick reference

CauseSymptomFixTime
Process holds drive openError only when certain apps runKill process, add Defender exclusion2 min
Stuck mechanism / firmware bugError even on clean bootPower cycle, paperclip eject, update firmware10-30 min
Filter driver conflictStarted after Windows update or app installDelete UpperFilters / LowerFilters in registry, reboot5 min
Bad USB hub or cableIntermittent on externalsPlug directly into rear USB port1 min
Dying driveFails on all media, all scenariosReplace drive$20

Work top to bottom. Ninety percent of the time you're done after the first two rows.

Related Errors in Windows Errors
0X80010140 Fix CO_E_CANCEL_DISABLED (0x80010140) on Windows 0X8001013F CO_E_ACNOTINITIALIZED 0x8001013F: Real Fix for COM IAccessControl 0XC0000239 Fix STATUS_ADDRESS_NOT_ASSOCIATED 0XC0000239 in Windows 0X00000267 ERROR_PWD_TOO_SHORT (0X00000267): Fix Password Policy Errors

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.