Windows 10 computer turns on by itself

A computer turning on all by itself randomly can be very annoying. 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. There could be multiple reasons why your Windows computer turn itself on and wakes up from sleep, standby or even when its shutdown. Let’s have a look at all the possible factor, but before that, there is a way to find out what woke up your computer.

Find out what woke your computer

Open a command prompt with admin privileges, and type the following command and hit Enter:

powercfg –lastwake

This will show you the last device which woke up your PC.  The second command is:

powercfg –devicequery wake_armed

This will show a list of all devices which can wake up your PC. The idea to run these command is to understand the reason if it’s on the hardware level.

Windows 10 computer turns on by itself

You can see from the list that there are three devices which can wake up my PC. You have the keyboard, mouse and the Gigabit Network connection, i.e., Ethernet.

Windows 10 computer turns on by itself

If your Windows computer turns on by itself from Sleep at night or on any other times randomly, it can be a hardware or a software problem, and the resolution will depend on this. Here are a few suggestions that may help you.

1] Disable Fast Startup

Windows 10 comes with Fast Startup mode which doesn’t turn off your PC the usual way. Instead, it keeps it in a mixed state so when you turn on the PC again, it is much faster. According to a few experts on the form, this can be an issue, and the solution would be to disable Fast Startup.

2] Prevent Task Scheduler from waking up the PC

Sometimes it’s more of a software problem, than a hardware problem. It is possible that you are using a Scheduled Task to get some of your work done at a specific time of the day or multiple time of the day. So we need to get rid of them, and instead of deleting those tasks, we can change the Power settings of Windows to make sure it ignores those tasks when on Standby or Hybrid mode.

  1. Open Power Options > Click on Change Plan Settings.
  2. Make sure to select the right power plan, and then choose the option Change advanced Power settings.
  3. Look for the Sleep tree and expand it to find the option which says  Allow Wake Timers. Disable it.

This will make sure that none of that program can wake up your PC when it’s in sleep mode or shutdown mode. This applies only to Laptops.

3] Disable Automatic Restart

Many a time the computer crashes, and the system restart itself. This is by design. If you have left your PC on standby, and this happens, the computer will restart, and if the problem repeats, this will keep waking your PC.

DIsable Automatic Restart when system crashes

  • Type System on the on the Search bar.
  • When it appears, click to launch.
  • On the left, select Advanced system settings > Advanced tab
  • Click on Settings under Startup and Recovery.
  • Uncheck mark on Automatically Restart and click on OK.

4] Keyboard or Mouse Waking up your PC

The keyboard and mouse are one of the major culprits when it comes to waking up your PC. Maybe somebody just went by your PC, and slightly hit them, and your computer turns on. On my PC, I have set the keyboard to boot up my PC, and when my kid just pretends to be working on the keyboard, the computer comes alive.

These devices come with power management option, and you can disable it to make sure they don’t wake up your PC unless you really want to wake them up.

Open Device Manager (Win+X and then hit M). This will list all the hardware on your PC. Select your mouse or the keyboard.

Right click and go to properties > Power Management tab. Now uncheck the box which says Allow this device to wake the computer.DIsable Automatic Restart when system crashes

Apart from the mouse, and keyboard if you are using any gaming rig to play games on your PC, you need to disable power options for them as well. You can figure that out with the powercfg –lastwake command we shared above. You will need to do trial and error to figure out which device is waking the device.

Note: Make sure to have at least the keyboard or mouse to have the ability to wake up.  You don’t want to hit the Power button every time to wake your PC.

5] Wake on Lan

If your PC is connected to a network, Wake On Lan can also bring back your PC online. This feature comes in handy when a computer wants to communicate or send data or files to a network computer which should only come online when it is requested. Built into the hardware, i.e., network adapter, this could be one possible reason. If you check the screenshot where we ran the command, you will notice that we do have the ethernet adapter as one of the wake-up devices.

Open Device Manager (Win+X and then hit M). Under Network adapters, find the one that was listed above. Do not change anything with those listed as Miniport.

Right-click and select Properties > Power management > Uncheck the option which says ‘Allow this device to wake up the computer‘.Fix Computer turns on by itself Windows 10

This will make sure no PC on the network can wake your PC. However, make sure to remember this in case you need it.

6] Prevent Scheduled Windows Update & Automatic maintenance

Depending on your active hours or a predefined schedule, it is possible that its the Windows Update that has restarted your PC to complete the update. Windows also has in-built Automatic Maintenance mode which wakes up the PC at the set time and performs all the update on your PC.

Disable Automatic Maintenance Windows 10

Open Settings > Windows Update and Security > Windows Update > Select Active Hours.

To change the time for Automatic maintenance, type Automatic maintenance in the search bar, and click on it. Here you can change the timing or just uncheck the box ‘Allow scheduled maintenance to wake up my computer at the scheduled time‘.

I hope all these help you solve the problems which had been waking up your Windows 10 PC all of a sudden.

A little more here:

  1. Windows computer wakes from sleep automatically
  2. Prevent Computer from waking up from Sleep.
Posted by on , in Category Windows with Tags
Ashish is a veteran Windows, and Xbox user who excels in writing tips, tricks, and features on it to improve your day to day experience with your devices.