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.
|Windows 7 edition||without SP||SP1|
|Display name:||Diagnostic Service Host|
|Path:||%WinDir%\System32\svchost.exe -k LocalService|
The Diagnostic Service Host runs as NT AUTHORITY\LocalService in a shared process. It shares an executable file with other services. If the Diagnostic Service Host fails to load or initialize, the error is recorded into the Event Log. Windows 7 startup should proceed, but a message box is displayed informing you that the WdiServiceHost service has failed to start.
1. Select your Windows 7 edition and Service Pack, and then click on the Download button below.
2. Save the RestoreDiagnosticServiceHostWindows7.bat file to any folder on your hard drive.
3. Right-click the downloaded batch file and select Run as administrator.
4. Restart the computer to save changes.
Note. Make sure that the
wdi.dll file exists in the
%WinDir%\system32 folder. If this file is missing you can try to restore it from your Windows 7 installation media.