Sleep mode is a power-saving state that pauses your PC, but it can interrupt downloads, remote sessions, or long-running tasks. This guide shows you how to turn it off completely or adjust it to your needs, using the Settings app, Control Panel, or Command Prompt. No special tools are required—just a few minutes and your Windows 10 login.
What You’ll Need
- A Windows 10 PC with administrator privileges (you’ll need to confirm a UAC prompt).
- Access to the Start menu and the ability to type in the search box.
- For the Command Prompt method, a keyboard to type commands.
Step-by-Step
Method 1: Using Settings (Recommended)
- Click the Start button (Windows icon) at the bottom-left corner of your screen.
- Click the Settings gear icon (it looks like a small gear).
- In the Settings window, click System.
- From the left sidebar, select Power & sleep.
- Under the Sleep section, you’ll see two drop-down menus: one for “On battery power, PC goes to sleep after” (laptops/tablets) and one for “When plugged in, PC goes to sleep after.”
- Click each drop-down and select Never from the list.
- Close the Settings window. Your changes are saved automatically.
Method 2: Using Control Panel (Advanced Power Settings)
- Press the Windows key, type Control Panel, and press Enter.
- Click Hardware and Sound (if you’re in Category view).
- Click Power Options.
- Next to your currently selected power plan (usually “Balanced (recommended)”), click Change plan settings.
- Click Change advanced power settings.
- In the Power Options dialog, scroll down and click the plus sign (+) next to Sleep to expand it.
- Expand Sleep after.
- You’ll see two settings: “On battery (minutes)” and “Plugged in (minutes)” (on desktops, only “Plugged in” appears).
- Click each value and change it to 0 (zero means “Never”).
- Click Apply, then OK.
- Close the Control Panel window.
Method 3: Using Command Prompt (Quick & Scriptable)
- Press the Windows key, type cmd.
- Right-click Command Prompt and select Run as administrator. Click Yes if prompted by User Account Control.
- Type the following command and press Enter to disable sleep when on battery (for laptops):
powercfg /change standby-timeout-ac 0 - Type the following command and press Enter to disable sleep when plugged in:
powercfg /change standby-timeout-dc 0 - Close the Command Prompt window. The changes take effect immediately.
Common Mistakes
- Changing the wrong power plan: If you’re on a laptop, you might have multiple plans (e.g., “Power saver” and “High performance”). Make sure you edit the plan that is currently active (the one with the radio button selected).
- Setting the value to “0” but it still sleeps: Some systems interpret “0” as “never”, but if you see a blank or “Never” option, use that. In Control Panel, “0” is correct, but double-check that you applied the change to both “On battery” and “Plugged in” if both are present.
- Forgetting about “Hybrid sleep” or “Hibernate” after sleep: Even if you disable sleep, your PC might still hibernate after a certain time. Check the “Hibernate after” setting in the same advanced power options menu and set it to 0 as well.
- Not saving changes: In Control Panel, you must click Apply and then OK. If you just close the window, changes are lost.
Tips
- Use a custom power plan: If you want to disable sleep only for certain situations, create a new power plan (in Control Panel → Power Options → Create a power plan) and switch to it when needed.
- Keep your screen on separately: Disabling sleep does not affect the display timeout. You can keep the screen turning off after a few minutes to save power while the PC stays awake.
- For desktop PCs: You only need to change the “Plugged in” setting; the battery option won’t appear.
- Check for Group Policy (if on a work PC): If your organization enforces a sleep policy, the Settings and Control Panel options may be grayed out. You’ll need to contact your IT admin.
- Re-enable sleep easily: To turn sleep back on, repeat the steps and choose a time (e.g., 30 minutes) instead of “Never” or “0”.
Troubleshooting
Sleep still activates after disabling it:
- Check the Hibernate after setting in the same advanced power options. Set it to 0 as well.
- Check if “Fast Startup” is enabled (Control Panel → Power Options → Choose what the power buttons do → Change settings that are currently unavailable). Fast Startup can cause the PC to appear to sleep when you shut down, but it shouldn’t affect sleep timers. Disable it if you suspect it’s interfering.
- Run
powercfg /ain Command Prompt to see which sleep states are available. If “Standby (S3)” is not listed, your hardware might be using a different sleep mode.
Changes revert after a reboot:
- This can happen if a third-party power management utility (like a laptop manufacturer’s tool) is overriding your settings. Check for such software in the system tray and adjust its settings or uninstall it temporarily.
- If you’re on a domain network, Group Policy may be reapplying the sleep timeout. Contact your IT administrator.
Command Prompt says “Access denied”:
- Make sure you ran Command Prompt as administrator (right-click → Run as administrator). The command requires elevated privileges.
Frequently Asked Questions
Will disabling sleep mode damage my PC?
No, it’s safe. Your PC will simply run continuously. It uses more electricity and generates more heat, but modern hardware is designed to run 24/7.
What’s the difference between sleep, hibernate, and shutdown?
Sleep keeps your session in RAM and uses a small amount of power. Hibernate saves your session to the hard drive and uses no power. Shutdown closes all programs and turns off the PC completely.
Can I disable sleep only when the laptop is plugged in?
Yes. In Settings, set “On battery power, PC goes to sleep after” to a time (e.g., 15 minutes) and “When plugged in” to “Never”.
Why is my PC still sleeping after I set “Never” in Settings?
Check the Control Panel advanced settings—some systems have a separate “Hibernate after” timer that can still trigger. Also, check if any third-party utility is overriding your settings.
Does disabling sleep affect the screen timeout?
No. The screen timeout is a separate setting. You can keep the display turning off while the PC stays awake.
How do I re-enable sleep mode later?
Follow the same steps and choose a time (e.g., 30 minutes) instead of “Never” or “0”. In Command Prompt, use powercfg /change standby-timeout-ac 30 (minutes) to set it to 30 minutes.
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
- Set a Google Play Budget & Stop Accidental Purchases
- Destiny 2 Error Code Anteater: Fixes & Causes
- View Android Photos on Chromebook: Step-by-Step
- Fix Windows Could Not Prepare the Computer to Boot
- Windows 11 Security Settings: Best Config Guide
- Install Custom Recovery on Samsung Galaxy Trend