STATUS_GRAPHICS_NO_PREFERRED_MODE Fix (0x401E031E)
This error pops up when Windows can't pick a default display mode for your monitor. The fix is usually a clean GPU driver reinstall or a monitor driver reset. No need to panic.
This Error Drives People Crazy — Here's the Fix
I've seen this error a hundred times. You plug in a second monitor, or wake your PC from sleep, and bam — STATUS_GRAPHICS_NO_PREFERRED_MODE (0x401E031E). Windows is basically saying 'I have no idea which resolution or refresh rate to use for your monitor.' The culprit is almost always a botched GPU driver update or a monitor driver conflict. Let's fix it fast.
The Real Fix (Works 90% of the Time)
Don't bother changing the resolution in display settings. Don't mess with registry keys. Skip the SFC scan too — it rarely helps here. You need a clean GPU driver uninstall using DDU (Display Driver Uninstaller). I've used this tool for years. It strips every trace of the old driver, including the registry entries that cause this mess.
- Download DDU from Guru3D. Get the latest version.
- Boot Windows into Safe Mode. Press F8 during startup, or hold Shift while clicking Restart > Troubleshoot > Startup Settings > Restart > press 4.
- Run DDU as administrator. Select 'GPU' from the dropdown on the right, then choose your brand (NVIDIA, AMD, or Intel). Click 'Clean and restart'.
- Once it reboots, Windows will use its basic VGA driver. Your screen might look weird at 800x600 — that's normal.
- Now download the latest GPU driver from your manufacturer's site. Don't use Windows Update, it's lazy. Pick the exact driver for your card and Windows version.
- Install the driver. When it asks, choose 'Clean Installation' (NVIDIA) or 'Factory Reset' (AMD). This overwrites any leftover junk.
- Reboot again. Now plug in your second monitor or test the original setup. The error should be gone.
If you're on a laptop with dual GPUs (Intel + NVIDIA/AMD), you might need to repeat DDU for both drivers. But I'd start with the dedicated GPU — that's usually the problem child.
Why Did This Happen?
Windows stores a list of 'preferred modes' for each monitor — these are the resolutions and refresh rates the monitor advertises as its best. When you update the GPU driver, sometimes the new driver screws up the monitor's EDID data (the electronic ID your monitor sends). Or the driver itself overwrites the preferred mode list with garbage. 0x401E031E is Windows throwing up its hands because it can't find a valid mode in that list. DDU clears the slate. Reinstalling the driver forces Windows to renegotiate the mode list cleanly with your monitor.
I've also seen this happen after a Windows feature update (like 22H2 to 23H2). The update messes up the driver stack. DDU fixes that too.
Other Things That Can Cause This
If the DDU fix didn't work (rare, but possible), check these:
- Faulty display cable. A bad HDMI or DisplayPort cable can corrupt EDID data. Swap cables, see if it helps. I've spent hours debugging only to find a bent pin on a cable.
- Monitor driver missing or outdated. Go to Device Manager, find your monitor under 'Monitors'. Right-click, Update driver > Browse my computer > Let me pick > choose the generic 'Generic PnP Monitor' if the right model isn't there. Or download the official monitor driver from the manufacturer's site. Sometimes booting with two monitors connected triggers the error because the second monitor's driver is lazy.
- Multiple monitors with mixed refresh rates. If you run a 60Hz monitor next to a 144Hz one, some GPUs freak out. Set both to 60Hz in display settings temporarily. If the error disappears, you'll need to tweak refresh rates one by one until you find the stable combo. For NVIDIA, you can set 'Global refresh rate' to 'Application controlled' in the control panel.
- Corrupt registry key. Not common, but if DDU didn't clean it all, open
regeditand navigate toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers. Look for any subkeys named with long hex strings. Delete them (backup first — right-click > Export). Reboot. This forces Windows to rebuild the driver settings.
How to Stop This Happening Again
Prevention is boring but easy. Three rules:
- Use DDU every time you update GPU drivers. I know it's a few extra minutes, but it saves you this headache. Don't just install over top of old drivers — that's how this error starts.
- Always download drivers from the manufacturer's site, not Windows Update. Windows pushes generic drivers that sometimes work but often break EDID handling. NVIDIA and AMD have specific versions for your card.
- Turn off 'Automatically update drivers' in Windows Update. Go to Settings > Windows Update > Advanced options > toggle off 'Receive updates for other Microsoft products'. Or use Group Policy (
gpedit.msc) to block driver updates via 'Windows Components > Windows Update > Do not include drivers with Windows Updates'.
That's it. 0x401E031E is annoying but not dangerous. The fix is straightforward — clean the driver, start fresh. I've never had DDU fail for this specific error in my 14 years of IT. If you're still stuck after all that, try a different port on your GPU (sometimes the port itself has a bad EDID channel). Good luck.
Was this solution helpful?