hn.today

How long do you need to hold down the power button to turn off a PC?

osnews.com57 points20 comments
Screenshot of How long do you need to hold down the power button to turn off a PC?

Windows developer Raymond Chen says holding a PC’s power button for eight seconds prompts Windows to capture an emergency kernel dump, while a 12-second hold cuts power directly at the hardware level. The dump can be sent to Microsoft after the next startup, helping engineers investigate failures that leave users unable to shut down normally. Microsoft classifies these incidents as “long power button hold” failures; cases where the display is completely black receive special attention from a dedicated analysis team.

The timing raises a practical puzzle: the writer says their PCs usually switch off after only a few seconds, and common references suggest that many motherboards force power-off after roughly four or five seconds. In a typical ATX system, standby power remains available to the motherboard, and a button press can request a normal operating-system shutdown; a sufficiently long hold triggers a hardware-level cutoff. The exact cutoff appears to depend on motherboard circuitry, so it is unclear how Windows gets enough time to detect an eight-second hold and save a dump on systems that power off sooner. The piece leaves open whether motherboard behavior varies, whether the specification calls for a longer interval than manufacturers commonly use, or whether Windows adapts its dump timing based on hardware information.

Read on osnews.com20 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.