LoadLibrary Failed with Error 126 on Remote Desktop Connection

Issue:

Using Remote Desktop Connection(RDC) to connect to a remote machine give you LoadLibrary Error 126 (there can be other LoadLibrary Error codes for other AutoCAD vertical products, 126 is common for AutoCAD, 86 & 87 are common for Civil 3D, etc.)


Causes:
This is caused by the graphics engine on the local machine not being capable of handling the RDC connection to the machine with AutoCAD


Solution:
As we navigate new waters around here, I have run across this issue and want to inform you on the reason and provide a better answer than the Autodesk KB:https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/LoadLibrary-failed-with-error-126-when-starting-an-Autodesk-product.html

Here’s the actual issue, if a customer is trying to Remote Desktop Connection (RDC) from their home PC into their work PC, and an AutoCAD based product shows this, it may not be the ATI component. It’s how RDC works is it uses the host PC (user’s home PC) graphics engine to display what is on the remote PC. If they update the graphics drivers and still get that error, then they will need to investigate other options, since we cannot re-tune RDC or bypass it.

So, they will need to look at other screen sharing programs and cannot use RDC to accomplish their task. (like ConnectWise, LogMeIn Pro, Team Viewer, etc.) This generally only affects AutoCAD based programs.

You can investigate these options:
https://www.techradar.com/news/best-remote-desktop-software

About the Author

Ryan Wunderlich

Sr. Technical Support Specialist<br><br>An AutoCAD Certified Professional, Ryan is responsible for taking client cases and assisting with issues with the software - everything from regular glitches to software deployments and whatever else goes wrong. He's proficient in AutoCAD (including customization), VBA, LISP, and Civil 3D.

Follow on Linkedin More Content by Ryan Wunderlich
Previous Video
Top 3 User Fails for Autodesk Civil 3D
Top 3 User Fails for Autodesk Civil 3D

Keep yourself out of trouble by avoiding these top 3 user fails for Autodesk Civil 3D.

Next Article
Vehicle Tracking 2022 Tab is Missing from Civil 3D 2022 Ribbon
Vehicle Tracking 2022 Tab is Missing from Civil 3D 2022 Ribbon

What to do if the Vehicle Tracking tab is missing and does not show up in the CUI dialog under “Partial men...

Need tech support? Let us help!

Learn More