Windows 10 - LoadLibrary failed with error 87 - on Remote Desktop Session

i'm running windows 10 pro (1909) on a domain-joined machine.

when i do a RDP session (mstsc.exe) into that machine and trying to launch a certain program i'm getting the error:

LoadLibrary failed with error 87

enter image description here

however, when i log on locally there is no such problem with launching that program!

any ideas?


Simply disabled my Intel HD Graphics device via device manager on the remote computer, and restarted the application (NOT the remote computer).
Not sure why this issue happens......


after some searching on the web it turned out to be a problem with the driver of my specific graphics card by AMD / ATI.

in my case it's an AMD FirePro W2100 (FireGL V).

i have followed the suggestions on the web to simply rename:

%WinDir%\System32\atig6pxx.dll

into:

%WinDir%\System32\atig6pxx.dll.bak

this made the error disappear!
i just hope that this approach does not cause any other problems... ?

--

the surprising part is the following:
this was a fresh / clean install of windows 10 pro (1909). with no custom vendor drivers whatsoever. in my case that graphics card came with a DELL Precision Tower 5810.
the graphics card driver is by microsoft (WHQL) - automatically installed by windows!
driver version 15.200.1045.0 - built in june 2015.

--

side note:
i was facing this problem (on RDP session) with one specific program, only.
it was P4V.exe (perforce windows client).
not sure why other programs would not show such symptoms ...

--

update:
recently i have installed an updated driver from the AMD web site (july 2021).
problem is gone :)