How to Use SetupDiag to Diagnose Windows 10 Upgrade Problems.

How to Use SetupDiag to Diagnose Windows 10 Upgrade Problems.

Last updated on July 24th, 2019

In this tutorial you ‘ll find detailed instructions on how to use the SetupDiag utility, to diagnose Windows 10 Upgrade problems. The ‘SetupDiag; is a free diagnostic tool offered by Microsoft and it can help you to determine the exact reason of the failure of the Windows 10 update.

How to Use SetupDiag to Diagnose Windows 10 Upgrade Problems

Many Windows 10 owners experience problems while upgrading their systems, and in most cases the upgrade error that appears does not help to understand why this happened. To bypass this problem, you can use the ‘SetupDiag’, a standalone diagnostic tool that can be used to obtain details about why a Windows 10 upgrade was unsuccessful.

How to Diagnose and Resolve Windows 10 Upgrade Problems by using SetupDiag. *

1. Make sure that your Windows 10 computer meets the following requirement before using SetupDiag:

a. Net Framework 4.6 or later installed.

To find out the installed version of Net Framework, give the following command in PowerShell or in Command Prompt:

  • reg query “HKLMSOFTWAREMicrosoftNet Framework SetupNDPv4” /s

view net framework version

2. Download and save SetupDiag to your PC.*

* Source: https://docs.microsoft.com/en-us/windows/deployment/upgrade/setupdiag

3. When he download is completed double-click at SetupDiag application.

4. A command window will open and SetupDiag will start to diagnose the upgrade problems on your PC by analyzing the log files from the following folders:

  • $Windows.~btsourcespanther
  • $Windows.~btSourcesRollback
  • WindowsPanther
  • WindowsPantherNewOS

setupdiag diagnostic tool

5. When the analysis is completed, you will see the following three (3) new files, on the same location (folder) where you saved (run) the SetupDiag utility (commonly on your ‘Downloads’ folder):

    1. SetupDiag.exe.config (which is the configuration file)
    2. SetupDiagResults.log (which contains the analysis results).
    3. Logs.zip (which contains the error log files)

6. Open the “SetupDiagResults” log file to find out the cause of the failed upgrade. *

* Note: A detailed analysis of how SetupDiag works and how you can use SetupDiag to analyze the log files from another PC (who fails to upgrade), can be found on the following Microsoft article.

That’s all folks! Did it work for you?
Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:

If you want to stay constantly protected from malware threats, existing and future ones, we recommend that you install Malwarebytes Anti-Malware PRO by clicking below (we
do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):

Advertisements

Leave a Reply

Your email address will not be published. Required fields are marked *