How to Temporarily Disable Sleep Mode in Windows 10/11: 4 Ways
Quick Links
Windows includes options to help you configure power and sleep settings for your PC. By default, Windows will go to sleep after a period of inactivity. But what if you want to keep your PC awake for longer?
1. Keep Your PC Awake with PowerToys
MicrosoftPowerToys is a collection of advanced toolsthat lets you do more with your Windows 10 and 11 systems. Its Awake feature lets you keep your PC awake on-demand, either temporarily or indefinitely. To prevent Windows from sleeping while a program is running:
PowerToys will now keep your PC awake for the specified time. If you need to disable it, change theBehavior ModetoKeep using the selected power plan.

Download:Microsoft PowerToys(Free)
2. Keep Your PC Awake With Insomnia
Insomnia is a free third-party lightweight utility to disable sleep mode on Windows temporarily. When enabled, it calls the SetThreadExecutionState API to inform the system that it is currently in use, preventing it from entering sleep mode.
When you open the program, a pop-up window with the message “This computer can not go to sleep while this window is open” will appear. You can minimize the window to keep it running in the background, and your PC won’t sleep. Closing the window will end the app and thus restore your system’s default power settings.

On the flipside, it has no option to keep your screen on. If you need to keep your screen on, consider using PowerToys or Don’t Sleep.
Download:Insomnia(Free)

3. Use Don’t Sleep to Lock Sleep and Shutdown
Don’t Sleep offers more power management options than PowerToys and Insomnia. It can block sleep and hibernation and keep your screen on. What’s more, it can also help you block accidental shutdowns. it’s possible to use Don’t Sleep to configure both sleep and awake options.
To use Don’t Sleep:

You can also configure Don’t Sleep to set aggressive power management rules based on the battery, CPU, and network parameters of your system. Don’t Sleep features some additional features in the toolbar. For example, click theMonitoroption and selectMonitor Offto turn off your display or clickComputerto access the power options.
Download:Don’t Sleep(Free)

4. Disable Sleep Mode in Settings
you could prevent your computer from entering the low-power sleep state by configuring sleep mode in the Settings app. While this only offers a basic level of control over power and sleep options, it works if you don’t want to use a third-party tool.
To change sleep and screen time in Windows 10 and 11:
Not all programs can suppress the default sleep behavior of your Windows computer. If sleep mode disrupts your workflow, you may use these third-party utilities to keep your PC awake for a short or prolonged duration.
Is it better to shut down your computer? Or is using sleep mode fine? What’s the best option for your laptop?
Your phone is a better editor than you give it credit for.
Every squeak is your PC’s way of crying for help.
Goodbye sending links via other apps.
Taming data is easier than it looks.
One casual AI chat exposed how vulnerable I was.