Skip to Content

Solved: How do I fix Loadlibrary failed with error 1114, 998, 126, and 87 on Windows

Problem Symptom

Windows user reported Loadlibrary failed with error 1114, 998, 126, and 87 when launching or installing an application or game especially those graphics-driven application or Windows laptops with AMD or NVIDIA graphics card. Loadlibrary failed with error happen to many applications, games, and utilities including Adobe Suite, NetBeans, Logitech Gaming Keyboard and Headset, Minecraft, BluetStacks, Steam or Steam Games, Virtual Box, Civilization, Microsoft Remote Desktop, and MATLAB.

The detailed error message is as below:

Loadlibrary failed with error 87: The parameter is incorrect.

How to fix Loadlibrary failed with error 87: The parameter is incorrect.

Loadlibrary failed with error 87: Wrong Parameter

How to fix Loadlibrary failed with error 87: Wrong Parameter

Loadlibrary failed with error 87: 参数错误。

How to fix Loadlibrary failed with error 87: 参数错误。

Loadlibrary failed with error 126: The specified module could not be found.

How to fix Loadlibrary failed with error 126: The specified module could not be found.

Loadlibrary failed with error 126: 找不到指定的模块。

How to fix Loadlibrary failed with error 126: 找不到指定的模块。

Loadlibrary failed with error 998: Invalid access to memory location.

How to fix Loadlibrary failed with error 998: Invalid access to memory location.

Loadlibrary failed with error 1114: A dynamic link library (DLL) initialization routine failed.

How to fix Loadlibrary failed with error 1114: A dynamic link library (DLL) initialization routine failed.

Loadlibrary failed with error 1114: 动态链接程式库(DLL)初始化例行程序失败。

How to fix Loadlibrary failed with error 1114: 动态链接程式库(DLL)初始化例行程序失败。

Loadlibrary failed with error 1114: 动态链接程式库(DLL)初始化例程失败。

How to fix Loadlibrary failed with error 1114: 动态链接程式库(DLL)初始化例程失败。

Follow the below solution steps to resolve Loadlibrary failed error 1114, 126, and 87 issue.

Content Summary

Potential Causes
Solution 1: Check Run this program as an administrator
Solution 2: Enable Virtual Super Resolution (VSR) in ADM display settings
Solution 3: Copy atio6axx.dll DLL to system32 folder
Solution 4: Check internal monitor as main display and disconnect any external display
Solution 5: Execute SFC scannow and DISM
Solution 6: Perform clean boot
Solution 7: End Intel-related processes
Solution 8: Uninstall AMD Software
Solution 9: Disable built-in graphics driver
Solution 10: Disable Use WDDM graphics display driver for Remote Desktop Connections policy
Solution 11: Enable Use hardware graphics adapters for all Remote Desktop Services policy
Solution 12: Enable Prioritize H.265/AVC444 graphics mode for Remote Desktop Connections policy
Solution 13: Enable Configure H.264/AVC hardware encoding for Remote Desktop Connections policy
Solution 14: Uninstall Java 64-bit version
Solution 15: Update graphics driver with Device Manager
Solution 16: Update graphics driver with OEM driver installer
Solution 17: Reinstall graphics driver
Solution 18: Set Switchable Dynamic Graphics to maximum performance
Solution 19: Use High-performance NVIDIA processor
Solution 20: Use High-performance in Switchable Graphics Application Settings
Solution 21: Perform Windows in-place upgrade

Potential Causes

  • The programs do not have the sufficient administrator privileges to access a protected system resource such as protected system files or directories.
  • Corrupted, outdated or incompatible graphics driver.
  • Switching between graphics system with one built-in graphics card and the other dedicated (Dual graphics cards).
  • Corrupted or missing system files.
  • Forced power savings settings in Power Options on Windows.

Solution 1: Check Run this program as an administrator

When the problematic application does not have the sufficient privileges to access the protected system resource, you will encounter the Loadlibrary failed with error. Launch the problematic application program as an administrator may fix the problem.

Step 1: Right-click on the shortcut icon of the problematic program or in the search results of Start menu.

