Install via Winget
winget install Microsoft.SetupDiag
Open Windows Terminal or PowerShell and run the command above. Winget is built into Windows 10 (1809+) and Windows 11.
About SetupDiag
A diagnostic tool that can be used to obtain details about why a Windows upgrade was unsuccessful.
Frequently Asked Questions
How do I install SetupDiag using winget?
Open Windows Terminal or PowerShell and run:
winget install Microsoft.SetupDiag. Winget is built into Windows 10 (1809+) and Windows 11.What is SetupDiag?
A diagnostic tool that can be used to obtain details about why a Windows upgrade was unsuccessful.
Is SetupDiag free to download?
SetupDiag is available under the Proprietary (Freeware) license. Use the winget command or the direct download link on this page.
How do I update SetupDiag with winget?
Run
winget upgrade Microsoft.SetupDiag in Windows Terminal or PowerShell to update SetupDiag to the latest available version.