
Thank you Martin,
GOTCHA!
* I set the affinity of the window manager (dwm.exe) manually to CPU0-3. Result: spikes and crackles are gone.
* I login via remote desktop: a second dwm appears, as expected, and, voilà, spikes/crackles are back.
* I set its affinity again to CPU0-3 ==> spikes/crackles gone.
A little powershell script helps: edit a file somewhere called "Set_DWM_Affi.ps1":
Make a link to the desktop, by dragging it to the desktop holding ALT key.
Right-click the new icon, select properties, change target to
Double clicking this icon opens a console that shows the old affinity of the DWM process, waits for "enter", set the new affinity (15 = cores 0-3) and displays it, waits for "enter", and
crackles are gone.
After testing it, the "pause" lines can be removed.
The script acts only on the first desktop manager, so don't expect it to work using a remote desktop.
Yeah it's still a workaround, but the next step would have been to trash peu-a-peu the hardware and replace it, a lot of work and cost.
Cheers,
Sven
GOTCHA!
* I set the affinity of the window manager (dwm.exe) manually to CPU0-3. Result: spikes and crackles are gone.
* I login via remote desktop: a second dwm appears, as expected, and, voilà, spikes/crackles are back.
* I set its affinity again to CPU0-3 ==> spikes/crackles gone.
A little powershell script helps: edit a file somewhere called "Set_DWM_Affi.ps1":
- Code: Select all
$process = get-process dwm |Where-Object {$_.SI -eq 1}
$process |fl ProcessorAffinity
pause
$process.ProcessorAffinity=15
$process |fl ProcessorAffinity
pause
Make a link to the desktop, by dragging it to the desktop holding ALT key.
Right-click the new icon, select properties, change target to
- Code: Select all
powershell -EP ByPass -File "(old target)"
Double clicking this icon opens a console that shows the old affinity of the DWM process, waits for "enter", set the new affinity (15 = cores 0-3) and displays it, waits for "enter", and

After testing it, the "pause" lines can be removed.
The script acts only on the first desktop manager, so don't expect it to work using a remote desktop.
Yeah it's still a workaround, but the next step would have been to trash peu-a-peu the hardware and replace it, a lot of work and cost.
Cheers,
Sven