(You will have to copy the upgrade log files to a computer running Windows 10 to analyze them.)ĭownload the SetupDiag tool following this link and run it in the elevated cmd. You can use the tool both to diagnose the upgrade errors of Windows 10 builds and when upgrading from Windows 7 SP1 or Windows 8.1 to Windows 10. NET Framework version installed on your computer). NET Framework 4.6 or higher to be installed on your computer ( Checking. SetupDiag.exe works in Windows 10, and requires. SetupDiag scans Windows install logs and looks for specific errors in them that indicate a particular Windows upgrade issue.
It is a command line tool and it must be started directly on Windows 10 computer, that was not upgraded, or on the offline mode on another computer, to which you must copy the log files from the problem computer in advance. SetupDiag Error: Main() failed with an unhandled exceptionįortunately, Microsoft has recently released a new diagnostic tool, SetupDiag.exe, which allows you to get a detailed information about the reasons why Windows 10 build was not upgraded on your computer.