
On the Visual Effects tab, choose Adjust for best performance to switch off all visual effects in Windows.Click Advanced system settings in the left-hand menu, then click the Settings button in the Performance section.Or go to Control Panel > System and Security > System. Open File Explorer, right-click This PC and choose Properties.This will reclaim resources from Desktop Window Manager. If you can live without window animations, menus that fade in and out, and taskbar thumbnails, you can switch off visual effects.

But if you believe dwm.exe is consuming more CPU or RAM than it should, there are a few fixes you can try.

Theoretically, you could right-click Desktop Window Manager or dwm.exe in Task Manager and choose End process. But as the feature is now an integral part of the operating system, this option isn’t available in Windows 10 (or 8). Older versions of Windows let you switch off DWM if you weren’t bothered about visual effects. The short answer is that you can’t disable Desktop Window Manager.
