Changing the sleep timer to Never keeps a Windows computer awake when you stop using the keyboard or mouse. Change the plugged-in timer first if a download or long task needs to continue.
The screen can still turn off, and closing a laptop lid has its own setting.
In this guide
1. Set the Windows 11 sleep timer to Never
Open Start > Settings > System > Power & battery. Expand Screen, sleep, & hibernate timeouts. Find Make my device sleep after and choose Never for the plugged-in setting.
Some PCs and earlier Windows 11 layouts use Power or Screen and sleep instead. Follow the sleep control inside the System power page, rather than changing only the display timer.

On a laptop, the battery and plugged-in choices are separate. Changing the plugged-in value doesn't keep it awake after you unplug the charger. Change the battery value too only if your task needs it.
I'd keep a normal battery timer unless the task needs more time. An unattended laptop left awake can run its battery down. Plugged-in Never is usually the more practical setting for a long transfer at a desk.
Leave Turn my screen off after at a sensible interval if you don't need the picture visible. That control turns off the display; the sleep timer puts the computer into a low-power state.
Wait past the old sleep interval with the lid open. If the task is still running when you return, the idle sleep setting was what stopped it. If the computer still sleeps, check the later sections for other triggers.
Windows 10 uses Power & sleep
In Windows 10, open Start > Settings > System > Power & sleep. Under Sleep, set When plugged in, PC goes to sleep after to Never.
For a laptop running on battery, On battery power, PC goes to sleep after is the second control. Set it independently. A desktop without a battery won't show the battery choice.
The Screen section on this page is separate. Setting its timer to Never keeps the picture visible but doesn't cancel a sleep timer in the Sleep section. Check the label beside the value you change.
During a download, the screen going dark by itself doesn't mean the transfer stopped. Wake the display and check the download's progress before changing more power settings.
Windows 10 support ended on October 14, 2025. Keeping the PC awake doesn't change that support status. Use the controls that match your Windows version, and handle its updates separately from this power change.
2. Change the lid action if closing it stops the task
A laptop can still sleep when you close the lid, even with its idle timer set to Never. Open Control Panel > System and Security > Power Options, then select Choose what closing the lid does.
Beside When I close the lid, choose Do nothing in the Plugged in column, then select Save changes. The On battery column controls the same action when the charger isn't connected.

Both Windows versions use this Control Panel page. The power-button and sleep-button actions on that page are separate settings. Change the lid row for a lid problem rather than changing every button at once.
Keep an awake laptop on a ventilated desk. Don't close it and put it into a bag while a task is still running. With Do nothing selected, closing the lid no longer puts the laptop to sleep.
For a Dell with a sleep shortcut, the sleep button guide explains how that key differs from the idle timer. That key can send the laptop to sleep regardless of the idle timer.
After saving, check that the task continues with the lid closed in the setup you plan to use. If it continues with the charger attached but stops on battery, compare the two columns before looking for another cause.
3. Use PowerToys Awake for a temporary session
PowerToys Awake can keep a PC awake without replacing its normal power-plan settings. If PowerToys is already installed, open PowerToys Settings > Awake and turn on Enable Awake.
Choose Keep awake for a time interval for a limited session, or Keep awake indefinitely until you disable Awake or close it. Use the interval option when you know roughly how long a task will take.
Keep screen on is a separate option. Leave it off when only the computer needs to stay awake. Turn it on for something that needs a visible display, such as a presentation.
Microsoft says the Awake feature works alongside the normal plan. The tool doesn't rewrite those plan settings; when it exits, Windows returns to the usual behavior.
Awake works while you're signed in and the feature is enabled. Its screen option doesn't keep the display on at the lock screen. For unattended use, set the Windows power controls directly and lock the computer when you step away.
Choosing Sleep yourself still takes priority. Don't select Sleep from Start and expect Awake to undo it. For an occasional long task, the tool is useful; for daily use, the regular settings are easier to keep track of.
4. Check another timer when Never doesn't hold
If Never hasn't stopped the interruptions, note whether it happens after inactivity, closing the lid, pressing a button, or disconnecting the charger. Each of those has its own control.
Hibernate saves the session to storage and powers down more deeply than sleep. A hibernation timer in the advanced power settings can still affect a PC whose ordinary sleep setting says Never.
Our Never-but-still-sleeping guide covers that separate case.
Your workplace or school may control a setting that's unavailable or keeps changing back. Show IT the exact timer and ask whether a required power policy is changing your choice.
If the PC shuts down or restarts unexpectedly instead of resuming the same session, report that distinction to the manufacturer. Give the model, Windows version, power source, and whether the lid was open.
Crashes need their own troubleshooting steps.
The Short Version
Set the sleep timer to Never for the power source you use. Screen-off and lid-close actions are separate. Use Awake for a temporary session, and check hibernation or management policy if the ordinary setting doesn't hold.
Checked November 27, 2026.







