When you use the Magnifier app on a remote Windows 10-based computer through a Remote Desktop Protocol (RDP) session, the CPU usage of the dwm.exe process spikes.
This issue occurs when smoothing is enabled in Magnifier. This feature is enabled by default in Windows 10.