Windows Updates often get put in to your PC with out hassles. But there are events when it requires a bit of labor, particularly in the case of compatibility and patches. If you come throughout such failed replace errors, you first must manually search the error code after which search for troubleshooting steps. All this consumes time. So, Microsoft has provide you with a easy resolution – SetupDiag.exe.
SetupDiag.exe is a standalone diagnostic device for locating particulars about why a Windows 10 improve failed to put in. If you know, the replace course of in Windows 10 has been totally streamlined however that doesn’t imply it’s at all times problem-free and therefore, the device.
How SetupDiag works
SetupDiag.exe requires Microsoft .NET Framework four to be put in in your PC. The device works by inspecting Windows Setup log recordsdata and parse them to seek out the foundation explanation for a failure to replace or improve the pc to Windows 10. SetupDiag may be run on the pc that didn’t replace, or you can export logs from the pc to a different location and run SetupDiag in offline mode.
Once you have the device up and operating, it may be used for performing checks and evaluation additionally. Whenever Windows comes throughout a scenario that seemingly intends to compromise secure system operation, the system halts. This situation is named a bug examine. It can be generally known as a-
- System crash
- Kernel error
- Stop error or BSOD
The typical trigger for this concern is both a machine, driver, or some associated software program.
If the bug examine happens throughout an improve, Windows Setup extracts a minidump (setupmem.dmp) file.
To debug a setup associated bug examine, one should:
Specify the /Mode: Offline and /LogsPath parameters and check out gathering the setup reminiscence dump file (setupmem.dmp) from the failing system.
Please notice: You can’t debug reminiscence dumps in on-line mode.
You will discover Setupmem.dmp beneath both
relying on when the bug examine happens.
Thereafter, you can set up the Windows Debugging Tools on the pc that runs SetupDiag. If you selected to run the device with out parameters, it makes an attempt to find log recordsdata that Windows 10 creates through the improve course of within the default folders on the machine.
The program additionally creates a outcomes.log file in its listing after the completion of the scanning course of. Any improve points encountered are quickly detected within the log recordsdata throughout parsing.
Apart from the above, SetupDiag creates a zipper archive of all log recordsdata that it processed and in addition saves Logs.zip file in the identical listing as effectively.
Lastly, there’s an choice to even run SetupDiag.exe in offline mode to parse folders copied from one other machine.
For full particulars on how you can use SetupDiag.exe you can learn this Microsoft Doc.