The mfplat.dll error appears when Windows cannot locate a core file from the Microsoft Media Foundation platform. Apps like PLEX, DaVinci Resolve, and some games stop loading when this file is absent. The fix depends on why the file is missing.
Common error messages include:
- The program can’t start because mfplat.dll is missing from your computer.
- The code execution cannot proceed because MFPlat.DLL was not found.
- Failed to load library: MFPlat.DLL
The most common cause is running a Windows N or KN edition, which ships without the Media Feature Pack by default. The table below explains which editions are affected:
| Windows Edition | Media Pack Included? | Mfplat.dll Present? |
|---|---|---|
| Home / Pro / Enterprise | Yes | Yes |
| N Edition | No | No |
| KN Edition | No | No |
Fix 1: Install the Media Feature Pack via Optional Features
This resolves the error for most users on Windows N or KN editions. The Media Feature Pack adds mfplat.dll and all other missing Media Foundation files.
- Open Settings from the Start menu.
- Go to Apps > Optional features.
- Click View features (Windows 11) or Add a feature (Windows 10).
- Search for
Media Feature Packin the search box. - Select it, click Next, then click Install.
- Restart your computer once installation finishes.
After the reboot, mfplat.dll will appear in C:\Windows\System32 and C:\Windows\SysWOW64.
Fix 2: Enable Media Playback via Command Prompt
Even with the Media Feature Pack installed, the Media Playback feature can remain disabled. Run this command to enable it:
- Press Windows + R, type
cmd, then press Ctrl + Shift + Enter to open an elevated Command Prompt. - Run the following command:
# dism /online /enable-feature /featurename:MediaPlayback
- Close Command Prompt once it finishes.
- Restart your computer and test the application again.
dism /online /add-capability /capabilityname:Media.MediaFeaturePack~~~~0.0.1.0
Fix 3: Run System File Checker
A corrupted or overwritten mfplat.dll can cause this error even on standard Windows editions. The System File Checker (SFC) tool finds and replaces damaged system files.
- Open Command Prompt as administrator (see Fix 2, step 1).
- Run the scan:
# sfc /scannow
- Wait for the scan to reach 100%. This takes roughly 10–15 minutes.
- Restart your computer once complete.
Fix 4: Extract Mfplat.dll from Windows.old
If the error appeared after a Windows upgrade, your old system files are still available in the Windows.old folder. Copy the file from there as a fallback.
- Press Windows + E to open File Explorer.
- Navigate to your system drive, then open
Windows.old\Windows\SysWOW64. - Find
mfplat.dll, copy it. - Paste it into
C:\Windows\SysWOW64. - Restart your computer.
Windows.old folder only exists if you recently upgraded Windows. It is deleted automatically after 10 days or when you clean up disk space.
Fix 5: Perform a System Restore
If none of the above methods work, roll Windows back to a point before the error started.
- Press Windows + R, type
sysdm.cpl, and press Enter. - Go to the System Protection tab and click System Restore.
- Select a restore point dated before the error appeared, then click Next.
- Confirm the restore point and click Finish.
FAQs
The most common cause is running a Windows N or KN edition, which does not include the Media Feature Pack by default. File corruption or a failed Windows update can also remove mfplat.dll.
Install the Media Feature Pack through Settings > Apps > Optional features. This restores mfplat.dll without touching your Windows installation. Running sfc /scannow works for corruption cases.
Yes. Games that use in-engine video cutscenes or streaming features depend on the Media Foundation pipeline. Titles like Call of Duty fail to launch when mfplat.dll is absent.
No. Downloading DLL files from unofficial sources carries malware risk. Always restore mfplat.dll through the Media Feature Pack, SFC, or your Windows.old folder.
Major Windows version upgrades on N/KN editions can remove the Media Feature Pack. Reinstall it through Optional Features after each major update to keep mfplat.dll in place.