.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

How to Start/Stop Diagnostic Service Host service

Service name: WdiServiceHost

Display name: Diagnostic Service Host


Description:

The Diagnostic Service Host is used by the Diagnostic Policy Service to host diagnostics that need to run in a Local Service context.  
If this service is stopped, any diagnostics that depend on it will no longer function.



Path to executable:

C:\WINDOWS\System32\svchost.exe -k LocalService -p

Regedit:
This method shows you how to Start/Stop Diagnostic Service Host service from Registry Editor

Perform the following steps:

Please go to Start and click on the Type here to search

Type regedit and press Enter

Please confirm User Account Control pop-up

Microsoft official disclaimer


Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require
that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.


Please navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WdiServiceHost and locate Start registry key

Double click on Start and edit the value:


Change Startup type :

Automatic - 2

Manual - 3

Disabled - 4

Automatic (Delayed Start) - 2


Note: When you change to Automatic (Delayed Start) a new key DelayedAutostart is created with value 1

When you change to Automatic from Automatic (Delayed Start), DelayedAutostart change value to 0

Services Regedit CMD Msconfig