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

Matthew Adams By: Matthew Adams
5 minute read
fix error 31

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

The display adapter code 31 error is one that prevents Windows loading a VDU (monitor) driver. Code 31 does not have its own error message window. However, the Device Manager displays this 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.

Display adapter code 31: Here’s how you can quickly fix this error

  • Restart Windows
  • Open the Hardware and Devices Troubleshooter
  • Update the Display Adapter Driver
  • Roll Back Windows with System Restore
  • Edit the Registry

Restart Windows

It might be the case that the code 31 error is only a temporary Device Manager issue. As such, restarting Windows might be a straightforward fix. After rebooting, open the Device Manager from the Win + X menu, right-click the display adapter and select Properties to open a General tab that includes the device status. Does that tab still include the code 31 error?

Open the Hardware and Devices Troubleshooter

If restarting Windows doesn’t do the trick, open the Hardware and Devices troubleshooter. That might detect hardware issues and automatically fix the code 31 issue. This is how you can open the Hardware and Devices troubleshooter.

  • Click the Cortana button on the Windows 10 taskbar. Alternatively, open the Start menu’s search box in earlier Windows platforms.
  • Enter the keyword ‘troubleshoot’ in the search box.
  • Select Troubleshoot to open the Settings window directly below.

fix display adapter code 31

  • Select the listed Hardware and Devices troubleshooter, and then press its Run troubleshooter button.
  • That will open the hardware troubleshooter window which automatically scans. If it detects anything, you can select an Apply this fix option.

fix display adapter code 31

Update the Display Adapter Driver

The code 31 error pertains to the VDU’s driver. As such, updating an outdated display adapter driver will probably resolve the issue. This is how you can update a driver by downloading it from manufacturer website.

  • First, you’ll need the graphics card chipset model and 32 or 64-bit Windows platform details. To obtain those details, enter ‘System Info’ in the Cortana search box; and select to open the System Information window below.

fix display adapter code 31

  • System Summary lists the platform and system type details. Click Components > Display to open the required graphics card details.

fix display adapter code 31

  • Open the manufacturer’s website for your display adapter.
  • Click on a drivers or download center link on the manufacturer’s website to search for the driver.
  • Then enter your chipset model in the search box to find the most update driver.
  • Download the most update driver listed that matches both your Windows platform and system type.
  • Press the Win key + R hotkey to open Run.
  • Enter ‘devmgmt.msc’ in the text box and press Enter to open Device Manager.

fix display adapter code 31

  • Double-click Display adapters and then right-click your listed display adapter to open its context menu.
  • Select Update driver to open the window in the snapshot below.

fix display adapter code 31

  • Select the Browse my computer for driver software option to open a path box as below.

fix display adapter code 31

  • Press the Browse button to select the folder path that includes the update display adapter driver.
  • Then click Next to install your new graphics card driver.

Update drivers automatically

Permanent damage can be caused by the installation of the wrong driver version. Thus, we strongly suggest to update your driver automatically by using Tweakbit’s Driver Updater tool.

This tool is approved by Microsoft and Norton Antivirus and will keep your system safe and updated with a click. After several tests, our team concluded that this is the best-automatized solution. Below you find a quick guide on how to do it.


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

    1. Download and install TweakBit Driver Updater
    2. driver updater starting windowOnce installed, the program will start scanning your PC for outdated drivers automatically. Driver Updater will check your installed driver versions against its cloud database of the latest versions and recommend proper updates. All you need to do is wait for the scan to complete.tweakbit driver updater scanning
    3. Upon scan completion, you get a report on all problem drivers found on your PC. Review the list and see if you want to update each driver individually or all at once. To update one driver at a time, click the ‘Update driver’ link next to the driver name. Or simply click the ‘Update all’ button at the bottom to automatically install all recommended updates.
      update drivers automatically
      Note: Some drivers need to be installed in multiple steps so you will have to hit the ‘Update’ button several times until all of its components are installed.

Disclaimer: some features of this tool are not free.

Roll Back Windows with System Restore

The code 31 issue might have occurred because you installed a hardware device or your PC had a recent system update. Reversing those system changes can also potentially fix the display adapter code 31 error. The System Restore tool will undo system changes and roll back updated drivers. This is how you can roll back Windows with the System Restore utility.

  • Open Run, enter ‘rstrui’ in the text box and click OK to open System Restore.
  • Selecting Recommended restore will undo the most recent system changes.

fix display adapter code 31

  • If you need to go a little further back, select Choose a different restore point. However, note that restoring Windows also removes software installed after a selected restore point.
  • Click the Show more restore points option, and then select a date to roll Windows back to.

fix display adapter code 31

  • Click Next > Finish and Yes to give the go ahead for System Restore to roll back Windows.

Edit the Registry

This resolution requires that you delete corrupted UpperFilters and LowerFilters registry values for your video adapter. Note that not all display adapters will include those registry values. You can erase those registry values as follows.

  • Open the Registry Editor by entering ‘regedit’ in the Run.
  • Now open this path in the Registry Editor window: ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{4d36e968-e325-11ce-bfc1-08002be10318}.

fix display adapter code 31

  • First, create a registry backup for {4d36e967-e325-11ce-bfc1-08002be10318} by clicking File > Export. Then enter a title for the backup file, select a folder for it and press the Save button.
  • Now right-click UpperFilters on the right of the Registry Editor window and select Delete.
  • Right-click LowerFiltes and select Delete.
  • Close the Registry Editor, and then restart your laptop or desktop.

Those are a few resolutions for the display adapter code 31 error. These fixes might also fix code 31 issues for other hardware devices. If you have further suggestions that might resolve this issue, please share them below.

RELATED STORIES TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Discussions

Next up

Mozilla adds alerts about recently breached sites into Firefox browser

Giles Ensor avatar. By: Giles Ensor
3 minute read

Firefox has announced that it will start to warn users if they visit any breached sites. This is in an attempt to not only make […]

Continue Reading

More uncertainty for Microsoft’s Windows 10 October Update

Giles Ensor avatar. By: Giles Ensor
3 minute read

Oh dear. It’s been a pretty bad month for Microsoft concerning its Windows 10 October 1809 Update release. Microsoft eventually released the update a couple […]

Continue Reading

Confirmed: Microsoft now accepting ARM64 apps on its Store

Giles Ensor avatar. By: Giles Ensor
2 minute read

Yesterday, Microsoft released Visual Studio 15.9. With it came the announcement that “developers now have the officially supported SDK and tools for creating 64-bit ARM […]

Continue Reading