I am facing this .dll library missing error:

This programme can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing. Try to reinstall this.

When I try to open an Microsoft Office file.

How do I solve that?

share|improve this question
up vote 163 down vote accepted

Copied from SmartFTP knowledgebase (link):

The problem is that the KB2999226 (Universal CRT) which is part of the Visual C++ Redistributable for Visual Studio 2015 failed to install.

Solution

  1. Install Windows Updates:

    • Go to Start - Control Panel - Windows Update
    • Check for updates
    • Install all available updates.
    • After the updates are installed, restart your computer.
    • After the restart repeat the steps above again until no more updates are available.
  2. Download the Visual C++ Redistributable:

dont need to go for these kind of hard ways you might have installed a latest version of python and probably runnning an unupdated version of windows please update your system or uninstall the current python version and install python version 2 and its updates

  1. Run the vcredist_x64.exe (64-bit) or vcredist_x86.exe (32-bit) and select Uninstall
  2. Run the .exe again and select Install
share|improve this answer
12  
Thank you! I've installed vc_redist.x64.exe but didn't installed any Windows Updates. Still, it did the trick. – chonz0 Jan 12 '16 at 19:56
2  
I can verify this works. I ran into the same problem and downloaded the Visual C++ Redistributable on a 64-bit Windows 7 machine, ran it, and it solved my problem. No restart needed. – DucRP Mar 28 '16 at 10:27
    
@alireza, I'm getting this error when trying to start Apache. Is there any way to fix the api-ms-win-crt-runtime-l1-1-0.dll error without having to restart the server? – Pacerier Apr 11 '16 at 15:14
18  
-1 for failed attribution. this looks like a copy and paste job from here considering i can copy and paste this into SO's editor and get the exact same thing minus the links which only takes a couple of seconds to fix – Memor-X Aug 1 '16 at 7:10
    
I need this to run python, and uninstalling/installing those installers did nothing for me. Thinking I may need to reformat my pc at this point. When I did it earlier this year, I had trouble installing updates on a clean install, and Microsoft support had me enable some services to get it working. – Fiddle Freak Sep 28 '16 at 5:53

While the answer from alireza is correct, it has one gotcha:

You can't install Microsoft Visual C++ 2015 redist (runtime) unless you have Windows Update KB2999226 installed (at least on Windows 7 64-bit SP1).

share|improve this answer
    
Same with Windows 8.1 – KBart Nov 8 '16 at 9:11
3  
This is simply not true. I just propped up a Win 7 SP1 x64 machine. I confirmed KB2999266 has not been installed. I downloaded vc_redist.x64.exe from microsoft.com/en-us/download/details.aspx?id=48145 and installed it without issues. This also solves the problem the poster has by adding api-ms-win-crt-runtime-l1-1-0.dll (and many other crt files) to %windir%\system32. – Algonaut Feb 9 at 2:29
    
Typo: KB2999226. – Algonaut Feb 9 at 3:21
    
To add to @Algonaut's feedback.. The installer log for the 2015 redist shows Windows6.1-KB2999226-x64.msu" /quiet /norestart', meaning it carries and installs the KB2999226 update. – davenpcj Mar 22 at 0:35
1  
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. If you earn sufficient reputation you will be able to comment on any post. – Baum mit Augen Jun 11 at 11:58

Recursively update Windows 7 until it shows no more updates, using Windows Update check option in Windows 7.

Then download and install Visual C++ Redistributable vc_redist.x64.exe from the Windows website.

Then try to run Apache server.

share|improve this answer
1  
Not an Apache thread. – Motes Dec 5 '16 at 19:08
  1. Delete all temp files
    • search %TEMP%
    • delete all
  2. Perform clean boot.
  3. Install vc_redist.x64 (mine is 64 bit)
  4. Restart without clean boot
share|improve this answer
1  
Steps 1, 2 and 4 are completely unrelated to the topic at hand. – François Beaune Jan 23 at 20:27

In case nothing of the above worked, add one of these paths to your PATH environment variable:
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86

of course make sure they exist first and that they contain the dlls needed.
if they don't exist, try installing "Windows Universal CRT SDK" from the visual studio 2015 or 2017 installer

share|improve this answer

protected by Community Jun 12 '16 at 8:34

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.