Service Host Fix: Diagnostic policy service High CPU and memory usage



RECOMMENDED: Click here to fix Windows errors and optimize system performance

As you may know, there are a number of active background processes and services that help Windows run smoothly. Most of these background processes/services consume a minimal amount of CPU power and RAM. However, there are times when a process gets disrupted or corrupted and consumes much more resources than usual, leaving little room for other applications in the foreground. The Diagnostic Policy Service is one such process that has been known to overload system resources on rare occasions.

The Diagnostic Policy Service is one of the common Svchost.exe (Service Host) processes. It is responsible for detecting problems with various Windows components and solving them. The service tries to automatically resolve detected problems when possible and when not, it saves diagnostic information for analysis.

Because diagnostics and automatic troubleshooting are important functions for the proper functioning of your computer, the Diagnostic Policy Service has been configured to start automatically at a computer startup and keep it active in the background.

The exact reason why it consumes more CPU power than expected is unknown, but according to possible solutions, the culprits could be a corrupted service instance, corrupted system files, a virus or malware attack, large event log files, etc.

What causes high CPU and host memory consumption: Diagnostic Policy Service

The SRUDB.dat file is associated with the Diagnostic Policy Service. This file can sometimes get very large and cause high memory consumption. If we remove this file, the problem of the diagnostic policy service consuming a lot of CPU power will usually go away.

The exact reason why it consumes more CPU power than expected is unknown, but according to possible solutions, the culprits could be a corrupt service instance, corrupt system files, virus or malware attacks, large event log files, etc.

How to troubleshoot the host: Policy Diagnostic Service High CPU and memory usage



April 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



General suggestions

  1. First, try to kill the task process and let it restart. See if the process now shows high CPU usage. If it still does, restart the computer.
  2. Run a system file analysis or run DISM commands to fix the inbox corruption.
  3. Try creating a new user account and see if the problem persists.
  4. Be sure to install the latest Windows updates.
  5. Run the system troubleshooter.
  6. Update your computer’s BIOS firmware to the latest version.
  7. Make sure that the system has the latest drivers installed.

Using File Explorer

  1. Press W8K + R and enter the following in the Run dialog box, then press Enter: %WinDir%System32sru.
  2. In the open sru folder, locate the file SRUDB.dat and delete it.
  3. Close File Explorer and reboot the system.

Note: If the SRUDB.dat file cannot be removed because it is used by the Diagnostic Policy Service, you must first set the Diagnostic Service startup type to Disabled. Then you can delete the file without any problems.

You can also delete the file from the command line in recovery mode.



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Frequently Asked Questions

Close programs/applications that are not needed. If your computer is consuming a lot of memory, you can try closing some unnecessary programs and applications to solve this problem. Open the Task Manager by right-clicking on the Windows icon and selecting "Task Manager".

  1. Registry key: Press Win + R.
  2. Fix driver issue: open "Device Manager" and "Check for hardware changes".
  3. Configure Windows 10 to get maximum performance. Right-click the "Computer" icon and select "Properties".
  4. Disable startup programs. Press "Win Key + R."
  5. Defragment your hard drive press Win Key + R.

Disabling the Windows Diagnostic Policy service prevents certain file system I/O operations and can reduce the growth of a virtual hard drive as a snapshot or bound clone. Do not disable the Windows Diagnostic Policy service if your users need diagnostic tools on their workstations.

  1. Press Ctrl + Shift + Esc to open the Task Manager.
  2. On the Processes tab, scroll down and find the Host: Diagnostic Policy service.
  3. Click Stop Task and make sure that the Unreliable Data Cancel and Shutdown options are selected.