batcmd.com Windows 8 Services

Diagnostic Service Host - Windows 8 Service

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.

This service also exists in Windows 10, 7 and Vista.

Startup Type

Windows 8 edition Windows 8 Windows 8.1 Windows 8.1 Update 1
Core Manual Manual Manual
Pro Manual Manual Manual
Enterprise Manual Manual Manual

Default Properties

Display name:Diagnostic Service Host
Service name:WdiServiceHost
Type:share
Path:%WinDir%\System32\svchost.exe -k LocalService
File:%WinDir%\system32\wdi.dll
Error control:normal
Object:NT AUTHORITY\LocalService
Privileges:
  • SeChangeNotifyPrivilege
  • SeImpersonatePrivilege
  • SeSystemProfilePrivilege

Default Behavior

The Diagnostic Service Host runs as NT AUTHORITY\LocalService in a shared process of svchost.exe. Other services might run in the same process. If Diagnostic Service Host fails to start, the error is logged. Windows 8 startup proceeds, but a message box is displayed informing you that the WdiServiceHost service has failed to start.

Restore Default Startup Type for Diagnostic Service Host

Automated Restore

1. Select your Windows 8 release and edition, and then click on the Download button below.

2. Save the RestoreDiagnosticServiceHostWindows8.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.

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 8 installation media.