To fix a kernel security check failure error, remove any peripheral devices, disable Windows automatic restart, scan for corrupt files, and check the hard disk for errors. If you're still having trouble, restore the system to a past working point, use the Startup Repair Tool, or reset the computer.