I've seen similar posts here, but none that exactly match my issue.
I am running Windows 10, and if I leave my PC (ASUS M32) idle for a few minutes, it reboots. If I use it continuously, it's fine. I have installed every system update and checked my drivers to make sure they are up to date and I even ran a virus scan (I use McAfee). If I set my power settings to never put my screen or PC to sleep, the issue still occurs.
I've had my PC since March, but this problem started just a couple of weeks ago.
I tried asking the support technician over chat, and she said I might have to contact ASUS and have my power supply unit replaced, but I figured I'd throw it over to the community before attempting that.