top of page
Writer's pictureMehmood Kajee

Windows 10 - Using SetupDiag to Diagnose Windows Upgrade Problems

SetupDiag is a diagnostic tool that can be used to obtain details about why a Windows 10 upgrade was unsuccessful.


SetupDiag works by examining Windows Setup log files. It attempts to parse these log files to determine the root cause of a failure to update or upgrade the computer to Windows 10. SetupDiag can be run on the computer that failed to update, or you can export logs from the computer to another location and run SetupDiag in offline mode.


So now we know what Microsoft has got to say, let's being


We need to make sure we have .NET framework 4.6 or above. If you don't click here. If in doubt we can query the registry.


Open the registry and check run the following command in cmd.exe, in our screenshot it's version 4.8.04084

reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4" /s 


Now that the .net framework is correct we need to install SetupDiag.exe. Click here to get the latest version.


I tend to download the file to C:\Temp




Launch cmd.exe as administrator and run the program and let it run it's course



Once it's run a Logs.zip is created. Extract the contents and open SetupDiagResults.log in notepad




A report similar to the below will be generated and can be used to troubleshoot any issues.



2 views0 comments

Comments


bottom of page