Install with winget
Open PowerShell or Command Prompt and run:
winget install Microsoft.SetupDiag
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
About SetupDiag
A diagnostic tool that can be used to obtain details about why a Windows upgrade was unsuccessful.
Advanced Install Options
Install (latest)
winget install Microsoft.SetupDiagInstall (pinned version)
winget install --id Microsoft.SetupDiag -e --version 1.7.0.0Upgrade
winget upgrade Microsoft.SetupDiagUninstall
winget uninstall Microsoft.SetupDiagFrequently Asked Questions
How do I install SetupDiag using winget?
Open PowerShell or Windows Terminal and run:
winget install Microsoft.SetupDiag. Winget comes pre-installed on 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 use?
SetupDiag is distributed under the Proprietary (Freeware) license. Check the publisher’s site for full licensing details.
How do I update SetupDiag with winget?
Run
winget upgrade Microsoft.SetupDiag in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall SetupDiag?
Run
winget uninstall Microsoft.SetupDiag to remove SetupDiag from your system.