Saturday, July 24, 2021

Understandnig reason for Windows upgrade failing (like BSOD)

If windows upgrade fails, like with a blue screen of death, it flashes the error a minute or so, and then rolls back the upgrade. 

The error shown may not have much details and in most cases will not help figure out what went wrong.

In such cases SetupDiag can be of help

In latest version of windows upgrade install, SetupDiag runs automatically after upgrade failures. The results can be found in below location

%windir%\logs\SetupDiag\SetupDiagResults.xml

This log is in a much more understandable format compared to pouring over all the setup log files

More about SetupDiag and how to manually run this tool, please see here

 

Note:

Most of the time, upgrade failures are due to driver compatibility issues. In such a case, you should be able to see the driver details and dll linked to it in the above log file. Once you know which driver is causing issue, you may want to open windows "Device Manager" and completely un-install the device before attempting upgrade again

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...