How to fix ‘error 126 loadlibrary’ error in Windows 10

This is an uncommon error faced in PCs/laptops with ATI Video Drivers. The error is due to missing or corrupt ATI Video Drivers, specifically, the files concerning ATI’s handling of OpenGL. The simplest way to fix the issue is to update or rollback to an earlier version of ATI Video Drivers.

Common causes for loadlibrary error on Windows 10

  • Corrupt/Missing or Video Driver files
  • Corrupt/Missing Windows System Files.

How to fix the issue

Well there are few possible ways to fix the issue. It is up to you which one you choose.

  1. Update ATI Drivers

The first procedure involves updating ATI drivers for your graphics card. There are two ways to do so:

  • Automatic Process
  1. Go to ATI’s official site.
  2. Right under the title of the page is the “Automatically Detect and Install Your Driver”.
  3. Click on the “Download Now” button.
  4. Download the “exe” and run it.
    The auto-detect Utility will detect your GPU and download the latest version of your ATI Video Drivers.
  • Manual Process
  1. Go to ATI’s official site.
  2. Scroll down until you see “Manually Select Your Driver”.
  3. There will be a series of steps. In the drop-down menu in Step 1, select one of the following:
  • For Laptop with an ATI GPU: Select “Notebook Graphics”
  • For Desktop PC with an ATI GPU: Select “Desktop Graphics”
  • For Laptop with built-in ATI video: Select “Embedded Graphics”
  • For Desktop PC with built-in ATI video: Select “Chipsets”
  1. In Step 2, select your ATI GPU’s Series.
  2. In Step 3, select your ATI GPU’s name.
  3. In Step 4, select your OS version.
  4. Click “Show Results” to get
  1. Rollback ATI Drivers

It’s always handy to keep old Driver downloads in your PC. Sometimes new driver updates create more problems rather than fixing those you face. You can find a slightly older version of your drivers via Guru3D or FileHippo. Guru 3D includes customized drivers/unofficial drivers whilst FileHippo hosts official drivers.

  1. Manually replace the files
  1. Open Start Menu.
  2. Click on Programs, in Accessories, Right Click “Command Prompt” and select “Run as Administrator”
  3. Command Prompt should start with the System32 directory auto selected. If it doesn’t, then type “cd /d C:/Windows/System32” (without the quotes).
  4. Type, “copy atioglxx.dll .dll” OR “copy atio6axx.dll .dll”.
  5. Note: DLL differs between ATI GPU/Integrated Graphics