Step 2: Select the Run as administrator option from the context menu. Check if the program launches without Loadlibrary failed with error.

Right-click on the shortcut icon of the problematic program or in the search results of Start menu. Select the Run as administrator option from the context menu. Check if the program launches without Loadlibrary failed with error.

Step 3: Close the program.

Step 4: Right-click again on the shortcut icon of the problematic program or in the search results of Start menu.

Step 5: Select the Properties option from the context menu. If you are using the Start menu search, select the Open file location option from the context menu, and select the Properties option.

If you are using the Start menu search, select the Open file location option from the context menu, and select the Properties option.

If you are using the Start menu search, select the Open file location option from the context menu, and select the Properties option.

Step 6: Switch to the Compatibility tab.

Step 7: Check the Run this program as an administrator option.

Step 8: Click on the Apply button then OK button.

Switch to the Compatibility tab. Check the Run this program as an administrator option. Click on the Apply button then OK button.

Step 9: Launch the program through the shortcut. Check if the program launches without Loadlibrary failed with error.

Solution 2: Enable Virtual Super Resolution (VSR) in ADM display settings

Virtual Super Resolution (VSR) is an AMD feature which let the application or game render at higher resolutions beyond the native display resolution. If the display resolution in use is not compatible with the game like Civilization VI, then it may cause the loadlibrary failed with error. Enabling the VSR in the AMD Settings to fix the loadlibrary failed with error.

Step 1: Open the AMD Software.

Step 2: Click on Settings gear icon located near the top right corner.

Step 3: Switch to the Display tab.

Step 4: Enable the Virtual Super Resolution setting under the Display Options section.

Enable the Virtual Super Resolution setting under the Display Options section.

Step 5: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 3: Copy atio6axx.dll DLL to system32 folder

If the essential dynamic link library (DLL) file is missing from the system32 folder, you may encounter the Loadlibrary failed with error.

Step 1: Right-click on the Windows Quick Access menu and open the Run command box.

Step 2: Navigate to the following path:

C:\Windows\System32\DriverStore\FileRepository\u0352938.inf_amd64_e098709f94aef08d\B352876

Step 3: Copy the atio6axx.dll file.

Step 4: Paste it into the following path:

C:\windows\system32

Step 5: Click on the Windows Search, type cmd in the search field, right-click on the Command Prompt, and select the Run as administrator option to open Command Prompt as administrator.

Click on the Windows Search, type cmd in the search field, right-click on the Command Prompt, and select the Run as administrator option to open Command Prompt as administrator.

Step 6: Execute the following command, make sure the spacing is right before .dll:

C:\Windows\System32\ copy atio6axx.dll .dll

Execute the following command, make sure the spacing is right before .dll:  C:\Windows\System32\ copy atio6axx.dll .dll

Step 7: Restart the Windows.

Step 8: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 4: Check internal monitor as main display and disconnect any external display

You may encounter the Loadlibrary failed with error if the main monitor is not the internal display or the external display is not connected to a dedicated graphics card port due to incompatible resource hogging by the cards in a multi-display environment.

Step 1: Right-click on the Windows icon and click on the Settings.

Right-click on the Windows icon and click on the Settings.

Step 2: Click on the Display option in the System tab.

Click on the Display option in the System tab.

Step 3: Expand the Multiple displays section.

Step 4: Select the Internal Display and check the Make this my main display option.

Expand the Multiple displays section. Select the Internal Display and check the Make this my main display option.

Step 5: Optionally, try to connect the external display to another port or disconnect the external monitor from the system and restart the system.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 5: Execute SFC scannow and DISM

The Loadlibrary failed with error may happen if the essential system files are corrupted. Performing an SFC scannow and DISM may fix the issue.

Step 1: Press Windows + X and choose Command Prompt (Admin) from the menu to start Command Prompt as administrator.

Press Windows + X and choose Command Prompt (Admin) from the menu to start Command Prompt as administrator.

Step 2: Enter the following command and press the Enter key:

sfc /scannow

Wait for the process to finish.

Enter sfc /scannow and press Enter.

Step 3: Enter the following command and press the Enter key:

dism/online/cleanup-image/restorehealth

