My computer turns back on every time I shut it off - you hear the click and everything stops for 1 second and then the PC turns itself back on. I can only turn the system off permanently by doing 1 of 2 things: holding down the power button for 4 seconds or unplugging the Ethernet cable before initiating the shutdown.
I feel like I've gone through every troubleshooting step I could find: I have turned off the ability for my network adapter to wake my PC under device manager and for my USB devices to do so. Under the advanced settings I have disabled the shutdown wake on lan, wake on magic packet, etc. I have encountered the problem with ErP (Gigabyte's WOL setting in BIOS) enabled and disabled. It is set to not wake in the case of a power outage. There are no scheduled tasks, Fast boot is off, I am using the latest version of my BIOS (Gigabyte Z690 Gaming x DDR4, version F31 from June of this year) which I also updated again after clearing CMOS, I have no pending windows updates, etc. I do not think it is a power button that is stuck given that I cleaned out the PC and it is able to stay turned off with the ethernet unplugged or after holding down the power button to shut it off. I drained the capacitors after clearing CMOS by disconnecting my PC from power and holding the power button down for 30 seconds.
I do not know then, how my router/modem is waking up my PC on shutdown. Can anyone help?