Diagnostic Policy Service - high CPU

  1.    07 Apr 2018 #1

    Diagnostic Policy Service - high CPU

    HP laptop problem
    In the last few days, this laptop started having poor performance, with Task manager showing Diagnostic Policy Service taking up to 30% or more of CPU.

    HP Spectre x360 - 13-4197dx (ENERGY STAR)
    Click image for larger version. 

Name:	p1.jpg 
Views:	21 
Size:	21.8 KB 
ID:	183868

    In the last few days it started having poor performance, with Task manager showing Diagnostic Policy Service taking up to 30% or more of CPU.

    Click image for larger version. 

Name:	image.png 
Views:	21 
Size:	62.9 KB 
ID:	183869

    Did upgrade of BIOS, no improvement.
    Downloaded all current windows upgrades – no fix.
    I created a new (admin) user, same problem.
    I ran all of the diagnostics in the HP Support Assistant, all passed – no effect.
    I ran "sfc /scannow." and "Dism /Online /Cleanup-Image /RestoreHealth" – no effect.

    There is an online thread on this in the HP forums, which does not seem to show any fix.

    The HP support is abysmal – it took several minutes for him to echo back “so this is your computer system?”, and then the only suggestion was a factory reset.
    Attached Thumbnails Attached Thumbnails p1a.jpg  
      My ComputerSystem Spec

  2.    25 Jun 2018 #2

    Hello, i finally found the solution for the problem! The dps service constantly creates log files in folder "C:\Windows\system32\sru" every second. This leads to high disk usage and the folder becomes very large, multiple Gigabytes of data. Force stopping the service and then deleting this folder fixes the problem. The folder is not created anymore when you start the service. You must stop the service before deleting the folder.

    I made a batch file which stoppes the service and prompts the user to delete the folder. Then the service is startet again. Just create a text file and insert following code. Then save as .bat file. You need to start the bat as admin though.

    Download bat or make own bat with code block below

    @echo off
    echo ... Set DPS service start type to manual ...
    sc config DPS start= demand
    echo ... Find PID of DPS service ...
    for /f "tokens=2 delims=[:]" %%f in ('sc queryex dps ^|find /i "PID"') do set PID=%%f
    echo ... Kill DPS service
    taskkill /f /pid %PID%
    echo ... Delete sru Folder ...
    rd /s "%windir%\system32\sru"
    echo ... Set DPS service start type to auto ...
    sc config DPS start= auto
    echo ... Start DPS service ...
    sc start DPS
      My ComputerSystem Spec


Related Threads
Hello Guys, I'm using Windows 10 Home Single Language 64-bit. After the latest Windows update in Feb 2018, I've been experiencing consistent CPU Usage (13-14%) by a Windows Process (Service Host: Diagnostic Policy Service). I can't figure out...
Hello, Service Host: Diagnostic Policy Service using almost 50% of CPU according to task manager. Wouldn't really care if it didn't seem to lock up my desk top for minutes at just the wrong time. Can I, or better yet, should I turn this off? New...
This is my first post in TenForums, I'll try not to screw up. And I am not a computer tech. Windows 10 Pro Version 10.0.14393 Build 14393 Dell Optiplex 380 I am trying to network my computers, of which I have too many! LOL These are...
Disabling Diagnostic Policy Service in Performance & Maintenance
I just disabled the Diagnostic Policy Service, Diagnostic Service Host, and the Diagnostic System Host. Is there any adverse actions that this may cause? So far I have not noticed any. Once I get my Windows Settings the way I like, they...
Hi - Having lots of trouble here and very frustrated. On login, I get the message "Failed to Connect to a Windows Service. Windows couldn't connect to the Group Policy Client service. This problem prevents standard users from signing in. As an...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:30.
Find Us