sodcalculator

10 Tech How-To

Stop Windows 10 Random Sleep Mode: Full Fix Guide

Guide 10-4836 · Updated · Step by step

Windows 10 randomly dropping into sleep mode is a common annoyance that can interrupt downloads, close unsaved work, and make a PC feel unreliable. This guide walks you through the most effective fixes, from simple power settings to deeper system checks, so you can keep your PC awake when you need it.

What You’ll Need

  • Administrator access to your Windows 10 PC (to change some settings).
  • A few minutes of time; most steps are quick.
  • Optional: a USB drive if you need to update your BIOS (rarely needed).

Step-by-Step

  1. Check the basic power plan settings. Click the Start button, type “Edit power plan� and press Enter. Next to “Put the computer to sleep,� select “Never� from the drop-down menu. Click “Save changes.� This prevents the system from sleeping on a timer, but does not stop other triggers.
  2. Disable hybrid sleep and fast startup. In the same window, click “Change advanced power settings.� Expand “Sleep� and set “Sleep after� to “Never� (0 minutes). Also expand “Allow hybrid sleep� and set it to “Off� for both “On battery� and “Plugged in.� Then expand “Hard disk� and set “Turn off hard disk after� to 0 (Never). Click Apply and OK.
  3. Prevent devices from waking the PC (or allow them to). Sometimes a device like a mouse or network card wakes the PC from sleep, but the opposite—a device keeping it from sleeping—can also cause issues. To check what woke the PC last, open Command Prompt as administrator and type powercfg /lastwake. This shows the device that woke it. To prevent a device from waking the PC, go to Device Manager, right-click the device (e.g., mouse, keyboard, network adapter), select Properties, go to the “Power Management� tab, and uncheck “Allow this device to wake the computer.� For network adapters, also uncheck “Allow the computer to turn off this device to save power.�
  4. Run the power troubleshooter. Go to Settings (Windows key + I) → Update & Security → Troubleshoot → Additional troubleshooters → Power → Run the troubleshooter. This can automatically find and fix common power issues.
  5. Update your graphics and chipset drivers. Outdated or buggy drivers, especially graphics drivers, can cause the system to sleep unexpectedly. Open Device Manager, expand “Display adapters,� right-click your graphics card, and select “Update driver.� Choose “Search automatically for updated driver software.� Do the same for “System devices� (chipset) and “Network adapters.� Restart after updating.
  6. Check for background tasks and media. Windows 10 may sleep even if media is playing if the media player doesn’t tell Windows to stay awake. Close any media players you’re not using. Also, some apps like download managers or backup software can trigger sleep. Check Task Manager (Ctrl+Shift+Esc) for any app using high CPU or disk—these can keep the system active, but sometimes they cause a glitch that forces sleep.
  7. Disable “Fast Startup� (if you have it enabled). This is a Windows feature that makes booting faster but can cause sleep issues. Go to Control Panel → Power Options → “Choose what the power buttons do� → “Change settings that are currently unavailable.� Uncheck “Turn on fast startup (recommended)� and click “Save changes.� This often fixes random sleep/wake issues.
  8. Run a system file check. Corrupted system files can cause all sorts of weird behavior. Open Command Prompt as administrator and run sfc /scannow. Let it complete (this can take 15-20 minutes). If it finds errors, restart and run DISM /Online /Cleanup-Image /RestoreHealth as well.
  9. Check your BIOS/UEFI settings. Some motherboards have power management features that can override Windows. Restart your PC and press the key to enter BIOS (usually Del, F2, F10, or Esc). Look for “Power Management� or “ACPI� settings. Disable any “Deep Sleep,� “ErP Ready,� or “Power On by PCI-E� options if they are enabled. Be careful—only change what you understand. Save and exit.
  10. Disable automatic maintenance (if it’s causing sleep). Windows 10 runs automatic maintenance tasks that can wake the PC. Go to Control Panel → System and Security → Security and Maintenance → Maintenance → “Change maintenance settings.� Uncheck “Allow scheduled maintenance to wake my computer at the scheduled time.� This prevents maintenance from waking it, but if maintenance is running, it might prevent sleep—but that’s a different issue.

