Problem with sonoff basic and pc shutdown

Good luck and HAPPY BIRTHDAY! I suddenly have a problem with a SONOFF BASIC (already replaced) and my PC. once the pc is turned on, it turns off only after a few minutes and sometimes even while windows is loading… i tried to replace the sonoff basiic, redo the coupling, to remove the ‘automatic restart’ item, i deflagrated the lan card “energy saving”, I checked in the bios that the “wake on lan” item remained active … nothing, it continues to restart … what can I do? thanks.