Quick fix
If Windows still starts, install updates and check Reliability Monitor for the crash behind each restart. If it is stuck in a loop, open the recovery screen and use Startup Repair or Uninstall Updates.
What it means
A PC that restarts on its own is usually recovering from a crash (a stop code error), losing power for a moment, overheating, or finishing a Windows update. A restart loop, where it never reaches the desktop, usually means a bad update, driver or startup file is stopping Windows from loading.
Common causes
- A crash (stop code error) that makes Windows restart automatically
- A Windows update that installs and restarts, or a bad update or driver
- Overheating that triggers a safety shutdown
- A loose power cable, failing power supply or weak laptop battery
- New hardware or a USB device that conflicts with Windows
- Damaged system files or a startup problem causing a boot loop
- Failing memory or another hardware fault
How to fix it
Work down the list. Each fix is safe to try before moving on to the next.
01Rule out Windows Update restartsEasy
- Open
Settings > Windows Updateand see whether updates are waiting to finish; install them and restart once. - To stop surprise update restarts while you work, go to
Settings > Windows Update > Advanced options > Active hoursand set the hours you use the PC. - On Windows 10: use
Settings > Update & Security > Windows Update. - If restarts happen only right after updates, the PC may be fine; if they happen at random, keep going.
Why it helps: Planned update restarts are normal and are easy to tell apart from crash restarts.
02Check the power cable and unplug new devicesEasy
- Desktop: push the power cable in firmly at the PC and the wall, and plug straight into a wall outlet instead of a power strip.
- Laptop: check the charger connection and try the laptop on battery and on the charger to see whether either one changes things.
- Unplug any device or hardware you added just before the restarts began, such as a dock, USB drive or new card.
- Use the PC for a while and see whether the restarts stop.
Why it helps: A brief loss of power or a faulty new device can make the PC restart without warning.
03Find the cause in Reliability MonitorEasy
- Select
Search, typereliabilityand openView reliability history. - Look for red error icons on the days the PC restarted.
- Select a day and look for entries such as
Windows was not properly shut downor a hardware error, and note any app or driver named. - If the same driver or app keeps appearing, update or remove it.
Why it helps: It shows whether each restart was a crash, a power loss or an update, which points to the right fix.
04Turn off automatic restart to read the stop codeMedium
- Select
Search, typeView advanced system settingsand open it. - On the
Advancedtab, underStartup and Recovery, selectSettings. - Under
System failure, clearAutomatically restart, then selectOK. - Next time Windows crashes it will stay on the error screen. Write down the stop code shown, such as
MEMORY_MANAGEMENT, and see the blue screen guide.
Why it helps: Without this, Windows restarts before you can see the stop code that names the problem.
05Check for overheatingEasy
- Feel whether the PC is very hot or the fans are loud just before it restarts.
- Make sure air vents are clear, and keep laptops on a hard flat surface rather than a bed or sofa.
- Move desktops out of tight cabinets and away from heaters or direct sun.
- If restarts happen mainly during games or video editing, heat is a likely cause.
Why it helps: PCs switch themselves off to protect parts when they get too hot.
06If it started after an update or new app, undo itMedium
- Back up important files first.
- New app or driver: uninstall it from
Settings > Apps > Installed apps, selectMore options(...) and chooseUninstall. - Windows update: go to
Settings > Windows Update > Update history > Uninstall updates, select the newest update and chooseUninstall. - On Windows 10: use
Settings > Update & Security > Windows Update > View update history > Uninstall updates. - Some updates cannot be removed; reinstall security updates once a fix is available.
Why it helps: Restarts that begin right after a change are usually caused by that change.
07Repair system files and test memoryMedium
- Select
Search, typecmd, right-clickCommand Promptand chooseRun as administrator. - Type
DISM.exe /Online /Cleanup-image /Restorehealth, press Enter and wait for it to finish. - Type
sfc /scannow, press Enter and wait until it reaches 100%, then restart. - To test memory, save your work, search for
Windows Memory Diagnostic, open it and chooseRestart now and check for problems (recommended). After you sign in again, a notification shows the result; it can take a few minutes to appear.
Why it helps: Damaged system files and bad memory are both common causes of crash restarts.
08Escape a restart loop with Startup RepairMedium
- If Windows never reaches the desktop, turn the PC on and hold the power button to switch it off before Windows loads. Do this two times.
- On the third start, the
Automatic Repairscreen should appear. SelectAdvanced options. - Select
Troubleshoot > Advanced options > Startup Repair. - If the loop began after an update, choose
Troubleshoot > Advanced options > Uninstall Updatesinstead and remove the latest quality update. - Uninstalling an update keeps your personal files, but some updates cannot be removed. If you have a recent backup, keep it handy before changing anything.
- To start in safe mode, choose
Troubleshoot > Advanced options > Startup Settings > Restart, then press4orF4.
Why it helps: The recovery screen gives you tools to fix or undo what is stopping Windows from starting.
09Run your PC maker's built-in hardware testMedium
- If you have a Dell: restart and press
F12repeatedly at the Dell logo, then chooseDiagnostics. - If you have an HP: turn the PC off, turn it on and press
Escabout once a second, then pressF2. ChooseSystem Tests > Fast Test. - If you have a Lenovo ThinkPad: turn it on and press
F10right away to open UEFI Diagnostics. On any Lenovo that still starts Windows, you can instead open theLenovo Vantageapp and chooseHardware scan. - Other brands: check your PC maker's support site for its built-in test.
- If a part fails, note the error code or failure ID for the maker's support.
Why it helps: A failing power supply, memory or drive can cause restarts that software fixes cannot solve.
10Roll back with System RestoreAdvanced
- Warning: System Restore removes apps, drivers and updates installed after the restore point. Back up your files first if you can.
- From Windows: press
Windows + R, typerstrui.exeand press Enter. - From a restart loop: on the recovery screen, choose
Troubleshoot > Advanced options > System Restore. - Pick a restore point from before the restarts began, select
Next, thenFinish. - If no restore points are listed, System Restore was not turned on and you cannot use this fix.
Why it helps: It returns Windows system files and settings to a time when the PC was working.
Check it's fixed
- The PC runs for a full day without restarting on its own.
- Reliability Monitor shows no new
Windows was not properly shut downerrors. - The PC starts to the desktop normally instead of looping.
When to get help
If the PC still restarts after these fixes, or the maker's hardware test reports a failure, contact the PC maker or a repair shop, since the power supply, memory or motherboard may be failing.
Questions
Why does my computer restart without warning?
Usually Windows hit a serious error and restarted to recover, or the PC lost power or overheated. Turning off automatic restart lets you see the stop code next time.
Why does my PC keep restarting after a Windows update?
The update may still be finishing, or it may not work well with a driver on your PC. Let it finish, then uninstall the latest update if restarts continue.
What does Kernel-Power event 41 mean?
It is an entry in Event Viewer that means Windows restarted without shutting down cleanly. It shows that a crash or power loss happened but not what caused it, so check for stop codes, heat and power problems.
Will a restart loop delete my files?
A restart loop itself does not delete files. Startup Repair and uninstalling updates keep your files, but back up what you can before using System Restore or resetting the PC.
Related fixes
Still stuck?
Paste the exact message to find the closest fix, or search it on Google, Microsoft, Apple, Reddit and YouTube.