Yep, that’s the solution. I’d probably do a memory test and a full error scan of the HDD or SSD before reinstalling to rule out any hardware causes of the OS taking a dump.
BTW, you can also piratebay the unmolested Win 7 install discs if you have the COA sticker. And unless I really needed it, I’d just stick with Win 7 and not upgrade, holding out for Win 9 Desktop Edition.