Try logging into Advanced startup options. The Advanced Boot Options screen lets you start Windows in advanced troubleshooting modes. You can access the menu by turning on your computer and pressing the F8 key before Windows starts.
Try to get the error message by using the option "Disable automatic restart on system failure" from advanced boot menu.
You could also restart your computer using the Last known Good Configuration and see if the issue can be fixed. It's a Windows startup option that uses the most recent system settings that worked correctly. Every time you turn your computer off and Windows
shuts down successfully, important system settings are saved in the registry. If a problem occurs, you can restart your computer using those settings. For example, if a new driver for your video card is causing problems, or an incorrect registry setting is
preventing Windows from starting correctly, you can restart your computer using Last Known Good Configuration. This will roll back the drivers.