
SetupDiag.exe /Output:C:\SetupDiag\Results.log /Mode:Offline /LogsPath:D:\Logs For example, to search the log files offline in a certain folder and save the result to the specified file, run this command: You can run the SetupDiag tool in the offline mode and scan log files copied from another computer. The utility also creates a ZIP-archive with the source log files. The file contains the list of errors that occurred during the upgrade (you may specify the location of the resulting file using the /Output parameter). When the logs have been analyzed, the tool creates results.log file in the directory it is run from.
\$Windows.~bt\Sources\Rollback – upgrade files appear in this directory if Windows 10 upgrade finished with an error and you had to roll back to the previous build. By default, log files are located in the following folders: The SetupDiag search follows the standard paths that are created by the system at different stages of new Windows 10 build installation. When run without any parameters, the tool tries to find log files that Windows 10 creates during the upgrade. (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.