Skip to content
PCFixWorkbench

Power & Sleep · Windows 11

Fix a PC that turns itself back on after you shut it down

Written November 26, 2026

A PC that restarts itself after shutdown is almost always being woken, not haunted: a wake timer, a network card allowed to wake it, or Fast Startup turning shutdown into a kind of hibernate. Find which wake source fired, then turn that one off.

What you need

Read the problem before you touch it

  1. Confirm it is really shutting down. Choose Start > Power > Shut down, not Sleep or Hibernate, and watch the PC power off completely — fans stopped, lights out. If it comes back within seconds or minutes, something is issuing a wake command after shutdown completes.
  2. Ask Windows what woke it last. Open Windows Terminal or Command Prompt as administrator and run powercfg /lastwake. Windows names the device or timer that caused the last wake when it recorded one. Microsoft documents the powercfg options in powercfg command-line options. Note the result before changing anything — it points at the right branch below.
  3. Note when it wakes. A PC that wakes at the same time every night points at a scheduled wake timer, often for maintenance or an update. One that wakes when the network is busy, or when another device on the network starts, points at Wake-on-LAN. One that restarts almost immediately points at Fast Startup or a device waking it during the shutdown itself.

The simple fixes, in order

  1. Turn off Fast Startup first. Open Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do, select Change settings that are currently unavailable, and clear Turn on fast startup. With Fast Startup on, shutdown hibernates the kernel instead of closing it fully, and a wake event during that state can bring the whole PC back. Test a shutdown after this change before going further.
  2. Stop devices waking the PC. Open Device Manager, expand Network adapters, open your adapter's properties, and on the Power Management tab clear Allow this device to wake the computer. Do the same for any mouse or keyboard that can wake the PC if you bump the desk often. Leave the keyboard you actually use to wake from sleep alone if you rely on that — this guide is about shutdown, and sleep wake can stay.
  3. Disable Wake-on-LAN if you do not use it. In the same network adapter properties, on the Advanced tab, set Wake on Magic Packet and Wake on pattern match to Disabled if you never wake this PC remotely. If you do use Wake-on-LAN, leave the magic packet on and clear only pattern match — routine network traffic can match a pattern and wake the PC, while a magic packet only arrives on purpose.

The advanced route: wake timers and scheduled tasks

  1. List the armed wake timers. In an administrator terminal run powercfg /waketimers. It lists every timer currently allowed to wake the PC and what set it. A timer owned by Windows Update or a maintenance task explains a PC that wakes at a fixed hour.
  2. Turn off automatic wake timers. Go to Settings > System > Power & battery for the basic controls, then in Control Panel > Power Options > Change plan settings > Change advanced power settings, expand Sleep > Allow wake timers and set it to Disable for both battery and plugged in where shown. That stops timers waking the PC at all; scheduled work then runs at the next normal start instead.
  3. Check the maintenance wake setting. Open Control Panel > Security and Maintenance > Change maintenance settings and clear Allow scheduled maintenance to wake up my computer if it is set. Shut the PC down fully and leave it overnight to confirm the fix.

End state

When it goes wrong

Related fixes

Sources