All guides
  • Windows 11
  • Windows 10

Fix a Missing DLL Error in Windows 11 Safely

Source-checked About 5 to 20 minutes3 official sources

Quick fix

Do not download single DLL files from websites. Note the DLL name, then repair or reinstall the app that shows the error from SettingsAppsInstalled apps. If the name starts with VCRUNTIME or MSVCP, install Microsoft's Visual C++ Redistributable (x64 and x86); for d3dx or xinput files, install the DirectX End-User Runtime. Only if Windows itself is damaged, run DISM and then sfc /scannow.

Note the DLL and the app

Write down the exact DLL name in the message and which app or game showed it. The name tells you which fix below applies.

Restart and update Windows

Restart the PC, then install updates in SettingsWindows Update and restart again if asked.

Repair or reinstall the app

Open SettingsAppsInstalled apps, select More (...) next to the app > Advanced optionsRepair, or Modify for desktop programs. If that does not help, uninstall it and reinstall it from its official source.

Windows 11 Installed apps with an app's More menu open showing Advanced options
Windows 11 Installed apps with an app's More menu open showing Advanced options

Install Visual C++ for VCRUNTIME or MSVCP

If the file name starts with VCRUNTIME, MSVCP or VCOMP, download Microsoft's latest Visual C++ Redistributable and install both the x64 and x86 versions. Many 64-bit PCs still run 32-bit games.

Install DirectX for d3dx or xinput

If the file is d3dx9_43.dll, xinput1_3.dll or another old DirectX file, install Microsoft's DirectX End-User Runtime. Windows 11 does not include these older files.

Run DISM and SFC for Windows files

If the DLL belongs to Windows or several apps fail, open Command Prompt as administrator and run DISM.exe /Online /Cleanup-image /Restorehealth, then sfc /scannow. Restart when both finish.

Check Windows Security

If the error started after a new download, open Windows SecurityVirus & threat protectionProtection history. A flagged file should stay removed; get a clean copy of the app from its publisher instead.

Video walkthrough

If it still does not work

  • If SFC finds no problems and only one app fails, the fix is in that app: reinstall it or install the runtime its publisher names.
  • If the error asks for a .NET Framework file, turn on .NET in Control PanelProgramsTurn Windows features on or off, or install the version the app's publisher lists.
  • If the same message returns after a clean reinstall, send the exact DLL name and app version to the app's support team.

Sources and verification

Checked against official documentation on . Scope: Windows 11, Windows 10. Menus can change after app and system updates. If a label looks different, follow the linked official page.