To fix random restarts in Windows 11, first read the restart record in Event Viewer, then work through seven steps: rule out overheating, turn off automatic restart, update drivers, install Windows updates, repair system files, run a clean boot and, as a last resort, reset the PC.
This guide shows how to tell a crash from a power loss or a scheduled update restart, which step fits each case, and what to check when the PC still reboots on its own.
How to find out why Windows 11 restarted by itself
Windows writes a record every time it restarts without a clean shutdown. Reading it first tells you whether you are chasing a crash, a power problem or an update.
- Select Start, type
Event Viewerand open Event Viewer. - In the left pane, expand Windows Logs and select System.
- In the Actions pane, select Filter Current Log.
- In the event ID box, type
41,1074,6008and select OK. - Open the newest Kernel-Power event 41 and select the Details tab.
- Read BugcheckCode: a nonzero number means a stop error (blue screen) caused the restart; zero usually points to power or hardware.
- Check event 1074 at the same time: it names the app or user that requested the restart, such as Windows Update.
BugcheckCode is shown in decimal. Microsoft's example 159 converts to 0x9F, which is how stop codes are usually documented. Open Calculator, switch to Programmer view, enter the number under Dec and read the Hex value.

Understanding the issue: Why does Windows 11 randomly restart?
Microsoft notes that unexpected shutdowns are mostly caused by components outside the operating system. The event record narrows it down.
| What the event log shows | Most likely cause | Start with |
|---|---|---|
| Event 41 with a nonzero BugcheckCode | A stop error from a driver, hardware fault or damaged system file | Step 2, then steps 3 and 5 |
| Event 41 with BugcheckCode 0 and PowerButtonTimestamp 0 | Power cut, drained laptop battery, weak or faulty power supply, overheating | Step 1 and the power checks below |
| Event 41 with a nonzero PowerButtonTimestamp | The power button was held down to force the PC off | Find out why the PC froze first |
| Event 1074 from an update process | Windows Update restarted the PC outside active hours | Step 4 and active hours |
| No event 41 at all after a restart | Power was lost too fast for Windows to write anything | Step 1 and the power supply |
| Event 46 from volmgr: crash dump initialization failed | No usable page file, so the crash could not be recorded | Restore a system-managed page file |
Detailed troubleshooting steps
Work through the seven steps in order unless the event log already points at one. Each step is safe to undo except the reset.
| Step | What it rules out | Time needed |
|---|---|---|
| 1. Ensure your PC is not overheating | Heat and airflow shutdowns | 10-20 minutes |
| 2. Disable automatic restart | Hidden stop codes that flash past | 2 minutes |
| 3. Update your device drivers | Faulty or outdated graphics, chipset and network drivers | 15-30 minutes |
| 4. Keep Windows updated | Known bugs fixed in later updates, surprise update restarts | 15-60 minutes |
| 5. Check for corrupted system files | Damaged Windows files | 20-40 minutes |
| 6. Perform a clean boot | Third-party services and startup apps | 30 minutes or more |
| 7. Reset your PC | Everything software-related, as a last resort | 1-2 hours |
1. Ensure your PC is not overheating
A CPU or graphics card that gets too hot can shut the PC down with no warning, and that usually leaves event 41 with a zero bug check code. Microsoft lists overheating and overclocking among the first hardware checks for this pattern.
- Shut down the PC and unplug it before you touch the case or vents.
- Clear dust from the intake and exhaust vents, and make sure a laptop sits on a hard, flat surface rather than a bed or cushion.
- Power on and listen for the fans; a fan that never spins or rattles needs repair or replacement.
- Run the hardware diagnostics your PC or motherboard maker provides to check temperatures and fans.
- If you overclocked the CPU, graphics card or memory, return them to default speeds in the firmware or the vendor's tuning app.
- Use the PC under the same load that caused restarts before and note whether it still reboots.
2. Disable automatic restart
By default Windows restarts immediately after a stop error, so the blue screen and its stop code are gone before you can read them. Turning this off keeps the error on screen.
- Open Settings > System > About.
- Select Advanced system settings.
- On the Advanced tab, under Startup and Recovery, select Settings.
- Under System failure, clear the Automatically restart check box.
- Leave Write an event to the System log selected.
- Select OK twice.
The next crash stays on the blue screen. Note the stop code it shows, then look up the stop code to see which driver or component it points to.
The same setting lives in the registry as the AutoReboot DWORD under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl, where 0 turns automatic restart off.

