Share via

MSVCP140_1.dll was not found. All suggested fixes via similar posts produce no results. See for details

Anonymous
2025-01-26T09:37:19+00:00

Hello after reinstalling Microsoft Visual C++ 2015-2022 x64 and x86 when trying to launch a videogame I get the error message: "The code execution cannot proceed because MSVCP140_1.dll was not found. Reinstalling the program may fix this problem."

I have tried uninstalling Microsoft Visual C++, restarting and installing, and repairing and restarting my computer with no success.

While running cmd (via right clicking shortcut and running AS AN ADMINISTRATOR) i've tried:

  1. sfc /scannow and got “Windows Resource Protection did not find any integrity violations“
    2.regsvr32 MSVCP140_1.dll and got this after excuting: "The module "MSVCP140_1.dll" was loaded but the entry-point DllRegisterServer was not found.
    Make sure that "MSVCP140_1.dll" is a valid DLL or OCX file and then try again."

I have checked under C:\Windows\System32 and I can see MSVCP140_1.dll does exist in that location.

EDIT:
I have also tried running DISM "CheckHealth", "Scan Health" and "Restorehealth" and will try to attach the log via link: DISM log to this question.

Windows for home | Windows 11 | Recovery and backup

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Ramesh Srinivasan 82,050 Reputation points Independent Advisor
2025-01-26T10:29:42+00:00

Copying that file to SysWOW64 doesn't work because the DLLs in System32 are 64-bit modules.

Please reinstall the x86 version of the latest VC++ runtimes.

https://aka.ms/vs/17/release/vc_redist.x86.exe

It should restore the missing file.

Was this answer helpful?

10 people found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-01-26T10:26:33+00:00

    Hello Ramesh!

    Thank you so much for the response and information. If it helps the gamelauncher that failed to launch due to the missing MSVCP140_1.dll file is the game launcher for Cyberpunk 2077 called "RedPrelauncher".

    I checked and no I do not have MSVCP140_1.dll in C:\Windows\SysWOW64 directory. Am I safe to copy paste MSVCP140_1.dll from **** C:\Windows\System32 **** into that folder?

    Or should I take a different step to resolve it entirely?

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-04-08T02:53:33+00:00

    Thank you. Is work for me.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Ramesh Srinivasan 82,050 Reputation points Independent Advisor
    2025-01-26T10:14:39+00:00

    Hi, This is Ramesh.

    Please see if the file MSVCP140_1.dll exists in the C:\Windows\SysWOW64 directory. The app you're running may be 32-bit, and in that case, it looks for the module in that folder.

    DISM and SFC won't restore the missing file because MSVCP140_1.dll doesn't come with Windows by default.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2025-01-26T10:40:13+00:00

    Great, the link you provided to reinstall the C++ x86 worked! I am able to launch my game now.

    Thanks so much for providing the information and link I needed to resolve the issue I caused.
    I hope you have a good day. :)

    Was this answer helpful?

    0 comments No comments