Why does my PC restart unexpectedly?
Troubleshooting guides · System & hardware
Write down when the screen went away and what you saw before sign-in returned. Open Start and search for View reliability history. That gives you a way to find the incident even if Windows restarted too quickly to show a code.
Windows 11 restarts, shutdowns, freezes followed by power-off, and related event clues.
Establish what stopped
Section titled “Establish what stopped”If one app vanished and other windows kept working, start with application crashes and hangs. If the screen went blank with audio still playing, record it as a display symptom until you know whether Windows restarted. If you saw a stop code or returned to sign-in after a full restart, note any error, power interruption, sleep/wake action or forced shutdown.
If the screen is frozen now, test a single ordinary input, such as switching to another app with Alt + Tab or opening Ctrl + Alt + Delete. Record what responds. Save in any responsive app that has unsaved work. Wait for known progress if an update or a long local task is running. If you or support resort to the power button, record the time. A subsequent unclean shutdown record could describe that action while the original freeze remains unexplained.
Stop repeating the workload if you see thermal warnings, smell burning, see battery swelling, lose access to files, or hit a restart loop. Protect data if it is safe to do so and contact the manufacturer, repair support or IT. Keep any recovery key private.
Open a narrow window around the restart
Section titled “Open a narrow window around the restart”Open View reliability history or press Win + R and run perfmon /rel. Select the day and open View technical details for relevant failures. Record the listed time, category and code if shown. “Windows was not properly shut down” is a useful starting point. Microsoft’s command reference
In Event Viewer → Windows Logs → System → Filter Current Log, choose a custom logged time range. Start a few minutes before the first symptom and extend through the next boot. If a report arrived late, extend the end and note the new bounds. Filter for 41, 1074, 6006, 6008, 1001. Verify the source and channel for each result. Under Details → XML View, the provider name can be more precise than the Source label.
| Source in System | What it records |
|---|---|
| User32 / 1074 | A process or user requested a restart or shutdown. Check the request type and reason locally, then look for the shutdown and boot markers. |
| EventLog / 6006 | Event Log service stopped. Use it alongside a request and other lifecycle markers. |
| Microsoft-Windows-Kernel-Power / 41 | At the next boot, Windows found the previous shutdown was unclean. |
| EventLog / 6008 | Windows reports that a previous shutdown was unexpected. Keep the referenced time and the record’s logged time separate if both are shown. |
| Microsoft-Windows-WER-SystemErrorReporting / 1001 | A system bugcheck report can include a code and a reported dump path. Application log 1001 from Windows Error Reporting is a different source. |
Permission errors or a search with no matches leave gaps. If retention or timing is uncertain, check Reliability Monitor, the user’s notes and the next boot before drawing a conclusion. Microsoft’s restart event examples
Read Event 41 in context
Section titled “Read Event 41 in context”In Details, look for BugcheckCode. A nonzero value supports the stop-error branch. The Event 41 field is decimal. In this illustrative example, 278 becomes 0x00000116. Keep zero separate from a missing field. Both leave the reason open. Power loss, a hang followed by a forced shutdown and a stop that Windows could not record are all possibilities. A nonzero PowerButtonTimestamp, when present, can add context for a long press. Compare it with what the person at the PC did. Microsoft’s Event 41 scenarios
Use the converted value in Microsoft’s bugcheck reference. For manual conversion, use decimal mode in a programmer’s calculator, enter the digits from Event 41 and read the hexadecimal equivalent.
- 19:14 · Observed symptom
The desktop froze and audio stopped.
- 19:16 · Recovery action
The user held the power button.
- 19:17 · Logged after reboot
Kernel-Power 41 with BugcheckCode 0 and an unexpected shutdown report appeared.
The forced shutoff explains the unclean shutdown record. The freeze started two minutes earlier, and its cause remains open. An update entry at 18:50 would add context for a repeat.
If you have a clear 1074 request and a matching update entry, check whether the request and actual restart times fit what you saw. If the same unexpected symptom recurs, compare the trigger (under ordinary load, idle, or wake) and any code or preceding event across incidents. Avoid deliberately reproducing shutdowns under load. A known trigger and two time-aligned examples give support more to work with than a list of every red event.
Copy the incident timeline worksheet
Section titled “Copy the incident timeline worksheet”Keep up to 12 short notes on this page. Use labels like “the game” and leave out paths, names and account details. Reloading clears the timeline.
For a paper or plain-text version, use the original worksheet below.
PC alias / Windows edition and build:
Symptom / affected app and version / exact task:
What still responded / what appeared on screen:
Incident time or earliest–latest estimate, including UTC offset:
Power source / startup, sleep or wake transition if relevant:
Recovery action and time / elapsed time to usable again:
Recent changes and dates:
Window queried (start/end and offset) / sources checked:
Missing sources, capped queries or uncertain times:
When and offset | User action or source | Channel / provider / ID | Selected detail
| | |
| | |
| | |
Stop code or exception as shown / related records:
Most supported explanation and evidence:
Alternative, missing evidence and next safe comparison:
Repeat result / stop or escalation condition:Keep raw events, paths, screenshots and dumps in private storage. Review exact times, names, identifiers and app details before sharing. A support excerpt can use elapsed minutes instead of wall-clock times.
If your installed copy of pc-diagnostics includes the event collector, ask it to preview the Restart profile from just before the first symptom through the next boot. Ask it to keep the symptom, recovery action and event logging times separate. Approve the exact local window before collection. Keep raw logs and dumps local.
See the pc-diagnostics Windows event collection instructions for the event window, profile and local review steps.
If the machine also runs hot or the fan becomes loud before it stops, and record both observations in the same window.