Why Does My Computer Turn Back On After I Turn It Off?
In this article
If your computer powers back on by itself after you shut it down, the most likely cause is a wake setting, a scheduled task, or a device (like a mouse, keyboard, or network card) that is allowed to wake the PC. The fix is to find out what triggered the wake, then disable that trigger. This guide walks you through that process step by step, starting with the safest and simplest checks.
These steps are written for Windows 10 and Windows 11 PCs. Menu labels can differ slightly by version, device manufacturer, and region, so if a label does not match exactly, look for the closest equivalent. You will need administrator rights on the PC to change some power settings.
What You'll Need
- A Windows 10 or Windows 11 PC with administrator access
- A few minutes to run a command and check a few settings
- Optional: a notebook or phone to note down what you find
Step-by-Step
- Confirm it is a real shutdown, not sleep or hibernate. Press the Windows key, open the Start menu, click the power icon, and choose Shut down rather than Sleep. If the PC wakes from sleep, the same wake settings apply, but knowing which state you left it in narrows things down. Also check that the power button is not set to sleep: open Settings > System > Power & battery (Windows 11) or Settings > System > Power & sleep (Windows 10) and look at the power button behaviour. If it is set to sleep, a single press will look like the PC turned back on.
- Find out what woke the PC. Right-click the Start button and choose Terminal (Admin) on Windows 11, or Windows PowerShell (Admin) on Windows 10. Type
powercfg /lastwakeand press Enter. This shows the last device or event that woke the computer. If it names a device such as a network adapter, mouse, or keyboard, that is your culprit. If it says the wake source is unknown, continue to the next step. - Check which devices are allowed to wake the PC. In the same admin terminal, type
powercfg /devicequery wake_armedand press Enter. This lists every device currently allowed to wake the computer. Common entries are a mouse, keyboard, network adapter, or a USB hub. Note them down. - Disable wake on the devices you do not need. Open Device Manager (right-click Start > Device Manager). Expand Mice and other pointing devices, Keyboards, and Network adapters. For each device listed by the previous command, right-click it, choose Properties, open the Power Management tab, and clear Allow this device to wake the computer. Click OK. If the tab is missing, that device cannot wake the PC and you can leave it alone.
- Turn off wake timers. Scheduled tasks and Windows updates can wake a PC. Open Control Panel > Hardware and Sound > Power Options > Change plan settings > Change advanced power settings. Expand Sleep and then Allow wake timers, and set it to Disable for both On battery and Plugged in. Apply the change. Note that some Windows maintenance tasks may still run, but they should no longer wake the PC from a full shutdown.
- Check for scheduled tasks that wake the computer. Open Task Scheduler from the Start menu. In the left pane, click Task Scheduler Library. In the middle pane, scroll through the tasks and look at the Conditions column, or open a task and check the Conditions tab for Wake the computer to run this task. If a task has this enabled and you do not need it, clear the checkbox. Be careful not to disable tasks you do not recognise; note the name first and search for it before changing anything.
- Turn off fast startup. Fast startup can make a shutdown behave like a hybrid sleep and leave devices armed. Open Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do. Click Change settings that are currently unavailable, then clear Turn on fast startup (recommended) and save. This is a common fix for PCs that restart or wake unexpectedly.
- Check BIOS/UEFI wake settings. Restart the PC and enter the BIOS or UEFI setup (usually by pressing Del, F2, or F10 during boot; the exact key is shown on the screen). Look for settings such as Wake on LAN, Power On by PCI-E, Wake on USB, or RTC Alarm. Disable any you do not use, then save and exit. Labels vary widely by motherboard manufacturer, so only change settings you can identify.
- Test the result. Shut down the PC normally and leave it for 10–15 minutes. If it stays off, the change worked. If it turns back on, repeat the
powercfg /lastwakecommand after the wake to see whether a different device or task is now responsible.
Common Mistakes
- Confusing sleep with shutdown. If the power button is set to sleep, pressing it or bumping the mouse can look like the PC turned itself on. Check the power button behaviour first.
- Disabling every device at once. Turning off wake for the network adapter can break Wake-on-LAN features you may rely on. Note what you change so you can reverse it.
- Ignoring fast startup. Many unexplained wake and restart issues disappear once fast startup is off, yet it is often overlooked.
- Changing BIOS settings without saving. Some BIOS screens require you to press a save key (often F10) before exiting; otherwise the change is discarded.
- Assuming a hardware fault. Most self-wake issues are software settings, not failing parts. Work through the settings before considering repairs.
Tips
- Run
powercfg /lastwakeimmediately after the PC wakes, while the event is still the most recent one. - If you use a wireless mouse or keyboard, a stray movement or a low battery can trigger a wake. Try turning the mouse off or moving the receiver before shutting down.
- Keep a note of every device and task you change so you can restore defaults if needed.
- Windows updates can occasionally re-enable wake timers; recheck the setting after major updates.
- If the PC is on a network with Wake-on-LAN, ask your network administrator before disabling wake on the network adapter.
Troubleshooting
If the PC still turns back on after these steps, work through the following in order.
- Run the wake command again. After the PC wakes, open an admin terminal and run
powercfg /lastwake. If it now names a different device, disable wake for that device using the Device Manager steps above. - Check the event log. Open Event Viewer (right-click Start > Event Viewer). Go to Windows Logs > System and look for events around the time the PC woke. Look for entries from Power-Troubleshooter or Kernel-Power that state the wake source. This can reveal a scheduled task or device that the command-line tool missed.
- Disconnect peripherals. Shut down, unplug USB devices one at a time, and test. A faulty USB device or hub can send a wake signal.
- Update drivers and BIOS. Use the PC manufacturer's official support site to update the chipset and network drivers, and the BIOS if an update is offered. Do not use third-party driver updaters.
- Check for malware. Run a full scan with Windows Security (Start > Windows Security > Virus & threat protection > Scan options > Full scan). Some malware can schedule wake events.
- Reset power settings. If nothing else works, open an admin terminal and run
powercfg /restoredefaultschemesto restore the default power plans. This removes custom settings, so note any changes you made first.
If the PC still wakes after all of this, the cause may be a hardware fault such as a failing power supply or motherboard. In that case, contact the PC manufacturer or a qualified repair technician.
Frequently Asked Questions
Why does my computer turn on by itself after shutdown?
The most common reasons are a device allowed to wake the PC (mouse, keyboard, network adapter), a wake timer, a scheduled task, or fast startup. Running powercfg /lastwake usually identifies the trigger.
Is it normal for a PC to wake from shutdown?
No. A full shutdown should keep the PC off. Waking from shutdown usually points to a wake setting, a scheduled task, or a BIOS wake option rather than normal behaviour.
Can a Windows update turn my PC back on?
Windows can schedule maintenance and updates, and wake timers may allow the PC to wake for them. Disabling wake timers and checking scheduled tasks reduces this.
Does unplugging the PC stop it from turning on?
If the PC stays off when unplugged, the wake signal is coming through the power or network connection. If it still turns on, the issue is likely internal or a BIOS setting.
Will disabling wake settings break anything?
Disabling wake on a device only stops that device from waking the PC. It does not affect normal use. If you rely on Wake-on-LAN, leave the network adapter's wake setting enabled.
How do I stop my mouse from waking the PC?
Open Device Manager, right-click the mouse, choose Properties, open the Power Management tab, and clear Allow this device to wake the computer. If the tab is missing, the device cannot wake the PC.