Wait for the process to finish.

Enter dism/online/cleanup-image/restorehealth and press Enter.

Step 4Restart your Windows.

Step 5: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 6: Perform clean boot

Step 1: Press the Windows + R key to open a Run box.

Step 2: Type msconfig and click the OK button to open the System Configuration window.

Step 3: In the General tab, click on the radio button beside Selective startup. Uncheck the Load startup items checkbox.

In the General tab, click on the radio button beside Selective startup. Uncheck the Load startup items checkbox.

Step 4: Go to the Services Tab, then check on Hide All Microsoft services and click on Disable all button.

Go to the Services Tab, then check on Hide All Microsoft services and click on Disable all button.

Step 5: Click the Apply button, and then click on the OK button. Choose Restart Later option.

Step 6: Press the Windows + R key to open a Run box.

Step 7: Type msconfig and click the OK button to open the System Configuration window.

Step 8: Choose Startup and select Open Task Manager.

Step 9: look at the last field called Startup Impact and disable all the ones with High Impact by right-clicking on it and choose Disable.

Step 10Restart your Windows and it will startup in the clean boot mode.

Step 11: If the same error not showing again, then try to find out the problematic application by adding one application or driver at a time to clean boot selection and check.

Solution 7: End Intel-related processes

Step 1: Open the Start Menu and search for Task Manager. Or you can press Ctrl + Shift + Esc key together to open the Task Manager.

Open the Start Menu and search for Task Manager. Or you can press Ctrl + Shift + Esc key together to open the Task Manager.

Open the Start Menu and search for Task Manager. Or you can press Ctrl + Shift + Esc key together to open the Task Manager.

Step 2: Click on the Processes tab.

Step 3: End all the processes related to Intel, non-essential processes or processes related to the problematic program.

Click on the Processes tab. End all the processes related to Intel, non-essential processes or processes related to the problematic program.

Step 4: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 8: Uninstall AMD Software

Some users reported that the AMD Software caused the Loadlibrary failed with error.

Step 1: Right-click on the Windows icon and open the Apps & Features.

Step 2: Locate the AMD Software, click on three vertical ellipses at the end.

Step 3: Select the Uninstall option from the context menu.

Locate the AMD Software, click on three vertical ellipses at the end. Select the Uninstall option from the context menu.

Step 4: Confirm to uninstall AMD Software and follow the prompts on the screen to uninstall it.

Step 5: After the uninstallation completed, restart the Windows.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 9: Disable built-in graphics driver

The Loadlibrary failed with error may happen if the system has two graphics cards and the modules of the programs try to use different cards simultaneously. Disable the built-in graphics card will force the system to use a single card.

Step 1: Right-click on the Windows icon and click on the Device Manager.

Step 2: Expand the Display adapters and right-click on the built-in graphics device.

Expand the Display adapters and right-click on the built-in graphics device.

Step 3: Select the Disable device option from the context menu.

Step 4: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Step 5: Optionally, you can try to disable and enable the dedicated graphics card.

Solution 10: Disable Use WDDM graphics display driver for Remote Desktop Connections policy

If the Loadlibrary failed with error occur when open the remote desktop connection program, the edit the system’s Group Policy about the remote desktop connection to force the proper usage of the graphics properties.

Step 1: Click on the Windows icon, search and open the Edit Group Policy.

Click on the Windows icon, search and open the Edit Group Policy.

Step 2: Navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment

Step 3: Disable the Use WDDM graphics display driver for Remote Desktop Connections policy.

Step 4: Close the Local Group Policy Editor.

Step 5Restart your Windows.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 11: Enable Use hardware graphics adapters for all Remote Desktop Services policy

If the Loadlibrary failed with error occur when open the remote desktop connection program, the edit the system’s Group Policy about the remote desktop connection to force the proper usage of the graphics properties.

Step 1: Click on the Windows icon, search and open the Edit Group Policy.

Click on the Windows icon, search and open the Edit Group Policy.

Step 2: Navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment

Step 3: Enable the Use hardware graphics adapters for all Remote Desktop Services policy.

