I can offer you a pre-occurrence solution. That is to create a restore point before the problem. When that problem happens go to help and support center by going to start > help and support > Undo changes to your computer with System Restore.
There you'll find various restore points created and chose the nearest date.
Another solution is to do a cold booting. That is to switch off your computer by the on/off button, then on again and allow it to boot. As the system does that it corrects any less serious errors.