Share via

LoadLibrary failed with error 126 + Windows won't let me update graphic card drivers

Anonymous
2023-08-23T16:46:30+00:00

Hello,

I desperately need help since I asked this question and reported the problem on both AMD and Acer forum but no one was willing to reply thus here's my very last hope. I keep getting the graphic card error mentioned in the title since I use a second display.

![](https://learn-attachment.microsoft.com/api/attachments/b5d9eb9f-ed43-46f8-9bc5-a0ee17df7c98?platform=QnA"https://learn-attachment.microsoft.com/api/attachments/5782dc26-4f60-43cf-9036-e95e0cf84b85?platform=QnA" title="filestore.community.support.microsoft.com" rel="ugc nofollow">![](https://learn-attachment.microsoft.com/api/attachments/5782dc26-4f60-43cf-9036-e95e0cf84b85?platform=QnA

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Ramesh 176.1K Reputation points Volunteer Moderator
    2023-08-24T06:20:30+00:00

    Looks like it's an AMD Radeon issue that happens only when an external monitor is attached. And the VC++ redist error has nothing to do with the 1st error (i.e., error 126.)

    Here are some references.

    From Error 126 Loadlibrary - AMD Community

    <quote>

    From my experience I get the problem after restarting after some "bigger" Windows update has been installed. Can't be 100% sure that is the cause, but it is my best bet.

    I have fixed it by

    • booting computer in safe mode
    • uninstalling AMD drivers
    • restart in "normal" mode
    • install AMD drivers

    The easiest way to get this done is for me to run the "AMD Cleanup Utility" (https://www.amd.com/ko/support/kb/faq/gpu-601) from "normal mode" desktop as it asks to reboot in safe mode and do that for you + run the cleanup utility when logged in when in "safe mode". After restarting normally just install AMD drivers again. I usually install the latest I find for my hardware athttps://www.amd.com/en/support

    </quote>

    TIL/FYI: Do not panic if AMD Radeon Software give LoadLibrary failed with error 126 when external monitor is connected on Zephyrus G15(3070)to the 3070 vis USB-C. Radeon software won't work with display connected to Nvidia GPU, unplug/disable the display and Radeon software is working again!See cmnt : ASUS: https://www.reddit.com/r/ASUS/comments/lt7fr6/tilfyi_do_not_panic_if_amd_radeon_software_give/

    Windows 10 keeps updating AMD drivers, resulting in a "LoadLibrary failed with error 126" error : ZephyrusG15: https://www.reddit.com/r/ZephyrusG15/comments/n6mv6l/windows_10_keeps_updating_amd_drivers_resulting/

    "LoadLibrary failed with error 126" whenever connected to a dock : civ: https://www.reddit.com/r/civ/comments/llnmlm/loadlibrary_failed_with_error_126_whenever/

    Please see if reinstalling the AMD driver helps. Some users say this issue resurfaces when Windows Update overwrites the AMD Radeon driver. To prevent that, please try "Method 3" (“Prevent installation of devices that match these device IDs” GPO) in this article.

    See also:

    2 people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Ramesh 176.1K Reputation points Volunteer Moderator
    2023-08-23T17:03:02+00:00

    Installing the VC++ runtime redist resolves the issue.

    Please download and install both the x86 and x64 versions of the Visual C++ redistributable package:

    2 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Ramesh 176.1K Reputation points Volunteer Moderator
    2023-08-24T13:01:22+00:00

    Hi there,

    Glad it worked, and I hope the setting sticks. If it doesn't, please use the method mentioned in the last three links I posted, which will prevent WU from overwriting the drivers.

    0 comments No comments
  2. Anonymous
    2023-08-24T08:39:52+00:00

    Actually, now that I checked, after installing both VC++ versions I was finally able to install AMD Software Adrenalin edition and now the problem is solved. It really must've been caused by Windows overwriting the drivers, I disabled the option in system properties and it works right now after my month long struggle. Thank you so much, I am really grateful for your help.

    0 comments No comments
  3. Anonymous
    2023-08-24T06:03:57+00:00

    Installed both, the error keeps popping up even after few restarts. Is there any other way?

    0 comments No comments