Problem: I do not like that the computer reboots automatically.
Solution: Reboot computer manually.
Solution: Reboot computer manually.
People seem to complain about Windows rebooting outside of their control. This fixes that problem, and it's not like most people need their computer to be on when they're asleep anyway.
Anyway, I'm glad that Windows restarts for me when I'm sleeping and I wish my Macs would do the same. It's pretty easy to avoid having it restart at the wrong time - you just go into the Settings and tell Windows what your active hours are. They let you enter a time range of up to 18 hours.