How to Fix a PC That Randomly Restarts With No Error [Fix]
A PC that restarts on its own, with no error message and no blue screen, feels random. It almost never is. Windows records a clue almost every time it happens. The short answer: open Event Viewer and read Kernel-Power Event ID 41, then look at the bug check code beside it. If the code is a number above zero, a stop error caused the restart, and drivers or memory are the first suspects. If the code is zero, Windows never learned why it died, and the cause is usually the power supply, heat, or memory. Work through those three in that order, cheapest test first.
Before you change anything, save your open work. Several steps below restart the PC on purpose.

Read Event ID 41 in Event Viewer and note the bug check code
When this works: you get evidence instead of guesses, and every later step follows from what the log says.
Windows logs Event ID 41 the next time the PC starts after an unclean shutdown. The message reads “The system has rebooted without cleanly shutting down first.” Microsoft is clear that the event alone does not name the cause. The cause sits in the fields beside it, and two of them matter: BugcheckCode and PowerButtonTimestamp.
- Press the Windows key, type Event Viewer, and open it.
- In the left pane, open Windows Logs, select System, then Filter Current Log in the Actions pane.
- In the Event IDs box, type 41 and select OK.
- Double-click the newest Event 41 entry, open the Details tab, and write down BugcheckCode and PowerButtonTimestamp.
Event 6008 marks an unexpected shutdown, and Event 1074 marks a restart that an app or a user started on purpose. A 1074 at the same time means the restart was requested, not a crash.
| What the fields say | What it means | Start with |
|---|---|---|
| BugcheckCode is a number above 0 | A stop error caused the restart. | Blue screen fix, then drivers and memory. |
| PowerButtonTimestamp is a number above 0 | Someone held the power button to restart the PC. | Look at the entries logged before it. |
| Both fields are 0 | Windows recorded no error code. The PC lost power or shut down too fast to write anything. | Power supply, heat, and memory, in that order. |
| No Event 41 at all | The PC lost power before Windows could log anything. | Wall power and the power supply first. |
Microsoft publishes the full reading guide for this event, including how to turn a decimal bug check code into the hexadecimal code used in stop error references: Microsoft’s advanced troubleshooting guide for Event ID 41.

When the bug check code is a number above zero
A code above zero means Windows caught the error before it died. The code is stored in decimal, while most stop error references list codes in hexadecimal, so convert it before you search for it. Then move to the driver and memory steps below.
When the power button timestamp is above zero
A timestamp above zero means the restart came from holding the power button. That tells you how the PC was restarted, not why it stopped. The useful evidence is whatever was logged just before it stopped responding.
When both values are zero
All zeros is the most common reading for a PC that restarts with no error. Microsoft treats this case as a hardware problem until proven otherwise, and its guide points at the same three checks this article works through: the power supply, overheating, and memory. It also advises disabling any overclocking first, which is covered near the end of this guide.
Stop Windows from hiding the blue screen so you can read the stop code
By default, Windows restarts immediately after a blue screen. That is why you see no error: the screen is only there for a moment. Turning off the automatic restart keeps the stop code on screen until you restart the PC yourself.
- Press the Windows key and R together, type sysdm.cpl, and press Enter.
- Open the Advanced tab, and under Startup and Recovery, select Settings.
- Under System failure, clear the Automatically restart check box, then select OK twice.
Use the PC normally and wait for the next restart. When the error screen appears, write down the stop code and any file name shown under it, then hold the power button to switch the PC off. If no error screen ever appears, that points away from a stop error and toward power or heat.
Rule out Windows Update and scheduled restarts
When this works: restarts that only happen overnight or while you are away stop looking like a fault, because they were Windows finishing an update.
Not every surprise restart is a crash. Windows Update can restart the PC to finish installing updates, usually outside your active hours. The log tells you: an Event 1074 at the restart time, with Windows Update named as the reason, means the restart was planned.
- Open Settings, then Windows Update, and select Update history. Look for updates installed on the day of a restart.
- Select Advanced options, then Active hours, and set the hours you normally use the PC.
- Turn on “Notify me when a restart is required” if it is offered, so future restarts do not surprise you.
If the restarts happen while you are using the PC, an update is not the cause. One related case is worth separating: if your PC switches itself on overnight rather than restarting while you use it, that is a wake problem, not a restart problem, and our guide to stopping a PC that wakes up from sleep on its own covers it.
Check wall power and the power supply before anything else
When this works: restarts that happen at random times, at idle, or the moment the PC is switched on stop completely. Power is the first hardware check because it is the cheapest to test and the most common cause when Event 41 shows all zeros.
A power supply that cannot keep up, or a wall socket that drops power for a moment, kills the PC before Windows can write an error. That is exactly why the log is empty.

