Fix Windows Media Devices DLL Errors: Step-by-Step
In this article
To fix Windows media devices DLL errors, start by running the built-in System File Checker (SFC) and DISM tools, which repair corrupted or missing system DLLs. If that does not resolve it, update or reinstall the affected media driver, and as a last resort, reinstall the media software that depends on the DLL. These errors typically appear as messages like “wmdev.dll is missing” or “media devices DLL not found” when you open a media player, connect a camera or headset, or start a video call. The steps below work on Windows 10 and Windows 11; menu labels can differ slightly by version and region.
What You'll Need
- Administrator rights on the PC (you will be prompted for permission).
- An internet connection for downloading updates and official installers.
- The name of the missing DLL from the error message (write it down).
- The original installation media or official download link for the affected media software.
- A backup of important files before making major changes (optional but recommended).
Step-by-Step
- Note the exact error and DLL name. When the error appears, read the full message. It usually names the DLL (for example, wmdev.dll or mfplat.dll) and the program that failed. This tells you whether the problem is system-wide or tied to one app.
- Restart your PC. A simple reboot clears temporary glitches and releases files that may be locked by another process. Try opening the media app again after restarting.
- Run the System File Checker. Open Start, type cmd, right-click Command Prompt, and choose Run as administrator. Type
sfc /scannowand press Enter. Wait for the scan to finish; it will report whether it found and repaired corrupted files. Restart when done. - Run DISM to repair the system image. In the same elevated Command Prompt, type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This repairs the component store that SFC relies on. It can take several minutes. Restart afterward. - Update Windows. Go to Settings > Windows Update and click Check for updates. Install all available updates, including optional ones, then restart. Many media DLLs are updated through cumulative updates.
- Update or reinstall the media device driver. Open Device Manager (right-click Start and choose it). Expand Sound, video and game controllers and Imaging devices. Right-click your device and choose Update driver > Search automatically for drivers. If that fails, right-click and choose Uninstall device, then restart; Windows will reinstall the driver automatically. If the device came with its own installer, download the latest version from the manufacturer’s official site and run it.
- Reinstall the affected media software. If the error only happens in one program, uninstall it via Settings > Apps > Installed apps, restart, then download the latest installer from the official source and reinstall. This replaces any DLLs that shipped with the app.
- Run a full malware scan. Use Windows Security: open Windows Security > Virus & threat protection > Scan options, select Full scan, and run it. Malware can delete or replace DLL files.
- Check for third-party codec packs. If you installed a codec pack, uninstall it temporarily to see if the error disappears. Codec packs can overwrite system DLLs. Reinstall only from the official vendor if needed.
- Use System Restore if the error is recent. Search for Create a restore point, open System Protection, and click System Restore. Choose a restore point from before the error started. This reverts system files and settings but does not delete personal files. It may remove apps installed after the restore point.
Common Mistakes
- Downloading DLLs from random websites. DLL files from third-party sites can be malicious or the wrong version. Always use official sources: Windows Update, the device manufacturer, or the software vendor.
- Skipping DISM after SFC. SFC often cannot repair files if the component store is damaged; DISM fixes the store first.
- Uninstalling a device without restarting. Windows may not reinstall the driver until you restart, leaving the device missing.
- Ignoring the exact DLL name. The name tells you whether the file belongs to Windows or to a specific app. Fixing the wrong layer wastes time.
- Running system tools without administrator rights. SFC and DISM will fail or report false errors if not elevated.
Tips
- Run SFC and DISM in that order; DISM repairs the source that SFC uses.
- Keep a note of the error code and DLL name before you start, so you can search official support pages if needed.
- After reinstalling a driver, test the device in the built-in Camera app or Sound settings to confirm it works.
- If you use a laptop with a built-in camera, check the manufacturer’s support site for a camera driver specific to your model.
- Create a restore point before major changes so you can roll back if something breaks.
Troubleshooting
If the error persists after the steps above, try these checks in order:
- Check Windows Update history for failed updates. A failed update can leave DLLs mismatched. Go to Settings > Windows Update > Update history and retry any failed updates.
- Test with a new user account. Create a local administrator account and sign in. If the error disappears, your original profile may be corrupted. Move your files to the new account.
- Run the Hardware and Devices troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and run the relevant troubleshooter. Labels vary by Windows version.
- Perform an in-place upgrade repair. Download the official Windows installation media from Microsoft, run setup.exe, and choose Keep personal files and apps. This reinstalls Windows system files without deleting your data. Back up important files first.
- Check for disk errors. Open an elevated Command Prompt and run
chkdsk /f. It will schedule a scan on the next restart. This can fix file system corruption that damages DLLs.
Frequently Asked Questions
Can I just download the missing DLL and place it in the System32 folder?
It is not recommended. DLLs from unofficial sites can be malicious or the wrong version, and copying them manually can break other programs. Use SFC, DISM, Windows Update, or reinstall the software instead.
Will System Restore delete my personal files?
No. System Restore reverts system files, drivers, and installed programs to an earlier point, but your documents, photos, and other personal files are not affected. Apps installed after the restore point will be removed.
Why do I get a media devices DLL error only in one app?
That app likely installed its own copy of the DLL, which is missing or corrupted. Reinstalling that app from the official source usually fixes it.
Does updating Windows always fix DLL errors?
Not always, but it is a safe first step because many DLLs are updated through cumulative updates. If the error remains, run SFC and DISM.
Is it safe to uninstall a codec pack?
Yes, if you suspect it caused the error. Uninstall it via Settings > Apps, restart, and test. You can reinstall it later from the official vendor if needed.
What if the error appears during a video call?
Close the calling app, run SFC and DISM, then update your camera and audio drivers. If the error persists, reinstall the calling app from its official site.