I did a windows reset on my PC, keeping my files and settings, due to not being able to log into my user, since each login attempt would lead to a black screen. Before this problem, while I was still able to log into my user, my start menu stopped working completely. The reset solved all this, but 30 seconds after logging into my user after the reset, I got a blue screen of death with the error code 'Kernel security check failure', and the PC restarted. I would like to prevent further complications, so is there a way to prevent this from happening again? And why would this occur directly after resetting windows and installing it again?