- Plug the PC directly into a wall socket, not a power strip, and try a different socket. If the restarts stop, the strip or the socket was the fault.
- Swap in a known good power cable. A loose cable can cut power when the case is bumped.
- Think about what changed recently. A new graphics card, extra drives, or more memory can push an old power supply past what it can deliver. Microsoft’s Event 41 guide makes the same point.
- If you have access to a known good power supply of equal or higher wattage, swap it in and use the PC for a day. This is the only sure test of a failing supply.
Result check: if the PC runs a full day of normal use, including the heavy work that used to trigger a restart, the power supply or the wall power was the cause. If it still restarts, move on to heat.
Check for overheating and clean the airflow
When this works: restarts that only happen in games, video editing, or other heavy work stop, and the fans calm down.
A processor or graphics card that gets too hot shuts the PC down to protect itself, fast enough to leave Event 41 with all zeros. The pattern is the giveaway: restarts under heavy load, hot air from the case, fans spinning loud just before the screen goes black.
- Switch the PC off, unplug it, and open the case if you are comfortable doing so. If it is a laptop, skip the inside of the case and clean only the vents you can reach.
- Clear dust from the fans, the vents, and the fins behind them. Hold each fan still while you clean it so it does not spin freely.
- Check that every fan spins when the PC is on, and that no cable is touching a fan blade.
- Make sure the vents are not blocked by a wall, a desk, or clutter.
- Check the temperatures in the BIOS setup screen or with the utility from your PC maker.
Result check: use the PC for the same heavy work that used to trigger a restart. If it now runs through that work without restarting, heat was the cause. If it still restarts under load, move on to memory.
Test the memory one stick at a time
When this works: restarts that happen at idle, on startup, or with different stop codes each time stop, because a faulty memory stick was corrupting whatever it touched.
Bad memory can look like a driver fault one day and a power fault the next. Windows includes a memory test for exactly this, and it runs before Windows loads.
- Save your work and close your apps. The test restarts the PC.
- Press the Windows key and R together, type mdsched, and press Enter.
- Select “Restart now and check for problems (recommended)”.
- Let the Standard test finish. It takes a while.
- When the PC restarts, sign in and read the result. If you miss it, search the System log in Event Viewer for MemoryDiagnostics-Results.
- If the Standard test finds nothing and the restarts continue, run it again and press F1 on the test screen to switch the test mix to Extended, then press F10 to start it.
The result is also written to Event Viewer, so you can read it there if you miss the on-screen message. If the test reports errors, the memory is faulty, and no driver update will fix it. If you need to know what is installed before you buy a replacement, our guide to checking what type of RAM you have shows how to find the type and speed.
A clean test result does not fully clear the memory. If the restarts continue after a clean result, test one stick at a time: switch the PC off, unplug it, remove all but one stick, and use the PC. Repeat with each stick alone in the first slot. A stick that restarts the PC on its own is the faulty one, even if the diagnostic found nothing. If every stick restarts the PC on its own, the fault is more likely the motherboard slots or the memory settings.
Update drivers and repair system files with DISM and SFC
When this works: restarts that started after an update, and restarts with a bug check code in Event 41, stop.
Drivers are the most common software cause of a restart with a stop error, and the graphics and chipset drivers are the usual suspects. Update those two first, from the PC maker or the part maker, not from a third party driver updater. Then repair the system files.
- Open Device Manager, expand Display adapters, right-click your graphics card, and select Update driver. Do the same for the chipset entries under System devices.
- Install any pending Windows updates from Settings, then Windows Update.
- If the restarts started right after a driver update, roll that driver back instead: in Device Manager, right-click the device, select Properties, open the Driver tab, and select Roll Back Driver if it is offered.
- Open Command Prompt as administrator from Start search.
- Type DISM.exe /Online /Cleanup-image /Restorehealth and press Enter, then wait for it to finish.
- In the same window, type sfc /scannow and press Enter. Wait until verification reaches 100 percent.
- Restart the PC and use it normally.
Run DISM first and SFC second, because SFC copies its repair files from the store that DISM fixes. If a fresh Event 41 appears with the same bug check code, the repair did not reach the cause, and the hardware checks above deserve another look.
Turn off overclocking and memory profiles, then test at stock settings
When this works: restarts that started after a BIOS change, a new memory kit, or a tuning utility stop, because the parts were running faster than they can handle.
Overclocking and fast memory profiles push parts past the speeds they are guaranteed to run at. Microsoft’s Event 41 guide lists disabling overclocking among its first hardware checks for exactly this reason.
- Restart the PC and open the BIOS or UEFI setup screen, usually with Delete or F2.
- Turn off any overclocking for the processor and graphics card.
- Turn off the fast memory profile. It is usually called XMP on Intel boards and EXPO on AMD boards.
- Load the optimized or factory default settings, save, and exit.
- Use the PC normally for a day at these stock settings.
Result check: if the restarts stop at stock settings, the overclock or the memory profile was unstable. If the restarts continue at stock settings with known good memory, the fault is deeper in the hardware.
When the symptom points to failing hardware, not software
When this works: you stop reinstalling Windows and start replacing the right part. Be honest with yourself at this point, because no software fix will save a part that is dying.
If the PC restarts while you are in the BIOS setup screen, before Windows has even loaded, Windows cannot be the cause. If it restarts with a known good power supply, clean fans, a clean memory test, and stock settings, the remaining suspects are the motherboard and the processor, and those need a repair shop to confirm.
Before you take it in, back up your files, and take notes: the Event 41 readings, whether the memory test passed, and whether the restarts happen under load or at idle. Those three facts are usually enough for a technician to start in the right place instead of repeating your work.
A PC that restarts with no error is not a mystery, it is a PC that died too fast to explain itself. Read Event 41 first, let the bug check code sort a stop error from a power loss, and then work the ladder from the wall socket to the memory sticks. Most of these restarts end at one of those steps: a tired power supply, a dusty case, or a memory stick that has had enough. When none of them ends it, get the hardware tested, because the fix for a failing part is a new part, not another reinstall.
- How to Fix a PC That Randomly Restarts With No Error [Fix] - November 29, 2026
- How to Stop a PC From Waking Up From Sleep on Its Own [Fix] - November 28, 2026
- How to Install Ubuntu 24.04 LTS Step by Step (Dual-Boot Guide) - November 27, 2026