3. Update your device drivers
Windows Update delivers most driver updates, and Microsoft calls it the best way to get them. Device Manager covers the cases where you need to update, reinstall or roll back one device.
- Open Settings > Windows Update > Advanced options > Optional updates.
- Select any driver updates listed and select Download and install, then restart.
- For a single device, right-click Start and select Device Manager.
- Expand the category, right-click the device and select Update driver > Search automatically for drivers.
- If you downloaded a driver from the maker's site, select Browse my computer for drivers instead and point to that folder.
- If the restarts began after a driver update, open the device's Properties, go to the Driver tab and select Roll Back Driver.
Get drivers only from Windows Update or the device maker's own website. Graphics, chipset, storage and network drivers are the ones most often tied to stop errors.
4. Keep Windows updated
Updates fix bugs that cause crashes, but they also explain many restarts that look random. After installing an update, Windows tries to restart automatically outside your active hours.
- Select Start > Settings > Windows Update.
- Check for updates and select Download & install for anything available.
- Restart when prompted so the update finishes.
- Select Advanced options > Active hours.
- Set active hours to cover the time you actually use the PC, so update restarts happen when you are away.
Active hours default to 8 AM to 5 PM and can span up to 18 hours. On a work or school PC, an update deadline set by your IT department can force a restart even during active hours.
5. Check for corrupted system files
Damaged Windows files can cause stop errors and freezes. Microsoft's order is DISM first, because it supplies the good files, then System File Checker. Run both in Command Prompt as administrator: select Start, type cmd, right-click Command Prompt and select Run as administrator.
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
DISM repairs the Windows component store using Windows Update as its source. sfc /scannow then checks every protected system file and replaces damaged ones from that store. Run the first line, wait for it to finish, then run the second.
You should see: "Windows Resource Protection did not find any integrity violations" means the files are healthy. "Found corrupt files and successfully repaired them" means the repair worked; restart the PC.
Do not close the window before verification reaches 100%. If SFC reports that it could not perform the requested operation, run it again in safe mode.
6. Perform a clean boot
A clean boot starts Windows with only Microsoft services and no startup apps. If the restarts stop, a third-party service or app is the cause.
- Sign in with an administrator account.
- Select Search, type
msconfigand open System Configuration. - On the Services tab, select Hide all Microsoft services, then Disable all, then Apply.
- On the Startup tab, select Open Task Manager.
- On the Startup apps tab, select each Enabled item and select Disable, noting what you turned off.
- Close Task Manager, select OK in System Configuration and restart.
- Use the PC normally; if it no longer restarts, turn half of the services back on, restart and repeat until one service or app is left.

How to undo a clean boot in Windows 11
- Select Search, type
msconfigand open System Configuration. - On the General tab, select Normal Startup.
- On the Services tab, clear Hide all Microsoft services, select Enable all, then Apply.
- On the Startup tab, select Open Task Manager and enable the startup apps you disabled.
- Select OK and choose Restart when prompted.
If you found the culprit, keep only that service or startup app disabled and contact its maker for an updated version.
7. Reset your PC
Reset reinstalls Windows and removes any software cause in one go. Back up your files first and have your BitLocker recovery key if the drive is encrypted.
- Open Settings > System > Recovery.
- Under Recovery options, select Reset PC.
- Choose Keep my files to keep personal files, or Remove everything for a full clean start.
- Choose Cloud download for a fresh copy of Windows, or Local reinstall to use the files already on the PC.
- Follow the prompts and leave the PC alone until it finishes.
The screen can stay black for 15 minutes or more and the PC may restart itself during a reset. Restarting it manually can make the reset fail. If Windows will not stay up long enough, start the reset from Windows RE with Troubleshoot > Reset this PC.
If the PC still restarts after a reset with Remove everything, the cause is hardware.

