Do not manually copy or place MSVCP140.dll into C:\Windows\System32 or C:\Windows\SysWOW64. The correct and supported way to fix the “MSVCP140.dll not found” error for OBS is to install or repair the appropriate Microsoft Visual C++ Redistributable package so Windows registers and services the DLL correctly.
For MSVCP140.dll (part of the Visual C++ 2015–2022 runtime), use these steps:
- Install/repair the Visual C++ Redistributable
- Download and run the current supported Visual C++ 2015–2022 Redistributable installers (both x64 and x86) from Microsoft.
- Run each installer and choose Repair if already installed, or Install if not present.
- This correctly places the runtime DLLs (including MSVCP140.dll) into the proper system locations and registers them.
- Avoid copying DLLs by hand
- Copying DLLs directly into System32 or SysWOW64 can:
- Break side‑by‑side versioning (applications may expect a different build of MSVCP140.dll).
- Be overwritten or removed by Windows servicing or updates.
- Official guidance for missing VC++ runtime DLLs is to reinstall/repair the redistributable, not to copy individual DLLs.
- If the error persists after repair
- Uninstall all Visual C++ 2015–2022 Redistributable entries from Apps & Features.
- Reinstall the latest supported 2015–2022 x64 and x86 redistributables.
- Then reinstall OBS.
This approach ensures OBS and other applications that depend on MSVCP140.dll use the correct, supported runtime instead of an arbitrary copy.
References: