Always remember to do a backup of your data because you may lose it in the process. Speaking of the process, it may take quite a lot of time, so it's better to keep your PC plug-in to charge. N.B.
Unexpected laptop restarts are caused by some sort of unrecoverable hardware or software problem. Software related issues are no different for laptops than desktops; they can usually be resolved by ...