Common Mistakes

  • Only changing the basic “Sleep afterâ€� setting. Many triggers bypass this, so you must also check advanced settings and device wake options.
  • Forgetting to check “Allow hybrid sleep.â€� Hybrid sleep can cause the PC to appear to sleep but then wake randomly.
  • Assuming it’s a hardware problem. Most random sleep issues are software/driver related.
  • Not restarting after changes. Some settings only take effect after a reboot.
  • Disabling all wake timers. This can break scheduled tasks like Windows Update. Better to leave wake timers enabled and only disable specific device wake permissions.

Tips

  • Use the “powercfgâ€� command to see what woke your PC. Run powercfg /lastwake in an admin Command Prompt after a random wake to identify the culprit device.
  • Create a custom power plan. Instead of editing the default Balanced plan, create a new plan (Control Panel → Power Options → Create a power plan) and set it to High Performance. This can give you more granular control.
  • Keep your system updated. Windows updates often include fixes for power management bugs. Check Settings → Update & Security → Windows Update.
  • Check for malware. Some malware can cause random sleep/wake cycles. Run a full scan with Windows Defender or your preferred antivirus.
  • If you use a laptop, check the lid-close action. In Power Options, set “When I close the lidâ€� to “Do nothingâ€� if you want it to stay awake with the lid closed.

Troubleshooting

If you’ve followed the steps and your PC still sleeps randomly, try these additional fixes:

  • Check the Windows Event Viewer. Open Event Viewer (eventvwr.msc) and look under “Windows Logs → Systemâ€� for events with source “Kernel-Powerâ€� (event ID 42) or “Power-Troubleshooterâ€� (event ID 1). These will tell you exactly why the system entered sleep or woke up. The message often includes the source (e.g., “The system is entering sleep. Sleep Reason: System Idleâ€� or “The system has returned from a low power state. Wake Source: Timerâ€�).
  • Disable all wake timers temporarily. In Power Options → Advanced → Sleep → “Allow wake timers,â€� set to “Disableâ€� for both battery and plugged in. This will stop scheduled tasks from waking the PC, but it may also stop Windows Update from waking it. If this fixes the issue, you can then selectively re-enable timers for specific tasks.
  • Try a clean boot. This starts Windows with a minimal set of drivers and startup programs. If the problem stops, then a third-party app is causing it. Use msconfig to disable all non-Microsoft services and startup items, then re-enable them one by one to find the culprit.
  • Update your BIOS/UEFI. Check your motherboard manufacturer’s website for a BIOS update. Sometimes power management bugs are fixed in new BIOS versions. Follow the manufacturer’s instructions carefully.
  • As a last resort, reset Windows. Go to Settings → Update & Security → Recovery → “Reset this PC.â€� Choose “Keep my filesâ€� to reinstall Windows without losing personal files. This will remove installed apps and drivers, so back up what you need.

Frequently Asked Questions

Why does my PC wake up from sleep randomly?

This is usually caused by a device (like a mouse or network card) being allowed to wake the PC, or by a scheduled task (wake timer). Use powercfg /lastwake to see what woke it last.

Can a faulty driver cause random sleep?

Yes, especially graphics and chipset drivers. A driver that crashes or misbehaves can trigger the system to sleep. Updating drivers often fixes this.

Will disabling sleep damage my PC?

No, it’s safe to disable sleep. Your PC will just use more power when idle. You can also set it to turn off the display instead, which saves power without sleeping.

Does “Fast Startup� cause sleep issues?

Yes, in some cases. Fast Startup can cause the system to not fully shut down, leading to sleep/wake glitches. Disabling it is a common fix.

How do I stop my PC from sleeping when I’m watching a video?

Windows should detect video playback and not sleep, but if it does, you can use a tool like powercfg /requestsoverride to override the sleep timer for a specific app, or simply set the sleep timer to “Never� when you’re watching videos.

Is there a way to keep the PC awake for a specific period only?

Yes, you can use the command powercfg /change standby-timeout-ac 0 to set the sleep timer to never, and later set it back to a specific number of minutes. Or use a third-party tool like “Caffeine� that simulates a key press to keep the system awake.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →