Some of these will need admin permission. Here are a few suggestions that may help you. If your Windows computer turns on by itself from Sleep at night or at any other time randomly, it can be a hardware or a software problem, and the resolution will depend on this. Windows 11/10 computer turns on by itself
You have the keyboard, mouse, and the Gigabit Network connection, i.e., Ethernet. You can see from the list that there are three devices that can wake up my PC. The idea to run these commands is to understand the reason if it’s on the hardware level. This will show a list of all devices which can wake up your PC. The second command is: powercfg –devicequery wake_armed This will show you the last device which woke up your PC. Open a command prompt with admin privileges, and type the following command, and hit Enter: powercfg –lastwake Let’s have a look at all the possible factors, but before that, there is a way to find out what woke up your computer. There could be multiple reasons why your Windows 11 or Windows 10 PC turns itself on and wakes up from sleep, standby, or even when it’s shut down.
I have faced this situation multiple numbers of times, and I had to make sure to turn the switch off, so there is no chance of it turning on automatically. A computer turning on all by itself randomly can be very annoying.