are there devices which are allowed to wake your computer?
powercfg -devicequery wake_armed
if anything shows up, disable those devices with this command:
powercfg -devicedisablewake "Device Name"
I quickly googled this but I don't expect a lot of people to know what to search for, so if you've already found this and tried it, then I really am out of ideas this time.
if you haven't tried this, try it, and I really hope it helps.
I got rid of that PC a year ago :P But trust me, I tried literally every trick in the book, including the one above. No devices had the capability to wake up the PC(yes, including the mouse and the keyboard), disabled all wake timers, disabled all networking(in fact unplugged the ethernet cable).....it would still wake up in the middle of the night. It was the most confusing thing I ever dealt with in computers.
It's possible auto wakeup was enabled in the BIOS, with the wake time set to the default of 00:00.
Alternatively, if it was a different time, perhaps *that* was the default, or maybe the value accidentally got changed.
Alternatively-alternatively, maybe the BIOS had a bug in it that somehow enabled auto wake without presenting an option. To tackle this, I would've reset the BIOS settings. (I once had an ADSL2+ modem that randomly started flaking out and not connecting correctly. Changed every accessible setting I could, no dice. Factory reset = instantly back to normal.)
if you haven't tried this, try it, and I really hope it helps.