My second-hand nas/entertainment-center nuc7 was hanging at random times, initially once a month, then once a week then twice a day - always when idle, never under load. Turned out replacing the power supply worked! No more crashes in the last month.