Registry Location of Windows Diagnostic Packs
This article provides a concise guide to locating the registered system diagnostic and troubleshooting packs within the Windows Registry Editor (Regedit). In Windows, the operating system registers and tracks automated troubleshooting packs and Windows Diagnostic Infrastructure (WDI) components across specific registry keys. Below are the precise registry paths, what each key controls, and the corresponding file system directories where the underlying diagnostic packages are stored.
Primary Registry Locations for Diagnostic Packs
Windows stores registration details, policies, and execution data for diagnostic packs in the following registry paths:
- Scheduled and Registered Diagnostics
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics - Subkey:
ScheduledDiagnostics - Purpose: This key contains the registration entries and configuration details for built-in automated troubleshooting tasks that run on a schedule or on-demand.
- Path:
- Windows Diagnostic Infrastructure (WDI)
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WDI - Subkeys:
{Scenario-GUIDs}Config
- Purpose: Contains configuration settings, scenarios, and resolution mechanisms for the Windows Diagnostic Engine and its associated troubleshooting components.
- Path:
- Group Policy Diagnostic Settings
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI - Purpose: If configured by an administrator, this key stores execution levels, script execution policies, and package restrictions for Windows Troubleshooting.
- Path:
- Diagnostic Task Scheduling
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Diagnosis - Purpose: Tracks the system tasks responsible for triggering diagnostic sweeps and scheduled maintenance packs.
- Path:
Physical File Storage for Diagnostic Packs
While metadata and configuration reside in the registry, the actual diagnostic scripts, package manifests, and resources are stored in the local file system:
- System Packs:
C:\Windows\diagnostics\system - Package Indexes:
C:\Windows\diagnostics\index
Inside the system folder, individual subdirectories
(such as Audio, Networking,
Performance, and Power) contain the XML
manifests (DiagPackage.diagpkg) and PowerShell scripts used
to detect and resolve system issues.
How to Access the Keys in Regedit
- Press
Win + Rto open the Run dialog. - Type
regeditand pressEnter. - Paste any of the registry paths listed above into the address bar at the top of the Registry Editor to view the registered packages and their configurations.