// install via winget
Command Prompt & PowerShell
click to copy
winget install Microsoft.SetupDiag
// direct download
Download Installer// 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 PowerShell or Windows Terminal and run:
winget install Microsoft.SetupDiag. Winget ships with Windows 10 (1809+) and Windows 11 — no additional install needed.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 distributed under the Proprietary (Freeware) license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update SetupDiag with winget?
Run
winget upgrade Microsoft.SetupDiag in PowerShell or Windows Terminal to update SetupDiag to the latest available version.What architecture does SetupDiag support?
The listed installer targets the x86 architecture. See the publisher’s documentation for full compatibility details.