SetupDiag
Microsoft.SetupDiag
// WINGET INSTALL
> winget install Microsoft.SetupDiag
About
A diagnostic tool that can be used to obtain details about why a Windows upgrade was unsuccessful.
Frequently Asked Questions
Open PowerShell or Command Prompt and run: winget install Microsoft.SetupDiag. Winget is built into Windows 10 (1809+) and Windows 11.
A diagnostic tool that can be used to obtain details about why a Windows upgrade was unsuccessful.
SetupDiag is available under the Proprietary (Freeware) license. Use winget or the direct download link on this page.
Run winget upgrade Microsoft.SetupDiag in PowerShell or Windows Terminal to update SetupDiag to the latest available version.
Run winget uninstall Microsoft.SetupDiag in an elevated PowerShell window, or go to Settings > Apps > Installed Apps and find SetupDiag.