How to Use SetupDiag to Diagnose Windows 10 Upgrade Problems.
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.
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.
- Related Article: How to fix Windows 10 Update Problems.
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:
- Net Framework 4.6 or later already installed.
To find out the installed version of Net Framework, give the following command in PowerShell or in Command Prompt:
- reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4" /s
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.~bt\sources\panther
- \$Windows.~bt\Sources\Rollback
- \Windows\Panther
- \Windows\Panther\NewOS
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):
-
- SetupDiag.exe.config (which is the configuration file)
- SetupDiagResults.log (which contains the analysis results).
- Logs.zip (which contains the error log files)
6. Open the "SetupDiagResults" log file in Notepad to find out the cause of the failed upgrade and see this MS Guide to resolve the error.. *
* 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.
- Related Article: How to fix Windows 10 Update Problems.
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.
We're hiring
We're looking for part-time or full-time technical writers to join our team! It's about a remote position that qualified tech writers from anywhere in the world can apply. Click here for more details.
- How to Send Automatic Replies in Outlook with an Office365/Exchange Account. - December 6, 2023
- How to Send Automatic Replies in Outlook with POP3/IMAP Accounts. - December 4, 2023
- How to Easy Update to Windows 11 23H2 on Unsupported Hardware. - November 29, 2023
February 17, 2021 @ 9:16 am
Great blog to diagnose Windows 10 upgrade problem. Thanks for sharing such a useful information on Windows 10.