How to disable Sleep Mode in Windows?

Question

Issue: How to disable Sleep Mode in Windows?

Hello. Is there a way to disable Sleep Mode in Windows? My PC keeps going to sleep when I leave it for a longer time. Any tips would be appreciated.

Solved Answer

Sleep Mode is a Windows power-saving feature that puts your computer into a low-power state. This feature is useful when you need to step away from your computer for a short period of time but don't want to completely shut it down. Your computer uses very little power while in Sleep Mode, but it remains on, making it faster to resume working than a full restart.

When you put your computer to Sleep, Windows turns off the display, hard drives, and other devices to save energy, but the computer's memory remains powered on. This means you can easily restart your computer and pick up where you left off. Sleep Mode differs from Hibernation in that the computer saves its current state to the hard drive before shutting down completely.

Some people, however, may wish to disable Sleep Mode in Windows for a variety of reasons. For example, if you're downloading a large file or performing a lengthy task that will take several hours to complete, Sleep Mode may interrupt it, causing you to lose progress. Furthermore, some people may disable Sleep Mode to save power when running on battery power or when not using their computers for an extended period of time.

Fortunately, there are several ways to disable Sleep Mode in Windows, including the Control Panel's Power Options, Registry Editor, and Group Policy Editor. Command Prompt and PowerShell commands are also available. This guide will show you 10 different ways to disable sleep mode in Windows.

How to disable Sleep Mode in Windows

Method 1. Windows Settings

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key + I to open the Settings app.
  • Click on the System option.
  • Select Power & sleep from the options on the left-hand side of the screen.
  • Under the Sleep section, click on the dropdown menu.
  • Choose Never from the list of options in the dropdown menu.

Windows Settings

Method 2. Command Prompt

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key on your keyboard.
  • Type cmd into the search bar.
  • Right-click on Command Prompt and select Run as administrator.

Command Prompt

  • In the Command Prompt window, type the following command: powercfg -h off.
  • Press the Enter key to execute the command.

Method 3. Control Panel

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key on your keyboard.
  • Type Control Panel and click on the Open option that appears.
  • In the Control Panel, select Category for the View as option.
  • Click on Hardware and Sound.
  • Choose Power Options.

Control Panel

  • Locate the current power plan and click on Change plan settings.
  • Click on the Put the computer to sleep option.
  • Choose Never from the dropdown list.

Method 4. Registry Editor

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key + R to open the Run dialog box.
  • Type regedit into the search box and click on OK.
  • In the Registry Editor window, navigate to the following path: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

Registry Editor

  • Double-click on CsEnabled.
  • In the Edit DWORD (32-bit) Value window that appears, change the Value data from 1 to 0.
  • Click on OK to save the changes.
  • Restart your computer to apply the changes.

Method 5. Group Policy Editor

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key + R to open the Run window.
  • Type gpedit.msc into the search box and click on OK.
  • In the Group Policy Editor window, navigate to the following path:

Computer Configuration \Administrative Templates\System\Power Management\Sleep Settings

  • Select Allow Standby States (S1-S3) When Sleeping (Plugged In) and double-click on it.

Group Policy Editor

  • In the properties window that opens, select Enabled.
  • Set the time to Never.
  • Click on Apply and then OK to save the changes.

Method 6. Device Manager

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key + R to open the Run console.
  • Type devmgmt.msc into the search box and click on OK.
  • In the Device Manager window, double-click on System devices to expand it.
  • Locate the device you want to modify, and double-click on it to open its Properties.
  • Switch to the Power Management tab.

Device Manager

  • Remove the checkmark next to Allow the computer to turn off this device to save power.
  • Click on Apply and then OK to save the changes.

Method 7. Task Scheduler

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key and search for Task Scheduler. Click on Open.
  • Click on Create Task.

Task Scheduler

  • Name the task Disable Sleep Mode.
  • Go to the Conditions tab, and remove the checkmark next to Start the task only if the computer is idle for.
  • Under the Actions tab, click on New.
  • In the Program/script field, type powercfg.exe.
  • In the Add arguments field, type change -standby-timeout-ac 0.
  • Click on OK.

Method 8. Windows PowerShell

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Go to the search bar and type Powershell.
  • Right-click on Powershell and select Run as administrator.

Windows PowerShell

  • Copy the following command:

powercfg -change -standby-timeout-ac 0

  • Paste the command into the Powershell window and press Enter.

Method 9. Windows Registry

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key + R to open the Run console.
  • Type regedit and click OK to open Registry Editor.
  • Click File and then click Export.
  • Save the .reg file in a desired location to back up the registry entries.
  • Navigate to this path:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0

Windows Registry

  • Double-click on Attributes and change the Value data to 2.
  • Restart your computer for the changes to take effect.

Method 10. BIOS Settings

Optimize now! Optimize now!
To restore your computer's peak performance, you have to purchase licensed version of Fortect Mac Washing Machine X9 repair software.
  • Press the Windows key + I to open the Settings menu.
  • Click on System.
  • Go to Recovery and under Advanced options, click Restart now.

BIOS Settings

  • On the Choose an option page, click on Troubleshoot.
  • Select Advanced options.
  • Select UEFI Firmware Settings.
  • Click on Restart.
  • Select the appropriate option to reach BIOS (e.g. Power Management or ACPI settings).
  • Locate Sleep Mode or Suspend Mode.
  • Choose Disabled or Off.

Optimize your system and make it work more efficiently

Optimize your system now! If you don't want to inspect your computer manually and struggle with trying to find issues that are slowing it down, you can use optimization software listed below. All these solutions have been tested by ugetfix.com team to be sure that they help improve the system. To optimize your computer with only one click, select one of these tools:

Offer
do it now!
Download
computer optimizer Happiness
Guarantee
do it now!
Download
computer optimizer Happiness
Guarantee
Compatible with Microsoft Windows Compatible with OS X
Your problem remained?
If you are not satisfied with Fortect and think that it failed to improve your computer, feel free to contact us! Please, give us all details related to your issue.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Mac Washing Machine X9 - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.To repair damaged system, you have to purchase the licensed version of Mac Washing Machine X9 malware removal tool.

Access geo-restricted video content with a VPN

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

Don’t pay ransomware authors – use alternative data recovery options

Malware attacks, particularly ransomware, are by far the biggest danger to your pictures, videos, work, or school files. Since cybercriminals use a robust encryption algorithm to lock data, it can no longer be used until a ransom in bitcoin is paid. Instead of paying hackers, you should first try to use alternative recovery methods that could help you to retrieve at least some portion of the lost data. Otherwise, you could also lose your money, along with the files. One of the best tools that could restore at least some of the encrypted files –  Data Recovery Pro.

About the author
Ugnius Kiguolis
Ugnius Kiguolis - The problem solver

Ugnius Kiguolis is the founder and editor-in-chief of UGetFix. He is a professional security specialist and malware analyst who has been working in IT industry for over 20 years.

Contact Ugnius Kiguolis
About the company Esolutions

What you can add more about the problem: "How to disable Sleep Mode in Windows?"