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.

  1. Open Settings from the Start menu.
  2. Go to Apps > Optional features.
  3. Click View features (Windows 11) or Add a feature (Windows 10).
  4. Search for Media Feature Pack in the search box.
  5. Select it, click Next, then click Install.
  6. Restart your computer once installation finishes.

After the reboot, mfplat.dll will appear in C:\Windows\System32 and C:\Windows\SysWOW64.

Note: On Windows 10 version 1909 and later, the Media Feature Pack is only available through Optional Features, not as a standalone download.

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:

  1. Press Windows + R, type cmd, then press Ctrl + Shift + Enter to open an elevated Command Prompt.
  2. Run the following command:
# dism /online /enable-feature /featurename:MediaPlayback
  1. Close Command Prompt once it finishes.
  2. Restart your computer and test the application again.
Tip: To install the Media Feature Pack via DISM instead, run: 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.

  1. Open Command Prompt as administrator (see Fix 2, step 1).
  2. Run the scan:
# sfc /scannow
  1. Wait for the scan to reach 100%. This takes roughly 10–15 minutes.
  2. Restart your computer once complete.
Warning: Do not close the Command Prompt window while the scan is running. Interrupting SFC mid-scan can corrupt additional system files.

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.

  1. Press Windows + E to open File Explorer.
  2. Navigate to your system drive, then open Windows.old\Windows\SysWOW64.
  3. Find mfplat.dll, copy it.
  4. Paste it into C:\Windows\SysWOW64.
  5. Restart your computer.
Note: The 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.

  1. Press Windows + R, type sysdm.cpl, and press Enter.
  2. Go to the System Protection tab and click System Restore.
  3. Select a restore point dated before the error appeared, then click Next.
  4. Confirm the restore point and click Finish.
Warning: System Restore removes programs installed after the chosen restore point. Back up any recent work before proceeding.

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.

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.