msvcr120.dll is an essential file for the Windows operating system. It is used to extract various resources for third-party applications. It is linked to the C++ programming language. Missing the file means that the programs which are running in this language won’t launch successfully as they won’t find the required file.
There are various fixes for this problem. We can try reinstalling the C++ redistributable packages. Start with the first solution and work your way down. After performing each solution, you should try running the application. If it still doesn’t work, try reinstalling it. Do note that these solutions work for almost all versions of Windows.
To reinstall a program, follow the following steps:
- Press Windows + R and type “appwiz.cpl” and press Enter.
- A new window will come forth consisting of all the applications currently installed on your computer. Right-click on the application and select “uninstall”.
- Restart your computer before reinstalling it again.
Solution 1: Running System File Checker
System File Checker (SFC) is a utility present in Microsoft Windows which allows the users to scan their computers for corrupt files in their operating system. This tool has been there in Microsoft Windows since Windows 98. It is a very useful tool for diagnosing the problem and checking if any problem is due to corrupt files in windows.
We can try running SFC and see if our problem gets solved. You will get one of the three responses when running SFC.
- Windows didn’t find any integrity violations
- Windows Resource Protection found corrupt files and repaired them
- Windows Resource Protection found corrupt files but was unable to fix some (or all) of them
- Press Windows + R to launch the Run application. Type “taskmgr” in the dialogue box and hit Enter to launch your computer’s task manager.
- Now click on File option present at the top left side of the window and select “Run new task” from the list of options available.
- Now type “powershell” in the dialogue box and check the option underneath which states “Create this task with administrative privileges”.
- Once in the Windows Powershell, type “sfc /scannow” and hit Enter. This process may take some time as your entire Windows files are being scanned by the computer and being checked for corrupt phases.
- If you encounter an error where Windows states that it found some error but was unable to fix them, you should type “sfc /verifyonly”. Wait for the process to complete fully.
- If you are still unable to repair the corrupt files, run the command “DISM /Online /Cleanup-Image /RestoreHealth” in the PowerShell. This will download the corrupt files from the Windows update servers and replace the corrupt ones. Do note that this process can also consume some time according to your internet connection. Don’t cancel at any stage and let it run.
If an error was detected and was fixed using the above methods, restart your computer, reinstall the application and check if it is launching correctly.
Solution 2: Downloading MySQL Installer Community
If you are experiencing problems when running various MySQL applications such as MySQL Workbench etc. it is recommended that you install MySQL Installer Community on your PC. This tool will detect that your system lacks some Visual Studio components and will probably launch a Visual Studio minimal components installer and fill in the gaps. Always make sure that you are downloading the application from the official MySQL website.
Solution 3: Reinstalling the Visual C++ Redistributable Packages
The msvcr120.dll is an essential file for the Windows Operating System. If msvcr120.dll is missing, you won’t be able to launch games as explained in the introduction. In order to replace the missing file, we can download the whole redistributable package and install it. Do note that you should always avoid downloading .dll files from the internet from non-official websites. They may be infected with malware and virus and can infect your computer easily.
- Head over to the official Microsoft downloading
- Click the Download button after selecting the language.
- Select “vredist_x64.exe” and press Next. Soon after the download will commence. Save the file in an accessible location and run the exe file.
- After the installation is complete, restart your computer and check if the problem is solved.
Note: If you are using 64 bit Windows, you can install both (vredist_x64.exe and vredist_x86.exe). However, if you have 32 bit, you should only install “vredist_x86.exe”.
Solution 4: Scanning for Virus
.dll files are one of the most popular hosts for viruses and malware to enter your computer. If you suspect that your computer is infected, you should scan your computer as fast as possible to remove malware/virus. You should use the antivirus you are currently using. If you don’t have one, you can use Windows Defender.
- Press Windows + S to launch the start menu’s search bar. Type “Windows Defender” and open the first result which comes forward.
- At the right side of the screen, you will see a scan option. Select the full scan and click on Scan This process might take some time as Windows scans all of your computer’s files one by one. Be patient and let the process complete accordingly.
- If there was malware present on your computer, let the utility remove and restart your computer before launching the application again.
Note: You can also run the Microsoft safety scanner since it has the latest virus definitions and check if it finds any discrepancies.