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: