How to Fix Load Library Error 126 on Windows 10
My experience with this error has been that i get it whenever I remote desktop into a PC that has an AMD graphics card. By default the Remote Desktop Session Host service tries to use the AMD card for RDP sessions but AMD sucks at writing drivers. Anyway, long story short, use Group Policy Editor to set the RDP Session host to disable hardware graphics adapter usage.
Below is some info I clipped from : https://social.technet.microsoft.com/Forums/en-US/e139ec92-90d0-4639-a3b5-5a5a4a5b6a79/hardware-support-gpu-on-rdp-connection-to-windows-10-professional?forum=winRDc
It is said that Windows 10 does not enable the GPU for rendering over RDP by default, but you can change this by editing the Group policy.
Steps are as below:
- Open the Edit Group Policy tool from Control Panel or use the Windows Search dialog (Windows Key + R, then type in gpedit.msc)
- Browse to: Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment
- Then enable “Use the hardware default graphics adapter for all Remote Desktop Services sessions”
- Update the Group policy
Please take your time to test above steps and let us know if it is workable.