sodcalculator

10 Tech How-To

Fix dxgmms2.sys Error on Windows 11

Guide 10-54507 · Updated · Step by step

The dxgmms2.sys error on Windows 11 is a Blue Screen of Death (BSOD) caused by a corrupted or incompatible DirectX Graphics Kernel file, often triggered by outdated GPU drivers, overheating, or faulty RAM. To fix it, you typically need to update or roll back your graphics driver, run system file checks, or adjust power settings—start with the steps below.

What Is dxgmms2.sys and Why Does It Crash?

dxgmms2.sys is a Microsoft system driver that manages the DirectX Graphics Kernel, which coordinates how your GPU renders 2D and 3D graphics. When this file fails, Windows stops with a BSOD, usually showing a stop code like SYSTEM_THREAD_EXCEPTION_NOT_HANDLED or VIDEO_TDR_FAILURE. The crash often happens during gaming, video playback, or even at idle, and it can be caused by:

  • Outdated or buggy GPU drivers (NVIDIA, AMD, or Intel)
  • Overheating GPU or CPU
  • Corrupted system files or Windows updates
  • Faulty RAM or storage
  • Overclocking instability

It’s important to note that dxgmgs2.sys itself is rarely the root problem—it’s usually a symptom of something else. The file is a legitimate Windows component, so you should never delete it.

Step-by-Step Fixes for dxgmgs2.sys BSOD

Try these fixes in order. Most users resolve the issue with step 1 or 2.

  1. Update or roll back your GPU driver. Press Win + X and select Device Manager. Expand Display adapters, right-click your GPU, and choose Update driver → Search automatically. If you recently updated and the error started, instead choose Properties → Driver → Roll Back Driver. If rollback is greyed out, download the latest driver from the manufacturer’s website and do a clean install.
  2. Run Windows built-in repair tools. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”) and run sfc /scannow. Then run DISM /Online /Cleanup-Image /RestoreHealth. Restart after both.
  3. Check for overheating. Use a free tool like HWMonitor to check GPU and CPU temperatures. If they exceed 90°C under load, clean dust from fans, ensure proper airflow, and consider reapplying thermal paste if you’re comfortable.
  4. Test your RAM. Type “Windows Memory Diagnostic” in Start, select Restart now and check for problems. Let it run—it may take 20+ minutes. If errors appear, replace the faulty RAM stick.
  5. Reset power settings. Go to Settings → System → Power & battery → Power mode and set it to Best performance. Also, in the old Control Panel’s Power Options, set PCI Express Link State Power Management to Off.
  6. Disable overclocking. If you overclocked your GPU or CPU, revert to stock clocks in BIOS or your GPU software (e.g., MSI Afterburner).
  7. Perform a clean boot. Type msconfig in Start, go to Services, check Hide all Microsoft services, click Disable all, then restart. If the error stops, re-enable services one by one to find the culprit.

When to Use a System Restore or Reset

If none of the above works, you can try System Restore: search “Create a restore point”, click System Restore, and pick a point before the error started. This won’t affect your files. If that fails, you can do a Reset this PC (Settings → System → Recovery → Reset PC), choosing “Keep my files” to reinstall Windows without losing personal data. This often fixes deep corruption that other tools can’t.

Common Misconceptions About dxgmgs2.sys

A frequent mistake is downloading “dxgmgs2.sys” from random websites to replace the file. Never do this—it’s a common malware vector. The file is already on your system; you only need to repair it via legitimate Windows tools. Another misconception is that the error means your GPU is dead. While a failing GPU can cause this, it’s far more likely a driver or software issue. Also, updating Windows to the latest version often includes DirectX fixes—check Settings → Windows Update for optional updates.

How to Prevent Future dxgmgs2.sys Errors

  • Keep your GPU drivers updated, but don’t install beta drivers unless you need them.
  • Regularly clean your PC’s dust filters and ensure fans spin freely.
  • Avoid overclocking unless you know what you’re doing and have adequate cooling.
  • Run sfc /scannow monthly as preventive maintenance.
  • Use a good surge protector—power fluctuations can corrupt system files.

Frequently Asked Questions

Is dxgmgs2.sys a virus?

No, dxgmgs2.sys is a legitimate Microsoft file. However, malware can sometimes disguise itself with a similar name. Check its location: it should be in C:\Windows\System32\drivers\. If you find it elsewhere, run a full antivirus scan.

Can I delete dxgmgs2.sys to fix the error?

No. Deleting it will cause more errors, including inability to boot. The file is essential for graphics processing. Always repair, not delete.

Why does the error happen only during gaming?

Gaming puts a heavy load on the GPU, which can expose unstable drivers, overheating, or power delivery issues. If it only happens in one game, try verifying the game’s files or updating the game itself.

Will reinstalling Windows 11 fix the problem?

Often yes, because it replaces all system files and drivers. But it’s a last resort—try the steps above first. A “Reset this PC” with “Keep my files” is less drastic than a full clean install.

Does this error occur on Windows 10 as well?

Yes, dxgmgs2.sys exists in Windows 10 and can cause similar BSODs. The fixes are essentially the same, though Windows 11 has slightly different settings menus.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →