The problem started soon after we bought the machine. This all-in-one machine uses a special power supply and that to me is a red herring that worked for a desktop with an industry-standard desktop power supply. The fact that one person has the problem on two laptops pretty much tells me it is not a voltage/power problem.
HWmonitor will tell you if there are hardware issues off https://www.cpuid.com/softwares/hwmonitor.html
Diskcheckup will tell you the health of your disks https://www.passmark.com/products/diskcheckup/