The causes behind the error could be a faulty device driver, an issue with the BiOS, or an interfering system service.
Since we can usually log in to the system, we could boot the system in normal more. Else, we could boot into the system in Safe Mode as suggested here.
Try the following preliminary steps:
1] Scan your system for virus and malware, either using Windows Defender or any reputable 3rd party anti-virus.
2] Uninstall any recently installed suspicious software.
3] Update windows and mentioned here.
If they don’t help, proceed with the following solutions:
1}Update all the device drivers
2} Update the BiOS
3} System restore
Solution 1] Update all the device drivers
The general procedure to update device drivers is as follows:
Since it is difficult to update all the drivers, we could use 3rd party tools available online to help with the same.
Solution 2] Update the BiOS
Another reason behind this issue is an unsupportive BiOS. We could download and install the latest version of the BiOS from the manufacturer’s website.
Solution 3] Check for memory problems with the system
This would automatically check for issues with the system.
Solution 3] System restore
We could also restore the system to a previous date. It would be helpful in restoring the previous drivers as well.
Hope it helps!