AIM - System Error MSVCR120.dll is missing when creating credfiles for new install
180
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:59 PM
Symptom
When installing AIM agent, the vault update step fails with no errors. When you attempt to create credential files, one of the following errors appears:
System Error MSVCR120.dll is missing
CreateCredFile.exe - System Error
The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.
The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.
CreateCredFile.exe - System Error
The program can't start because MSVCP120.dll is missing from your computer. Try reinstalling the program to fix this problem.
The program can't start because MSVCP120.dll is missing from your computer. Try reinstalling the program to fix this problem.
Environment
10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0 AIM all versions
Cause
There are missing DLLs on the machine that are preventing createcredfile.exe from running
Resolution
With System file checker:
1. Run sfc /scannow from an elevated command prompt.
Run a Repair install: Visual C++ for Visual Studio:
1. Check Control Panel > Programs and Features, and take note of the Visual C++ version(s) installed
2. Download the latest Redistributable Package(s) for the installed versions from the following location:
2. Download the latest Redistributable Package(s) for the installed versions from the following location:
3. Run a repair install
4. Reboot
4. Reboot
Remove & Reinstall Visual C++ for Visual Studio:
1. Check Control Panel > Programs and Features, and take note of the Visual C++ version(s) installed.
2. Download the latest Redistributable Package(s) for the installed versions from the following location:
2. Download the latest Redistributable Package(s) for the installed versions from the following location:
3. Remove all the Visual C++ versions installed
4. Reboot
5. Install the Required Visual C++ packages
6. Reboot
4. Reboot
5. Install the Required Visual C++ packages
6. Reboot
Manual file replacement:
1. Check System32 directory for Dlls
2. Check SysWOW64 for Dlls -- For Windows this directory should be used
3. If we can confirm the Dlls are not in SysWOW64 directory, we will have to copy them over from a working machine. (Take care to match the file version they need)
2. Check SysWOW64 for Dlls -- For Windows this directory should be used
3. If we can confirm the Dlls are not in SysWOW64 directory, we will have to copy them over from a working machine. (Take care to match the file version they need)
After the DLLs have been copied over to SysWOW64 directory you should be able to install AIM agent without any issues
Note: If you do find Dlls in System32, do NOT copy them over to SysWOW64 as they are not the same as the Windows-on-Windows (WOW) version that is required.
Note 2: The solutions listed above usually fix this problem. However the root cause could also be: OS installation problems, storage corruption, or a .NET issue. If the above methods do not resolve the problem, it would be up to the customer to resolve at that point.
Note 3: Rarely, this can be caused by antivirus misidentifying the file and putting it into quarantine.
Additional Information
Details
SYMPTOM:
When installing AIM agent, the vault update step would fail with no errors. When you attempt to create credential files you are able to see error.
PROBLEM:
Missing DLL's, see error message below.
CreateCredFile.exe - System Error
The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.
CreateCredFile.exe - System Error
The program can't start because MSVCP120.dll is missing from your computer. Try reinstalling the program to fix this problem.
MSVCR120.dll & MSVCP120.dll
SOLUTION:
System File Checker:
Run /sfc scannow from an elevated command prompt.
Run a Repair install: Visual C++ for Visual Studio:
Check Control Panel > Programs and Features, and take note of the Visual C++ version(s) installed
Download the latest Redistributable Package(s) for the installed versions.
- https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Run Repair.Reboot.
Remove & Reinstall: Visual C++ for Visual Studio:
Check Control Panel > Programs and Features, and take note of the Visual C++ version(s) installed.
Download the latest Redistributable Package(s) for the installed versions.
- https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Remove all the Visual C++ versions installed
Reboot
Install the Required Visual C++ packages.
Reboot.
Manual file replacement:
1. Check System32 directory for Dlls
2. Check SysWOW64 for Dlls -- For Windows this directory should be used
3. If we can confirm the Dlls are not in SysWOW64 directory, we will have to copy them over from a working machine. (Take care to match the file version they need)
After Dlls have been copied over to SysWOW64 directory you should be able to install AIM agent without any issues
**Note - If you do find Dlls in System32, do NOT copy them over to SysWOW64 as they are not the same as the Windows-on-Windows (WOW) version that is required.
Also: The solutions listed above usually fix this problem. However the root cause could also be: OS installation problems, storage corruption, or a .NET issue. If the above methods do not resolve the problem, it would be up to the customer to resolve at that point.
Rarely: Antivirus misidentifying the file and putting it into quarantine.