Step 4: Close the Local Group Policy Editor.

Step 5Restart your Windows.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 12: Enable Prioritize H.265/AVC444 Graphics Mode for Remote Desktop Connections policy

If the Loadlibrary failed with error occur when open the remote desktop connection program, the edit the system’s Group Policy about the remote desktop connection to force the proper usage of the graphics properties.

Step 1: Click on the Windows icon, search and open the Edit Group Policy.

Click on the Windows icon, search and open the Edit Group Policy.

Step 2: Navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment

Step 3: Enable the Prioritize H.265/AVC444 graphics mode for Remote Desktop Connections policy.

Step 4: Close the Local Group Policy Editor.

Step 5Restart your Windows.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 13: Enable Configure H.264/AVC Hardware Encoding for Remote Desktop Connections policy

If the Loadlibrary failed with error occur when open the remote desktop connection program, the edit the system’s Group Policy about the remote desktop connection to force the proper usage of the graphics properties.

Step 1: Click on the Windows icon, search and open the Edit Group Policy.

Click on the Windows icon, search and open the Edit Group Policy.

Step 2: Navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment

Step 3: Enable the Configure H.264/AVC hardware encoding for Remote Desktop Connections policy.

Step 4: Close the Local Group Policy Editor.

Step 5Restart your Windows.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 14: Uninstall Java 64-bit version

Install two Java versions both 32-bit and 64-bit may break the operation of the program and cause Loadlibrary failed with error.

Step 1: Right-click on the Windows icon and open the Apps & Features.

Step 2: Check if there is more than one version of Java installed.

Step 3: If yes, uninstall the 64-bit version of Java.

Check if there is more than one version of Java installed. If yes, uninstall the 64-bit version of Java.

Step 4Restart your Windows.

Step 5: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 15: Update graphics driver with Device Manager

Loadlibrary failed with error may happen if the system’s graphics driver is corrupted or outdated. Update the graphics card driver to the latest build or reinstall it using Device Manager may solve the error.

Step 1: Go to the Windows desktop and right-click on the This PC.

Step 2: Select the Manage option from the context menu.

Step 3: Click on Device Manager on the left sidebar in Computer Management windows.

Step 4: Expand the Display adapters and right-click on the built-in graphics device.

Step 5: Select the Update driver option from the context menu.

Expand the Display adapters and right-click on the built-in graphics device. Select the Update driver option from the context menu.

Step 6: Click on the Search automatically for the drivers or Search automatically for updated driver software option.

Click on the Search automatically for the drivers or Search automatically for updated driver software option.

Step 7: Windows will start to look for a newer version of the driver from the Internet. If available, you will be prompted about the same.

Step 8: If the newer version of the driver found, proceed with the installation.

Step 9Restart your Windows.

Step 10: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 16: Update graphics driver with OEM driver installer

Loadlibrary failed with error may happen if the system’s graphics driver is corrupted or outdated. Update the graphics card driver to the latest build or reinstall it using the latest version of driver downloaded from manufacturer website may solve the error.

Step 1: Open a web browser and visit the graphics card OEM website such as AMD.

Step 2: Download the latest graphics card driver or the OEM utility that auto-detects and install updates for the graphics card driver.

Download the latest graphics card driver or the OEM utility that auto-detects and install updates for the graphics card driver.

Step 3: Execute the downloaded graphics card driver or AMD Auto-Detect Utility as an administrator.

Step 4: Follow the prompts on the screen to complete the driver installation.

Step 5Restart your Windows.

Step 6: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 17: Reinstall graphics driver

Step 1: Open a web browser and visit the graphics card OEM website such as AMD.

Step 2: Download the latest graphics card driver.

Step 3: Go to the Windows desktop and right-click on the This PC.

Step 4: Select the Manage option from the context menu.

Step 5: Click on Device Manager on the left sidebar in Computer Management windows.

Step 6: Expand the Display adapters and right-click on the built-in graphics device.

Step 7: Select the Uninstall device option from the context menu.

Select the Uninstall device option from the context menu.

Step 8: Check the Attempt to remove the drivers for this device option or Delete the driver software of this device option in Windows 10.

