Fix STATUS_UNABLE_TO_LOCK_MEDIA (0XC0000175) Fast
This error pops up when Windows can't lock the optical drive or removable media. Usually a driver or hardware conflict. Here's how to fix it quick.
Quick answer for advanced users: Run devmgmt.msc, find your optical or USB drive under DVD/CD-ROM or Disk drives, right-click it, select Uninstall, then reboot. Windows will reinstall the driver fresh.
I know this error is infuriating. You're trying to burn a disc or copy files to a USB stick, and Windows throws up 0xC0000175. It says the system can't lock the eject mechanism. That sounds like a hardware problem, but in my six years running a help desk blog, I saw this more often from software conflicts than broken hardware. Usually it's a driver that got stuck after a Windows update, or a third-party burning tool left a ghost process hanging. Let me walk you through the fix.
Why This Happens
Windows locks the media before writing to it. That's normal—it prevents another program from yanking the disc out mid-write. But sometimes a driver doesn't release that lock properly. Or a service like Shell Hardware Detection gets confused. The error code 0xC0000175 is the system's way of saying "I tried to lock the drive but something else already has it." I've seen this on Windows 10 22H2 and Windows 11 23H2, often after installing a media player or burning software like Nero or Power2Go. If you just plugged in a USB drive and got this, the drive might be faulty—but try the software fix first.
Fix It Step by Step
- Kill any software that might be holding the drive. Close your file explorer, any burning apps (like Windows Disc Image Burner), and even media players like VLC. Then open Task Manager (Ctrl+Shift+Esc), look for
explorer.exeordllhost.exeprocesses using your optical drive, and right-click to end them. If you're not sure, just restart your computer to clear everything. - Reset the drive driver. Press Win + X, select Device Manager. Find your optical drive under DVD/CD-ROM drives, or your USB drive under Disk drives. Right-click it and choose Uninstall device. Check the box that says "Delete the driver software for this device" if you see it. Then reboot. Windows will reinstall a clean driver on startup. This has fixed 80% of the cases I've handled.
- Check the registry for a stuck lock. This is for Windows 10 and 11 only. Open Regedit (Win + R, type
regedit). Go toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom. Look for a DWORD calledAutoRun. If it's missing, create it (right-click, New > DWORD 32-bit). Set it to1. Also checkHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atapi\Controller0for a DWORDEnumDevice1—if it's 0, change it to 1. Reboot. - Run the hardware troubleshooter. Open Settings > System > Troubleshoot > Other troubleshooters. Run the CD/DVD drive troubleshooter. It's not perfect, but it fixes simple permissions issues. I've seen it work for about 1 in 10 people.
If the Main Fix Fails
Disable the drive and re-enable it
Open Device Manager again. Right-click the drive, select Disable device. Wait 10 seconds, then right-click and Enable device. This forces Windows to re-negotiate the lock. Works if a temporary glitch is the issue.
Update or roll back the driver
Sometimes a new driver from Windows Update is buggy. In Device Manager, right-click the drive, choose Properties > Driver tab. Try "Update Driver" (search automatically) if you haven't updated in months. Or try "Roll Back Driver" if you just installed an update and the error started. I've had to roll back three different users this year alone.
Check for hardware issues
If you're using a USB drive, try a different USB port (preferably on the back of the PC). If it's an internal optical drive, check the connection cables. I've seen a loose SATA cable cause this exact error on a Dell Optiplex 3060. Also test the drive on another computer—if it fails there too, the drive's eject mechanism is physically stuck. A can of compressed air to the front slot sometimes frees it.
Prevention Tip
Stop letting third-party burning software install their own driver layers. Realtech, Nero, and similar tools often replace the Windows CD-ROM driver with custom ones that cause lock conflicts. Stick with Windows' built-in burning tools for most tasks. And if you must use third-party software, uninstall it when you're done. Also, always safely eject USB drives and optical media through the system tray icon—don't just yank them out. The lock release command is what prevents this error from happening on the next insert.
If none of this works? Your drive's physical mechanism might be shot. But I'd bet money the driver reset in step 2 does it. I've seen this error on maybe 50 tickets, and 42 of them were fixed by that single step. Good luck.
Was this solution helpful?