I had the problem when the windows was about to update (when it downloaded the updates and it needed to restart). I think I found the solution:
go to Task scheduler >Task scheduler...