The solution to the loss of msvcp120.dll? Which method is more recommended

msvcp120.dll is a dynamic link library file of Windows operating system. It is part of the Microsoft Visual C++ Redistributable package. This file contains some functions and classes for compiling and running C++ programs. When a program needs to use these functions and classes, it looks for the msvcp120.dll file in the system. If this file is missing or damaged in the system, related programs may not work properly.

 

msvcp120.dll is usually located in the system directory:

1. For Windows 95/98/Me system, copy it to the System32 folder of the Windows installation directory.

2. For Windows NT/2000 system, copy it to the System32 folder of the Windows installation directory.

3. For Windows XP system, copy it to the System32 folder of the Windows installation directory.

4. Windows 7 or 8 32-bit system, copy the 32-bit version file to the System32 folder of the Windows installation directory.

5. Windows 7 or 8 64-bit system, copy the 64-bit version file to the System32 folder of the Windows installation directory, copy the 32-bit version file to the SysWOW64 folder of the Windows installation directory

To resolve this issue, try one of the following solutions:

Method 1: Reinstall related software

First, you can try to reinstall the program or software that caused the error. Try to reinstall the software program to see if it can be opened and run normally.

Method 2: Download the msvcp120.dll repair file

1. You can use Baidu and other search engines to download a msvcp120.dll repair file from the Internet or from the Microsoft official website or

Enter at the top of the computer browser: dll repair tool.site [Press the Enter key on the keyboard to open] Click the dll repair tool to download. (pro test can be repaired)

 

2. After downloading, it is usually a compressed file. You need to decompress the file first, and then click Repair [Repair Now] after installation. The repaired files are all in the system directory. If your computer is a 32-bit system, move the file to C:\Windows\System32, and if it is a 64-bit system, move the file to C:\Windows\SysWOW64.

 

3. After the repair is completed, run the software program again, and check whether it will prompt that msvcp120.dll is missing.

Method 3: Install the Visual C++ Redistributable package

Download and install the latest Microsoft Visual C++ Redistributable package to ensure the required runtime libraries are installed in the system.

 

Installing the Visual C++ Redistributable package can be done with the following steps:

  1. Open the official Microsoft website in your browser.

  2. Find the "Visual C++ Redistributable for Visual Studio" section on the webpage.

  3. Choose the version you need based on your OS and bitness (32 or 64 bit). If you're not sure about your OS bitness, you can type "system information" into the Windows search box and open the System Information app to find your OS bitness.

  4. Click the download link for the version of your choice to download the installer for the Visual C++ Redistributable package.

  5. After the download is complete, double-click the installer to run it.

  6. Follow the instructions of the installation wizard to install. Normally, you just need to click the "Next" button until the installation is complete.

  7. After the installation is complete, restart your computer for the changes to take effect. After installing the Visual C++ Redistributable package, the system will have the required runtime library to support the use of related C++ programs.

Note that if you have installed a newer version of the Visual C++ Redistributable package, you may not need to install the older version of the package again. It is recommended to select the correct version for installation according to the requirements of the program.

Method 4: Use the system file checking tool

Run the System File Checker tool (sfc /scannow) at the command prompt to scan and fix any errors in the system files, including the msvcp120.dll file.

 

Here's how to use the System File Checker tool:

  1. Open Command Prompt: In Windows, press the Win + R keys, type "cmd" and press Enter, or search for "Command Prompt" in the Start menu and open it.

  2. Run Command Prompt as Administrator: Find the "Command Prompt" application in the Start menu, right-click it, and select "Run as Administrator."

  3. Run the System File Checker: In the Command Prompt window, enter the following command and press Enter: sfc /scannow

  4. Wait for the scan to complete: System File Checker will start scanning your system files and automatically fix any errors it finds. This process may take some time, please be patient.

  5. Restart your computer when finished: Once System File Checker has finished scanning and repairing, it displays a summary of the scan results. If any errors are fixed, restart the computer for the changes to take effect.

Note that administrator privileges are required to run the System File Checker. Make sure to run Command Prompt as an administrator. Also, if your system files are badly damaged, you may need to use the Windows installation media to repair them.

The above are the four solutions for the loss of msvcp120.dll. You can compare and see which one is more recommended.

Guess you like

Origin blog.csdn.net/weixin_57940283/article/details/131648576