I hope you are all aware of the importance of updating your computer. Microsoft and all the major companies have a 24/7 working team that analyses the bugs, malware and technical issues in a product and releases fixes or solutions to those issues. These fixes are then rolled out to the customer’s computer through updates. Once the customer downloads and installs the update, it would automatically resolve any real issue with the product or update the software with new features.

It is recommended to keep your Windows 10 computer update at all times, and if you face an error while updating the computer, then there are many ways you can resolve that error. However, one of the best ways is SetupDiag which is a free Microsoft Utility and can help you to diagnose any problem and find resolutions to the issue.

Also Read: How To Prevent Windows Updates From Crashing Your PC

How To Download Setupdiag to Fix Windows 10 Updates Problem?

SetupDiagis a free application by Microsoft for Windows 10 and requires .NET Framework 4.6 or above to function. To check the .NET version of your computer, you can type the following command in the PowerShell window of your computer.

Step1. Type PowerShell in the search box located on the bottom left corner of the taskbar to open the application.

Step 2. From the searches displayed, choose the relevant result and then click “Run In Administrator Mode”.

Step 3. Type the following command in the PowerShell window to get the .NET version.

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

Step 4. The results from my computer show that the .NET version is 7677, which means that  SetupDiag is compatible with this system. Close the PowerShell window.

Download Setupdiag from Microsoft Website now.

Download the latest .NET version from this link.

How to Use SetupDiag to Fix Windows 10 Updates Problem?

Once you download SetupDiag.exe from the above link, double click on the executable file, and it would open a command prompt window and search for the setup logs in your computer. This process will take some time as the tool gathers information from various system files on our computer. As per the official Microsoft website, SetupDiagscans the entire Windows 10 system files and compares them with 60+ error rules. Some of these rules include System Partition Disk, Boot Failure Detection, Component Failures etc.

The folders accessed by SetupDiagprimarily are :

$Windows.~bt\sources\panther

$Windows.~bt\Sources\Rollback

\Windows\Panther

\Windows\Panther\NewOS

When the process gets completed, you will find that three new files would have been created in the download folder. Those files are:

  • exe.config (configuration file)
  • log (analysis results).
  • zip (error log files)

The SetupDiagResults.log will contain the reason for the failed update.

Also Read: How To Turn Off Automatic Updates In Windows 10

How To Troubleshoot Withsetupdiag To Fix Windows 10 Updates Problem?

There might be many reasons why the updates failed on your system, however, if the error is due to a system file, then the best troubleshooting step you can perform is to run the System File Checker or SFC for short. Here are the steps to run SFC in your system:

Step 1. Open Command Prompt in elevated mode by pressing Windows + X + A.

Step 2. In the black and white window type the command below:

SFC/scannow

Step 3. Press Enter and wait. This is a lengthy process and will take some time. While scanning your computer for system files, this command will fix any erroneous and corrupt files as well.

Step4. Once SFC completes, run another command in the command prompt:

CHKDSK

Step 5. This will check for Disk errors and fix the issue.

Step 6. Close the command prompt and restart the computer.

Now try to run the updates as this would have most probably fixed your Windows 10 updates problem.

Also Read: Windows 10 KB4549951 Upgrade Failed, Causing Crashes & Data Loss: How To Prevent It

Did You Try Using Setupdiag To Fix Windows 10 Update Problems?

Microsoft has many secret in-built utilities and tools that can resolve almost all issues and error within Windows 10, and SetupDiagis one of them. Try using it if you face any Windows 10 Updates issues.

Follow us on social media – Facebook and YouTube. For any queries or suggestions, please let us know in the comments section below. We would love to get back to you with a solution. We post regularly on the tips and tricks along with solutions to common issues related to technology. Subscribe to our newsletter to get regular updates on the tech world.

People Who Read This Post Also Like