When you get the blue screen error while upgrading to a new version of the OS, your system will automatically roll back any changes and restore the previous version of it.
An incompatible piece of software, such as an old program or third-party antivirus, is likely the root of the problem.
1. Open Settings > click on System > click on Apps & features > Select the app and click the Uninstall button.
2. Follow the on-screen directions to complete the uninstall process. Repeat the steps to remove every piece of software that may be causing the problem.
Once you successfully upgraded to the latest version of Windows 10, you can reinstall the apps and they should work as expected.
It could also be a hardware related problem. When trying to make an installation of Windows 10 remember to always unplug non-essential peripherals, including secondary monitors, printers, phones, external hard drives and other USB devices (you only need your mouse, keyboard and main monitor).
You can always reconnect the hardware after the installation. If you continue to have the same problem, you may need to install newer drivers, or it could also be an indication of incompatible hardware.
It's possible that you're getting a blue screen because of damaged setup files, in which case you'll need to re-download the installation files.
If you're trying to upgrade using Windows Update, you can do this by using the Disk Cleanup tool to delete previously downloaded installation files. When you do this, Windows Update will re-download the files again to upgrade the OS.
1. Open Start > Search for Disk Cleanup and click the result > Select drive "Windows (C:)" and click OK > Click the Clean up system files button > Click OK.
2. Select drive "Windows (C:)" and click OK > Check the Temporary Windows installation files option > Click OK to delete the files.