{"id":10224,"date":"2019-06-23T23:48:51","date_gmt":"2019-06-23T21:48:51","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=10224"},"modified":"2019-06-23T23:52:04","modified_gmt":"2019-06-23T21:52:04","slug":"windows-10-diagnose-tool-setupdiag","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2019\/06\/23\/windows-10-diagnose-tool-setupdiag\/","title":{"rendered":"Windows 10: Diagnose tool SetupDiag"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2015\/01\/win102.jpg\" width=\"58\" align=\"left\" height=\"58\">[<a href=\"https:\/\/www.borncity.com\/blog\/2018\/04\/16\/windows-10-neues-diagnose-tool-setupdiag\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]Microsoft has released in April 2017 Microsoft diagnostic tool called SetupDiag. This is intended to facilitate error analysis if the installation or upgrade of Windows 10 fails.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg07.met.vgwort.de\/na\/ea0067f2f76a4dffbf406fc1e97610c7\" width=\"1\" height=\"1\">If the installation of Windows 10 fails, good advice is expensive. The setup wizard writes log files with corresponding instructions. But their evaluation is laborious. I've published some articles on this topic (see links at the end of the article).  <\/p>\n<h2>SetupDiag: a new diagnose tool<\/h2>\n<p>Within <a href=\"https:\/\/twitter.com\/mniehaus\/status\/980938747968540672\">a Tweet<\/a> Microsoft's Michael Niehaus has been made aware of a new diagnostic tool which is intended to help with Windows 10 installation issues.  <\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"de\">\n<p lang=\"en\" dir=\"ltr\">New SetupDiag tool released to help figure out why Windows 10 upgrades fail <a href=\"https:\/\/t.co\/AhA4i8Z9xS\">https:\/\/t.co\/AhA4i8Z9xS<\/a><\/p>\n<p>\u2014 Michael Niehaus (@mniehaus) <a href=\"https:\/\/twitter.com\/mniehaus\/status\/980938747968540672?ref_src=twsrc%5Etfw\">2. April 2018<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/p>\n<p>The description of the tool including the download link can be found on <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/deployment\/upgrade\/setupdiag\" target=\"_blank\" rel=\"noopener noreferrer\">this Microsoft page<\/a>. SetupDiag.exe is a standalone diagnostic tool that gives you details about why an upgrade to Windows 10 was not successful..<\/p>\n<p>The target system must be Windows 10 and the tool requires .NET Framework 4.6. Because the tool runs at the command prompt, it requires administrative privileges.<\/p>\n<h2>SetupDiag analyze Windows Setup log files<\/h2>\n<p>SetupDiag examines the Windows Setup log files and attempts to analyze them. The following folders are scanned for corresponding files and the log files are evaluated.<\/p>\n<p>\\$Windows.~bt\\sources\\panther<br \/>\\$Windows.~bt\\Sources\\Rollback<br \/>\\Windows\\Panther<br \/>\\Windows\\Panther\\NewOS  <\/p>\n<p>The goal is to determine the cause of an error when you upgrade or upgrade your computer to Windows 10.  <\/p>\n<ul>\n<li>SetupDiag can run on the computer that could not be upgraded.\n<li>You can export logs from the computer to another location and run SetupDiag in offline mode (\/Mode:&lt;Offline&gt; switch). The path to the log files can be specified with the \/LogsPath: option.<\/li>\n<\/ul>\n<p>If <em>SetupDiag.exe<\/em> is lunched from the Command Prompt window and the User Account Control query is confirmed, it evaluates the log files in online mode  <\/p>\n<p><img decoding=\"async\" title=\"SetupDiag.exe im Fenster der Eingabeaufforderung \" alt=\"SetupDiag.exe im Fenster der Eingabeaufforderung \" src=\"https:\/\/i.imgur.com\/HjePb9J.jpg\">  <\/p>\n<p>As a result, a file SetupDiag_&lt;date&gt;.log is created in the same folder where the SetupDiag.exe is located. You can also specify the path to the output file:  <\/p>\n<p>SetupDiag.exe \/Output:&lt;path+file&gt;  <\/p>\n<p>A detailed explanation of the call options can be found on <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/deployment\/upgrade\/setupdiag\" target=\"_blank\" rel=\"noopener noreferrer\">this Microsoft page<\/a>. An example output is also shown there. The tool can also be used to analyze BlueScreens. There are also some known problems with the tool at the moment. <\/p>\n<p><strong>Similar articles<\/strong><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/07\/05\/how-to-decode-windows-errors\/\">How to decode Windows errors?<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/10\/15\/windows-10-analyze-upgrade-errors\/\">Windows 10: Analyze upgrade errors<br \/><\/a><a href=\"https:\/\/borncity.com\/win\/2016\/11\/29\/windows-how-to-decode-update-0x8024-errors\/\">Windows: How to decode update 0x8024\u2026. errors<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/07\/08\/check-and-repair-windows-system-files-and-component-store\/\">Check and repair Windows system files and component store<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2015\/07\/31\/windows-10-upgrade-error-0xc1900101-0x20004\/\">Windows 10: Upgrade error 0xC1900101 \u2013 0x20004<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2012\/11\/05\/windows-8-upgrade-troubleshooting-and-analysis\/\">Windows 8 Upgrade: Troubleshooting and analysis<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/08\/03\/windows-10-update-error-0x80070057\/\">Windows 10: Update error 0x80070057<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/07\/28\/windows-10-rollback-to-windows-8-1-is-missing\/\">Windows 10: Rollback to Windows 8.1 is 'missing'<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2018\/06\/21\/fix-windows-10-hangs-in-update-installation-loop\/\">Fix: Windows 10 hangs in update installation loop<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/12\/31\/how-to-block-windows-10-updates\/\">How to block Windows 10 updates<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Microsoft has released in April 2017 Microsoft diagnostic tool called SetupDiag. This is intended to facilitate error analysis if the installation or upgrade of Windows 10 fails.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1547,2],"tags":[1998,76],"class_list":["post-10224","post","type-post","status-publish","format-standard","hentry","category-software","category-windows","tag-setupdiag","tag-windows-10"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=10224"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10224\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=10224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=10224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=10224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}