If I step away from my laptop, after a few minutes, I'll often hear the fans spin up. I was wondering what process might be doing this so I left Task Manager open. Here's what I noticed was at the top when this happens:
If I move the mouse, the CPU usage of "System" drops and the fans spin down after a bit.
I noticed this popular question on superuser:
Troubleshoot High CPU usage by the "System" process
However, the approach there doesn't appear to be applicable since as I mention above, if interact with the system, the issue goes away. So If I attempt to use the diagnostic tools, the issue is not longer occuring.
Any suggestions on what might be causing 'System' to run at this high rate?
UPDATE
OK, I went ahead with approach in the linked post as recommended by the comments below.
For reference, here's how I started wpr.exe:
wpr.exe -start GeneralProfile
I then waited for the fans to spin up (took about 5 minutes). I left the system alone for about a minute. I then stopped wpr.exe:
wpr.exe -stop abc.etl
Here's the data as shown in Windows Performance Analyzer:
The linked post has a section on:
ntoskrnl.exe!RtlpGenericRandomPatternWorker
which seems to be the issue here. Looking into that now. :-)
UPDATE
When I open the Task Scheduler and look under:
Microsoft > Windows > MemoryDiagnostic > RunFullMemoryDiagnostic
I see the following:
UPDATE
After the issue occurred again, I refreshed Task Scheduler and indeed, the 'Last Run Time' for RunFullMemoryDiagnostic was updated:
So it seems that maybe when the system is idle, RunFullMemoryDiagnostic begins to run (fans spin up) and then it ends ("terminated unexpectedly"). Since it didn't complete, it just keeps trying.
If I do a google search for:
"RunFullMemoryDiagnostic" "the process terminated unexpectedly"
only 4 results come up.
UPDATE
For now, I've set RunFullMemoryDiagnostic to Disabled.




wpr.exe -start GeneralProfileleave it running. Do you see the issue after leaving this for a couple of minutes? Hopefully yes. If you leave the problem happening for 10-20 seconds, then run:wpr.exe -stop C:\generalProfile.etl. At least at this point you have a trace that captures the issue. – HelpingHand Jan 21 '21 at 20:40ntoskrnl.exe!RtlpGenericRandomPatternWorkerwhich is mentioned in the linked post. – dharmatech Jan 21 '21 at 23:42C:\WINDOWS\system32\svchost.exe -k netsvcs -p -s Schedule. A child of this is the "C:\WINDOWS\system32\taskhostw.exe" process. Does it look to be having issues? – HelpingHand Jan 22 '21 at 00:15RunFullMemoryDiagnostic, CPU goes to about 12% and stays there for many minutes. I've setRunFullMemoryDiagnostictoDisabledfor now. – dharmatech Jan 22 '21 at 00:18RunFullMemoryDiagnosticof its Triggers pane? – harrymc Jan 22 '21 at 10:02Triggerssection is empty forRunFullMemoryDiagnostic. – dharmatech Jan 22 '21 at 13:06RunFullMemoryDiagnostic, so it seems to be started automatically by Windows. You could keep it disabled, or start doing general troubleshooting for Windows. I can make suggestions for that, if you wish to spend more time on the problem. – harrymc Jan 22 '21 at 13:47Disable-ScheduledTask -TaskName "\Microsoft\Windows\MemoryDiagnostic\RunFullMemoryDiagnostic"– Artur INTECH Feb 24 '23 at 10:10