Expert insights and additional considerations
When event 41 keeps showing zero codes, Microsoft treats it as a likely hardware problem. These checks go beyond the seven steps.
| Check | Why it matters | What to do |
|---|---|---|
| Power supply wattage | New memory, a faster CPU, extra drives or a bigger graphics card can need more power than the supply delivers | Compare the supply rating with the parts installed; replace a weak or failing unit |
| Power from the wall | Outages and brownouts cut power without warning | Plug the PC into a UPS battery backup |
| Memory modules | Mismatched or faulty RAM causes crashes and silent restarts | Run a memory test and confirm every module runs at the same speed |
| Overclocking | Unstable speeds crash under load | Return CPU, GPU and memory to default speeds |
| Laptop battery | A drained or removed battery cuts power instantly | Keep the charger connected while you test |
| Page file | Without one, Windows cannot record the crash (event 46 from volmgr) | Set the page file back to system managed |
| Virtual machines | Hyper-V or VMware heartbeat features restart a guest that stops responding | Check the host's heartbeat settings |
How to check Reliability Monitor for restarts in Windows 11
Reliability Monitor puts every crash, update and shutdown on a daily timeline, so you can see whether the restarts have stopped after each step.
- Press Windows + R, type
perfmon /reland press Enter. - Look for red error icons on the days the PC restarted.
- Select a day and read the entries listed below the chart.
- Compare the days before and after your fix; a run of days with no critical events means the restarts have stopped.
For a deeper look at past crashes, you can also find out why the PC crashed from its memory dump files.

Windows 11 keeps restarting randomly: common causes
Windows 11 restarts randomly without a blue screen
Power loss or overheating, which leaves no time to show or record a stop error.
- Check event 41: a BugcheckCode of 0 confirms Windows did not crash first.
- Clean vents and confirm every fan spins.
- Test with another wall socket, or a UPS, and keep a laptop on its charger.
- Check that the power supply can handle any hardware you added.
Windows 11 restarts overnight or while you are away
Windows Update finishing an install outside active hours.
- Look for event 1074 at the restart time.
- Open Settings > Windows Update to see whether an update is waiting for a restart.
- Adjust Active hours under Advanced options to match when you use the PC.
Windows 11 restarts while gaming or under heavy load
Heat, an overclock or a power supply that cannot keep up with peak draw.
- Remove any overclock and return to default speeds.
- Update the graphics driver from Windows Update or the GPU maker's site.
- Watch temperatures with your PC maker's diagnostics while you play.
Windows 11 restarts after a driver or Windows update
The new driver or update conflicts with your hardware.
- Roll the driver back from its Driver tab in Device Manager.
- Check the maker's site for a newer driver.
- Run DISM and
sfc /scannowto repair any files the update left damaged.
Windows 11 restart loop: the PC never reaches the desktop
A startup failure that Windows tries to recover from.
- Let the PC fail to start a few times so it opens the Windows Recovery Environment.
- Select Troubleshoot and use the startup repair or reset options there.
- If you can reach safe mode, run SFC and roll back recent drivers from there.
Windows 11 random restarts FAQ
Why does my Windows 11 PC restart randomly?
The usual causes are a stop error from a driver or hardware fault, a power interruption, overheating, or Windows Update restarting outside active hours. Event Viewer's Kernel-Power event 41 and event 1074 show which one applies to your PC.
What is Kernel-Power event 41 in Windows 11?
Event 41 is a critical System log entry that Windows writes after it restarts without a clean shutdown. Its BugcheckCode shows whether a stop error caused the restart, and a zero value usually points to power or hardware.
Can overheating cause random restarts in Windows 11?
Yes. A CPU or graphics card that overheats can switch the PC off instantly, which usually leaves event 41 with a zero bug check code. Clean the vents, check the fans and remove any overclock before you look at software.
How do I stop Windows 11 from restarting after a blue screen?
Open Settings > System > About > Advanced system settings, select Settings under Startup and Recovery, and clear Automatically restart. The blue screen then stays visible so you can note its stop code.
Does Windows Update restart my PC automatically?
Yes. After installing an update, Windows tries to restart outside your active hours, which default to 8 AM to 5 PM. Set active hours under Settings > Windows Update > Advanced options to match when you use the PC.
Can a bad power supply cause random restarts?
Yes. Microsoft lists an underpowered or faulty power supply as a likely cause when event 41 shows zero codes or is missing. Added memory, drives or a new graphics card can push an older supply past its limit.
Does a clean boot delete my files or apps?
No. A clean boot only stops third-party services and startup apps from loading. Your files and apps stay installed, and you return to normal by selecting Normal Startup in System Configuration and enabling the startup apps again.
Will resetting Windows 11 fix random restarts?
A reset fixes restarts caused by software, drivers or damaged Windows files. If the PC still restarts after a reset that removes everything, the cause is hardware such as the power supply, memory or cooling.
Can faulty RAM make Windows 11 restart on its own?
Yes. Faulty or mismatched memory can cause stop errors and silent restarts. Microsoft recommends checking memory health and confirming that every module runs at the same speed and is configured correctly.





