batcmd.com Windows 10 Services

Diagnostic Execution Service - Windows 10 Service

Executes diagnostic actions for troubleshooting support.

This service exists in Windows 10 only.

Startup Type

Windows 10 version Home Pro Education Enterprise
1507 not exists not exists not exists not exists
1511 not exists not exists not exists not exists
1607 not exists not exists not exists not exists
1703 not exists not exists not exists not exists
1709 Manual Manual Manual Manual

Default Properties

Display name:Diagnostic Execution Service
Service name:diagsvc
Type:share
Path:%WinDir%\System32\svchost.exe -k diagnostics
File:%WinDir%\system32\DiagSvc.dll
Error control:normal
Object:LocalSystem
Privileges:
  • SeTcbPrivilege
  • SeTakeOwnershipPrivilege

Default Behavior

The Diagnostic Execution Service is running as LocalSystem in a shared process of svchost.exe. Other services might run in the same process. If Diagnostic Execution Service fails to start, the error is logged. Windows 10 startup proceeds, but a message box is displayed informing you that the diagsvc service has failed to start.

Dependencies

Diagnostic Execution Service is unable to start, if the Remote Procedure Call (RPC) service is stopped or disabled.

Restore Default Startup Type for Diagnostic Execution Service

Automated Restore

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

2. Save the RestoreDiagnosticExecutionServiceWindows10.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 DiagSvc.dll file exists in the %WinDir%\system32 folder. If this file is missing you can try to restore it from your Windows 10 installation media.