Check the Attempt to remove the drivers for this device option or Delete the driver software of this device option in Windows 10.

Step 9: Click on the Uninstall button.

Step 10Restart your Windows.

Step 11: Install the latest graphics card driver as an administrator and make sure to check the Perform a clean installation option.

Step 12Restart your Windows.

Step 13: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 18: Set Switchable Dynamic Graphics to maximum performance

Step 1: Press the Windows + R key to open a Run box.

Step 2: Enter the following command in the Run box and press the Enter key to open the Advanced Settings:

control.exe powercfg.cpl,,3

Enter the following command in the Run box and press the Enter key to open the Advanced Settings:  control.exe powercfg.cpl,,3

Step 3: Locate the Switchable Dynamic Graphics settings in the Power Options window. Click on it to expand the settings.

Step 4: Click on the Global Settings to expand it.

Step 5: Select Maximize performance from the On battery drop-down menu.

Step 6: Select Maximize performance from the Plugged in drop-down menu.

Click on the drop-down for On battery and Plugged in options, set both to Maximize performance.

Step 7: Click on the Apply button and then OK button.

Step 8: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 19: Use High-performance NVIDIA processor

Step 1: Click on the Windows icon, search and open the NVIDIA Control Panel.

Click on the Windows icon, search and open the NVIDIA Control Panel.

Step 2: Click on the Manage 3D settings at the Task list.

Step 3: Click on the Program Settings tab.

Step 4: Click on the Add button to add the program to customize.

Click on the Manage 3D settings at the Task list. Click on the Program Settings tab. Click on the Add button to add the program to customize.

Step 5: Choose the application that having Loadlibrary failed with error.

Choose the application that having Loadlibrary failed with error.

Step 6: Set the preferred graphics processor to the High-performance NVIDIA processor option.

Step 7: Click on the Apply button.

Set the preferred graphics processor to the High-performance NVIDIA processor option. Click on the Apply button.

Step 8Restart your Windows.

Step 9: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 20: Use High-performance in Switchable Graphics Application Settings

Configure Switchable Graphics for a specific program to fix Loadlibrary failed with error.

Step 1: Right-click on the desktop and selecting AMD Radeon Settings from the context menu.

Right-click on the desktop and selecting AMD Radeon Settings from the context menu.

Step 2: Click on the Preferences button at the top right corner and Additional Settings to open further options.

Step 3: Click on the Power at the sidebar to expand the settings.

Step 4: Click on the Switchable Graphics Application Settings, to opens a list of recent applications.

Step 5: Select the program that having Loadlibrary failed with error. If the program is not appeared in the list of Recent Applications, click on the Add Application button and select the required program.

Step 6: Select the High performance option from the Graphics Setting drop-down menu.

Select the High performance option from the Graphics Setting drop-down menu.

Step 7: Click on the Apply button.

Step 8Restart your Windows.

Step 9: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Solution 21: Perform Windows in-place upgrade

Step 1: Start a web browser and visit the Windows 11 download page of Microsoft.

Step 2: Select Windows 11 in the dropdown in the section of Download Windows 11 Disk Image (ISO) and click on the Download button.

Select Windows 11 in the dropdown in the section of Download Windows 11 Disk Image (ISO) and click on the Download button.

Step 3: Wait till the download is complete. Right-click on the downloaded ISO and select the Mount option from the context menu.

Right-click on the downloaded ISO and select the Mount option from the context menu.

Step 4: Open the mounted drive through the File Explorer.

Step 5: Right-click on the Setup file (setup.exe) and select the Run as administrator option from the context menu.

Right-click on the Setup file and select the Run as administrator option from the context menu.

Step 6: Follow the prompts on the screen to complete the upgrade process, make sure to select the Keep Files, Apps, and Settings option.

Step 7Restart your Windows.

Step 8: Launch the program or game. Check if the program launches without Loadlibrary failed with error.

Tags

Tags

    Ads Blocker Image Powered by Code Help Pro

    Ads Blocker Detected!!!

    This site depends on revenue from ad impressions to survive. If you find this site valuable, please consider disabling your ad blocker.