Fix Desktop Window Manager Stopped Working
In this article
If you see “Desktop Window Manager stopped working” or your screen flickers, freezes, or loses transparency effects, the fix usually involves updating your graphics driver, disabling a conflicting app, or running the System File Checker. This article walks through the most common causes and step-by-step solutions, starting with the quickest and safest ones.
What Is Desktop Window Manager?
Desktop Window Manager (DWM) is a core Windows component that handles the visual effects on your screen: the translucent Aero glass, taskbar thumbnails, smooth window animations, and the snap layouts. It runs as a system process named dwm.exe and is always active on Windows 10 and 11. When it crashes, Windows typically shows an error dialog and then restarts it automatically, but you may notice a brief black screen, a frozen desktop, or a loss of visual effects until it recovers.
DWM is not a third-party program; it is part of the operating system, so you cannot uninstall or disable it permanently. The error usually points to a deeper issue such as a faulty graphics driver, corrupted system files, or an incompatible application that forces DWM to fail.
Common Causes of DWM Crashes
Several things can make DWM stop working. The most frequent are:
- Outdated or corrupted graphics drivers – the leading cause, especially after a Windows update or a driver update gone wrong.
- Third-party screen capture or overlay software – programs like older versions of Discord, OBS, or certain antivirus overlays can interfere with DWM.
- Corrupted system files – a damaged Windows component can cause DWM to fail repeatedly.
- Incompatible display settings – unusual refresh rates, multiple monitors with mismatched resolutions, or a faulty display cable.
- Malware or a recent software installation – rarely, but possible.
Step-by-Step Fixes
Try these in order. Most users find the first or second step resolves the issue.
1. Restart the DWM Process
If the error appears once and your screen recovers, a simple restart may clear the glitch. Press Ctrl + Shift + Esc to open Task Manager, scroll to “Windows Explorer” and “Desktop Window Manager,” right-click each and choose Restart. This will briefly hide your taskbar and icons, but they will return.
2. Update Your Graphics Driver
Outdated drivers are the number one cause. Open Device Manager (right-click the Start button and select it), expand “Display adapters,” right-click your GPU, and choose Update driver > Search automatically. If that finds nothing, visit the manufacturer’s website (NVIDIA, AMD, or Intel) and download the latest driver for your exact model. After installing, restart your PC.
3. Run the System File Checker
Corrupted system files can be repaired with built-in tools. Open Command Prompt as administrator (search “cmd,” right-click, “Run as administrator”) and run:
sfc /scannow
This may take 10-15 minutes. If it finds issues, it will attempt to fix them. Afterward, also run DISM /Online /Cleanup-Image /RestoreHealth to repair the system image, then restart.
4. Check for Conflicting Applications
If the error started after installing a new program, especially one that captures your screen or adds overlays, try closing it or uninstalling it temporarily. Common culprits include older versions of Discord, OBS Studio, MSI Afterburner, and some antivirus suites. Test by starting Windows in Clean Boot mode: type msconfig in the search box, go to the “Services” tab, check “Hide all Microsoft services,” click “Disable all,” then restart. If DWM works fine, re-enable services one by one to find the offender.
5. Adjust Visual Effects Settings
Sometimes reducing the load on DWM helps. Right-click the Start button, go to System > About > Advanced system settings, under “Performance” click Settings, and choose “Adjust for best performance.” This disables most visual effects. If the error stops, you can re-enable a few effects selectively.
6. Update Windows
Microsoft regularly patches DWM-related bugs. Go to Settings > Windows Update and click “Check for updates.” Install any pending updates and restart.
7. Perform a System Restore
If the problem persists, you can roll back to a point before the errors started. Type “create a restore point” in the search box, open the System Properties window, click System Restore, and follow the prompts. This does not affect your personal files.
What to Do If Nothing Works
If you have tried all the above and DWM still crashes, consider these last resorts:
- Check for hardware issues – faulty RAM or a failing GPU can cause DWM to crash. Run Windows Memory Diagnostic (search “Windows Memory Diagnostic”) and, if you have a desktop, reseat the graphics card.
- Reinstall the graphics driver completely – use a utility like Display Driver Uninstaller (DDU) in Safe Mode, then install the latest driver fresh.
- Reset Windows – as a final option, you can use “Reset this PC” in Settings, keeping your files but reinstalling the OS. This is drastic but often resolves persistent system corruption.
Preventing Future DWM Crashes
Once fixed, you can reduce the chances of recurrence by:
- Keeping your graphics driver and Windows up to date.
- Avoiding outdated screen capture or overlay tools; use current versions.
- Not forcing your monitor to a refresh rate it does not support.
- Running periodic malware scans.
Frequently Asked Questions
Is Desktop Window Manager a virus?
No. The legitimate dwm.exe lives in C:\Windows\System32. If you see it in Task Manager, it is safe. However, malware can disguise itself with a similar name, so if the file is located elsewhere (like in your AppData folder), run a full antivirus scan.
Why does DWM keep crashing only when I play games?
Games push your GPU hard, and a driver bug or overheating can trigger DWM to fail. Update your driver, check your GPU temperature, and lower in-game graphics settings. Also, disable any in-game overlays (like Steam or Discord overlays) temporarily.
Can I disable Desktop Window Manager to stop the errors?
No. DWM is essential for Windows 10 and 11; disabling it would break the desktop, taskbar, and window rendering. The only way to stop the errors is to fix the underlying cause.
Will I lose my files if I do a system restore?
No. System Restore only reverts system files and settings; your documents, photos, and other personal files remain untouched. However, programs installed after the restore point may need to be reinstalled.
How do I know if my graphics driver is the problem?
Check the Windows Event Viewer: open it, go to “Windows Logs” > “System,” and look for errors from “DesktopWindowManager” or “dwm.exe.” The details often mention the faulting module, which may be a driver file like nvlddmkm.sys (NVIDIA) or atikmpag.sys (AMD). That points directly to the GPU driver.