Mar 7, 2016

Work Life - FIX: System Error detoured.dll is missing

I had a user that called with a problem logging into her computer. Upon boot, she was greeted with a dialog box that said "Logonui.exe cannot load. The program cannot start because detoured.dll is missing from your computer..."

After some extensive research and multiple dead ends, I found a solution that worked. I'm not if the solution breaks anything in the process, but I suppose time will tell there.

NOTE: The following info relates to your system registry. Modifying your registry can lead to negative results and may even make your system unusable. Use the following information AT YOUR OWN RISK. If you do not feel comfortable with the following, the DO NOT do them. I am NOT responsible for any negative effects changes to your registry may have on your system. The following is for information only.

Basically, this is what I did:
  • Managed to get logged in by repeatedly clicking the OK button.
  • The error resurfaced with ANY program I tried to run.
  • I just kept clicking OK to get out of error and launch the program I wanted.
  • Open REGEDIT as Administrator
  • Navigate to the following key:
    • HKEY_LOCAL_MACHINE\Software\Microsoft NT\CurrentVersion\Windows\
  • On the right, I found the following entry:
    • AppInit_DLLs
  • I deleted the key (It had some kind of command in there I did not recognize, though it was NOT the detoured.dll, either. So... We'll see what adverse effects there are, if any, on the user's computer.
  • Instantly, the errors disappeared. I could run any program (including the ones I had run before) without the error.
  • Will scan the user's computer for malicious activity.

Note, the exact registry key info above came from:

1 comment:

  1. It was the same problem I had, and my colleague showed me the
    files are available for troubleshooting with api-ms-win-crt-runtime-l1-1-0.dll download

    Well, it turned out finding the required DLL file isn`t a problem, I could quickly fix the errors for my Windows.