microsoft.windows.diagnosis.sdhost.dll Error in Windows 11: A Windows troubleshooter closes immediately

A built-in diagnostic can close before it displays a result. Tie this guide to an actual Microsoft.Windows.Diagnosis.SDHost.dll error and capture the diagnostic you just opened.
Fastest safe first check
Check whether the system feature you were diagnosing still works. In Windows 11, open Settings > System > Troubleshoot > Other troubleshooters and use the current supported entry, or use the Get Help flow if Windows directs you there.
Verified file details
microsoft.windows.diagnosis.sdhost.dll is the Microsoft Windows Diagnosis SDHost assembly identified in the servicing manifest. The Windows 11 KB5131087 update notice and its Microsoft CSV file list identify the exact filename and file version 10.0.22621.3527. The matching servicing manifest identifies Microsoft.Windows.Diagnosis.SDHost (managed (MSIL)). This specimen appears in the update evidence for Windows 11 23H2. For repairs, use your release’s currently offered update from Settings.
Try the supported repair and repeat the test
- Use the supported troubleshooter for your Windows release. If several built-in troubleshooters also fault on the same Windows file, install the current Windows update and follow supported system repair. Keep existing services and policy settings.
- Open the same supported diagnostic and confirm it reaches its results screen, then test the device or Windows action that first prompted the diagnostic.
If the named error returns
If the named error returns, save its time, full path, Windows release and exact code. Match an application fault to the Windows event. An app-local path can belong to the app’s publisher, in which case use its supported installer.
Official help and related guides
Open the official instructions for the affected Windows feature · Check Microsoft’s built-in Windows file repair steps · Search the DLL guide library