How to restart dwm.exe on Windows 8 because it take too much memory
If you're like me, you seldom restart your desktop computers.
When using Windows 8, I noticed that after a few weeks, the Desktop Window Manager process (
C:\Windows\System32\dwm.exe) was taking over a gigabyte of memory. I like my memory, but not when it's used to create memory leaks.
Kill it with fire.
Using Process Explorer
- Start Process Explorer as administrator.
Using command line
taskkill /IM explorer.exe /F
taskkill /IM dwm.exe /F
pssuspend.exe -r winlogon.exe
Do NOT do this when logged in remotely using remote desktop.