The System File Checker (SFC) feature in Windows is an automated utility that scans Windows system files for possible corruption, and replaces damaged or missing files. Malware or even power outages can damage such files, and running the following code in the command line can sometimes be a quick remedy for BSODs (Blue Screen of Death) and other crashes.
sfc /scannowIf your machine is all good, it should display the following. If not, it should fix the problems and create a status report.
Windows Resource Protection did not find any integrity violations.