How to fix the display adapter code 31 error on Windows 10

Matthew Adams
by Matthew Adams
Windows & Software Expert
Affiliate Disclosure
Share this article:

  • The display adapter code 31 error prevents your device from loading the monitor driver.
  • It could only be a temporary Device Manager issue, but if it's not, looking into the full solution below should help.
  • Check out our collection of How-To tutorials to find answers to any software-related doubt you might have.
  • In our Errors section, you'll find specific guides for any Windows 10 bug that you encounter.
display adapter code 31

The display adapter code 31 error prevents Windows from loading a VDU (monitor) driver.

Code 31 does not have its own error message window. However, the Device Manager displays the following device status error message for the display adapter:

This device is not working properly because Windows cannot load the drivers required for this device (Code 31).

So if something is up with your VDU, it might be due to a code 31 error.

Before jumping to the solutions, we should mention that the code 31 error could only be a temporary Device Manager issue.

As such, simply restarting Windows might be a straightforward fix.

After rebooting, open the Device Manager, right-click the display adapter, and select Properties to open a General tab that includes the device status and see if the error is still there.

If it is, let’s move on to the more technical solutions. We’ll be guiding you step by step.

How can I fix the graphics device driver error code 31?

  1. Update the Display Adapter driver
  2. Use the Hardware and Devices Troubleshooter
  3. Roll Back Windows with System Restore
  4. Edit the Registry
  5. Check for updates

1. Update the Display Adapter driver

Update drivers automatically

DriverFix automatically update drivers

Permanent damage can be caused by the installation of the wrong driver version. Thus, we strongly suggest updating your driver automatically by using DriverFix.

This software can be installed with just one click. Launch the program after installation and allow it to scan your device.

You’ll get a list with all your outdated drivers, plus recommended new drivers that are compatible with your system.

DriverFix

DriverFix

Save precious time and effort by safely updating all your drivers with this simple tool, and get rid of any driver-related errors.
Free trial Visit website

Update drivers manually

  1. Type System Info in the Cortana search box, and open the System Information window.
    system information display adapter code 31
  2. System Summary lists the platform and system type details. Click Components / Display to open the required graphics card details.

system information display display adapter code 31

Now you need to download the driver. To do that, follow these steps:

  1. Open the manufacturer’s website for your display adapter.
  2. Click on drivers or download center link on the manufacturer’s website to search for the driver.
  3. Then enter your chipset model in the search box to find the up-to-date driver.
  4. Download the most updated driver listed that matches both your Windows platform and system type.
  5. Press the Win key + R hotkey to open Run.
  6. Enter devmgmt.msc in the text box and press Enter to open Device Manager.
    device manager display adapter code 31
  7. Double-click Display adapters and then right-click your listed display adapter to open its context menu.
  8. Select Update driver to open the window in the snapshot below.
    update driver display adapter code 31
  9. Select the Browse my computer for driver software option to open a path box as below.
    browse for driver display adapter code 31
  10. Press the Browse button to select the folder path that includes the update display adapter driver.
  11. Then click Next to install your new graphics card driver.

Looking for driver updating software alternatives? See our top recommendations


2. Use the Hardware and Devices Troubleshooter

  1. Type troubleshoot in the home screen search box.
  2. Open the Troubleshooter.
    troubleshoot display adapter code 31
  3. Select the listed Hardware and Devices troubleshooter, and then press its Run troubleshooter button.
  4. Wait for the scan to finish. If it detects anything, you can select the Apply this fix option.

apply this fix display adapter code 31


3. Roll Back Windows with System Restore

  1. Open Run, enter rstrui in the text box , and click OK to open System Restore.
  2. Selecting Recommended restore will undo the most recent system changes.
    system restore display adapter code 31
  3. If you need to go a little further back, select Choose a different restore point. (Note that restoring Windows also removes software installed after a selected restore point.)
  4. Click the Show more restore points option, and then select a date to roll Windows back to.
    system restore point display adapter code 31
  5. Click NextFinish and Yes to give the go-ahead for System Restore to roll back Windows.

4. Edit the Registry

  1. Open the Run box and launch the Registry Editor by typing regedit.
  2. Now open the following path in the Registry Editor window:
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}
    registry editor display adapter code 31
  3. First, create a registry backup for {4d36e967-e325-11ce-bfc1-08002be10318} by clicking FileExport.
  4. Then enter a title for the backup file, select a folder for it and press the Save button.
  5. Now right-click UpperFilters on the right of the Registry Editor window and select Delete.
  6. Right-click LowerFiltes and select Delete.
  7. Close the Registry Editor, and then restart your device.

Note that not all display adapters include these registry values.


5. Check for updates

Check for updates to fix error code 31

If you’re still getting Display Adapter Code 31 error, perhaps you can fix the issue simply by updating Windows to the latest version.

If Windows isn’t up to date, you might encounter various glitches, and the best way to deal with them is to keep your system updated.

This is fairly simple, and Windows already automatically checks for updates, but you can also check for updates manually by doing the following:

  1. Open the Settings app and go to the Update & Security
  2. Now click Check for updates button in the right pane.

Windows will now check for available updates. If any are available, they will be downloaded automatically in the background and installed as soon as you restart your PC. Once your system is up to date, check if the problem is still there.

Those are a few resolutions for the display adapter code 31 error.

If you have further suggestions that might resolve this issue, please share them below.

Editor’s Note: This post was originally published in October 2017 and was revamped and updated in September 2020 for freshness, accuracy, and comprehensiveness.

Editor's Note: This article was originally published in October 2017 and was revamped and updated in September 2020 for freshness, accuracy, and comprehensiveness.
Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!