The program does not run due to an error that the DLL file is missing.
If there is a “dll missing” symptom, the possible causes may be non-installation of required runtime or damaged app files. Check step 1 in order, starting with ‘Identifying the required runtime by the DLL name in the error window.’
First, check that this guide matches your problem
Do you have these symptoms?
- dll missing
- DLL missing
- VCRUNTIME error
- MSVCP error
Common causes
- Required runtime not installed
- App file corruption
- Invalid DLL file
How to fix
4 steps, 22 min–55 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
The name of the missing DLL usually tells you which runtime is missing. Installing random packages without checking the name wastes time and may not fix it.
- Write down the exact file name in the error window. The number at the end matters too.
- VCRUNTIME140.dll, VCRUNTIME140_1.dll, and MSVCP140.dll come with the Visual C++ 2015-2022 Redistributable; MSVCR120.dll and MSVCP120.dll with 2013; MSVCR110.dll with 2012; and MSVCR100.dll with the 2010 package.
- Names starting with d3dx or xinput, such as d3dx9_43.dll, xinput1_3.dll, or d3dcompiler_43.dll, are legacy DirectX components.
- If the DLL carries the program's own name, it is more likely one of the program's files than a runtime.
What to check
Go to the next step for Visual C++ files, step 3 for d3dx or xinput files, and step 4 for the program's own files.
Did this step fix it?
Even on 64-bit Windows, 32-bit programs look for the x86 runtime. Installing only x64 can leave the same error in place.
- Download it from the "Latest supported Visual C++ Redistributable downloads" page on Microsoft Learn.
- For the 2015-2022 package, install both
vc_redist.x64.exeandvc_redist.x86.exe. If you need a DLL from 2013 or earlier, also install that year's package from the same page. - If it says the package is already installed, go to Settings → Apps → Installed apps, choose Modify on the Microsoft Visual C++ 2015-2022 Redistributable entry, and run Repair.
- After installing or repairing, restart the PC and launch the program.
What to check
If the error disappears, it is solved. If it changes to a different DLL name, check again using step 1; if the same DLL is still reported missing, go to step 4.
Did this step fix it?
The DirectX 12 included in Windows 10 and 11 does not contain older helper files such as d3dx9 or xinput1_3, so older games need them installed separately.
- Download and run the DirectX End-User Runtime Web Installer (
dxwebsetup.exe) from the Microsoft Download Center. - If the installer offers to install any other program along with it, uncheck it.
- Steam games sometimes include matching DirectX and Visual C++ installers in a _CommonRedist folder inside the game folder, and you can run those first.
What to check
If the game launches, it is solved. If the error switches to another DLL, return to step 1 to check the name; if nothing changes, move on to checking the game files.
Did this step fix it?
If the program's own DLL is damaged or an antivirus quarantined it as a false positive, the same error appears even after installing the runtimes.
- In Windows Security → Virus & threat protection → Protection history, check whether that DLL or the program folder was quarantined. Restore it only if the program comes from a trusted source.
- In Steam, right-click the game in the Library → Properties → Installed Files → Verify integrity of game files. Other launchers have similar verify or repair features.
- For regular programs, uninstall and then reinstall with the latest setup file from the official site.
- Do not download individual DLLs from DLL-sharing sites and drop them into System32 or the program folder. They may be the wrong version or contain malware. If you placed such files there before, remove them and reinstall.
What to check
If it runs after the check or reinstall, it is solved. If the same DLL is still reported missing, ask the program's developer which runtime it needs, giving them the error text and DLL name.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.
Related error codes
If the code below appears on the screen, refer to the confirmation procedure for each error.
0x80070002Required file not found
The system could not find the requested file.
Running programs0xC000007BBad executable image format
The format of the executable file or library being loaded is incorrect.
Running programs0xC0000135Required DLL not found
A library required to run the program was not found.
Running programs0xC000012FBad Image Executable image error
The executable image the program is trying to load is invalid.
Running programsVCRUNTIME140.dllVisual C++ runtime file missing
A Visual C++ runtime component required by your app was not found.
Running programsVCRUNTIME140_1.dllmissing additional Visual C++ runtime
An additional v14 runtime component required by the app is missing.