A lesser known but useful tool in troubleshooting Windows 10 upgrade.

https://learn.microsoft.com/en-us/windows/deployment/upgrade/setupdiag