keepcalculator

06 Numbers and Powers

Dwm exe Has Stopped Working: Fixes That Work

Card No. 06·54099 · Updated · Standard formula, shown below

If you see the “dwm.exe has stopped working” error on Windows, it means the Desktop Window Manager crashed — the system component that renders visual effects like Aero Snap, transparency, and taskbar thumbnails. The fix is usually a quick restart of the process, updating your graphics driver, or running the System File Checker. Below is a step-by-step guide to resolve it and prevent it from recurring.

What Is dwm.exe and Why Does It Crash?

dwm.exe (Desktop Window Manager) is a core Windows process that manages the compositing of all on-screen graphics. It was introduced in Windows Vista and is present in Windows 7, 8, 10, and 11. It draws window frames, applies visual styles, and handles transparency effects. When it crashes, you may see a pop-up error, the screen may flicker, or the taskbar may disappear temporarily.

Common causes of the crash include:

  • Outdated or corrupted graphics drivers
  • System file corruption (e.g., after a failed update)
  • Conflicting third-party software (especially screen recorders or overlays)
  • Malware that targets Windows processes
  • Hardware acceleration issues with certain apps

Quick Fix: Restart the Desktop Window Manager

The simplest way to get rid of the error is to restart the process manually. Windows will automatically restart dwm.exe, but you can force it:

  1. Press Ctrl+Shift+Esc to open Task Manager.
  2. Look for Windows Explorer — right-click it and select Restart. This also restarts dwm.exe.
  3. If that doesn’t work, open Task Manager, find Desktop Window Manager under the Processes tab, right-click it, and choose End Task. Windows will immediately relaunch it.

If the error keeps coming back, proceed to the next steps.

Update or Reinstall Your Graphics Driver

Since dwm.exe relies heavily on your GPU, a faulty or outdated driver is the most frequent culprit. Here’s how to update it:

  1. Press Win+X and select Device Manager.
  2. Expand Display adapters, right-click your graphics card, and choose Update driver.
  3. Select Search automatically for drivers.
  4. If Windows finds nothing, go to your GPU manufacturer’s website (NVIDIA, AMD, Intel) and download the latest driver for your model.

If you already have the latest driver, try uninstalling it completely (using Display Driver Uninstaller in Safe Mode) and then reinstalling it fresh. This clears any corrupted settings.

Run System File Checker and DISM

Corrupted system files can cause dwm.exe to crash. Windows has built-in tools to repair them:

  1. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”).
  2. Type sfc /scannow and press Enter. This scans and repairs protected system files.
  3. After that, run DISM /Online /Cleanup-Image /RestoreHealth to fix the Windows image.

These commands can take 10–20 minutes. Restart your PC after they finish and check if the error persists.

Disable Hardware Acceleration in Problematic Apps

Some applications, especially browsers (Chrome, Edge, Firefox) and video players, use hardware acceleration, which can conflict with dwm.exe. If the error appears when you open a specific app, try disabling its hardware acceleration:

  • In Chrome: Settings → Advanced → System → turn off “Use hardware acceleration when available”.
  • In Discord: User Settings → Advanced → disable “Hardware Acceleration”.
  • In Zoom: Settings → Video → Advanced → disable “Hardware acceleration for video processing”.

If the error stops after disabling it, that app was the trigger.

Check for Malware and Conflicting Software

Malware can disguise itself as dwm.exe or corrupt it. Run a full scan with Windows Defender or a reputable third-party antivirus. Also, uninstall any recently installed software that might interfere with graphics, such as screen recorders, overlays (Discord overlay, MSI Afterburner), or custom UI tweakers. A clean boot can help isolate the culprit:

  1. Press Win+R, type msconfig, and press Enter.
  2. Go to the Services tab, check “Hide all Microsoft services”, then click “Disable all”.
  3. In the Startup tab, open Task Manager and disable all startup items.
  4. Restart. If the error is gone, re-enable services and startup items one by one until you find the offender.

Frequently Asked Questions

Is dwm.exe a virus?

No, dwm.exe is a legitimate Windows process. However, malware can sometimes use the same name. To verify, right-click the process in Task Manager and select “Open file location”. The legitimate file is in C:\Windows\System32. If it’s anywhere else, run a malware scan immediately.

Can I disable dwm.exe?

No, you cannot permanently disable it. Windows requires it for the graphical interface. Even if you end the task, it will restart automatically. Disabling it via services or registry can cause severe display issues.

Why does dwm.exe use high CPU or memory?

High usage is often due to a memory leak or too many visual effects. Try disabling transparency and animations (Settings → Personalization → Colors → Transparency effects) and check if that reduces usage. Also, update your graphics driver, as outdated drivers can cause leaks.

Will reinstalling Windows fix it?

If none of the above steps work, a system corruption may be too deep. A repair install (using the Windows Media Creation Tool) or a clean install will likely fix it, but it’s a last resort. Try the other fixes first because they solve the issue in most cases.

Does dwm.exe affect gaming performance?

Yes, dwm.exe can impact gaming, especially if your GPU is weak. It runs continuously and can cause input lag or frame drops. However, you cannot disable it, but you can enable “Game Mode” in Windows Settings to prioritize gaming resources.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →