Sleep Return Timeout for Unattended Wake Up

How to Change the Return to Sleep Timeout for a Unattended Wake Up in Vista

information   Information
This will show you how to change how long Vista will wait to go back to sleep mode automatically after waking up unattended and idle. The default time is 120 seconds (2 minutes).
Note   Note




Here's How:
1. Open the Start Menu.​
2. In the white line (Start Search) area, type regedit and press Enter.​
3. If prompted, click on Continue in the UAC prompt.​
4. In regedit, go to: (See screenshot below)​
Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues
Reg1.jpg
5. In the left pane, click on the triangle to expand DefaultPowerSchemeValues. (See screenshot above)​
6. Click on the key (see table tip below) that is for the Power Plan that you want to change the wait time for. (See screenshot above)​
NOTE: Normally, you would just do this for the Power Plan that you have selected (see tip below). If you have more than one user, then you may also want to include their Power Plan, or all of them.​
Tip   Tip


Registry Key

Power Plan

381b4222-f694-41f0-9685-ff5bb260df2e

Balanced

8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

High performance

a1841308-3541-4fab-bc81-f71556f20b4a

Power saver

Not available

Created Custom Power Plan

NOTE: For more about how to see and change a Power Plan, see STEP TWO here: How to Troubleshoot a Vista Sleep Mode Problem and Find a Solution
Power_Plans.jpg
7. In the right pane, right click on ACSettingIndex (while on AC power) or DCSettingIndex (while on battery power) and click on Modify. (See screenshot below)​
NOTE: You can choose to do this with one or both of these for what you want the timeout period to be for them.​
Reg2.jpg
8. Dot Decimal, and type in how many seconds you want Vista to wait to go back to sleep automatically after an unattended wakeup. (See screenshot below step 9)​
NOTE: The default time is 120 seconds.​
9. Click OK or press Enter.​
Modify.jpg
10. Close regedit.​
11. Log off and log on, or restart the computer to apply.​


That's it,
Shawn




 

Attachments

  • thumb_14728231780Power_Options.png
    thumb_14728231780Power_Options.png
    12.3 KB · Views: 373
Last edited by a moderator:
Nice to see such a time switch exists. I shut the lid on my laptop, it wakes up and new shuts down again. Or is this when you have set it to sleep after a certain idle time and that sleep is different. I have done all suggested in your excellent tutorials and still it wakes up. Microsoft help said he couldn't help me any more, except to refer me higher which would cost me money. http://www.vistax64.com/vista-perfo...k-adapter-waking-laptop-sleep.html#post856350

The Optomize__Power document from Microsoft I found, he said only referred to sleep after idle, not when I shut the lid, which sounds silly to me. It says,

Wake on Timer

Windows Vista systems are capable of waking from Sleep due to a timer event, such as a scheduled task or Windows Media Center television recording. The wake on timer feature enables the power manager to program the platform timer alarm to wake the system at a predetermined future time, based on requests from applications and services.
The global ability for the system to wake from timer is controlled in Windows Vista power policy. By default, the ability to wake from Sleep on timer is enabled for all power plans and both AC and DC power states.
Friendly name
Allow wake on timer
Description
Allow Windows to automatically wake your computer from sleep on a timer for scheduled tasks and other programs.
GUID
bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d
Symbol
GUID_WAKE_ON_TIMER
Defined in
Ntpoapi.h
Balanced defaults
Enabled (AC)
Enabled (DC)

The Windows power manager programs the platform timer alarm when the system enters the Sleep state. Disabling wake on timer for DC power prevents the power manager from programming the platform timer alarm if the system is on DC power when the computer enters Sleep. Similarly, disabling wake on timer for AC power prevents the power manager from programming the platform timer alarm when the system is on AC power and enters a Sleep state.
Disabling wake on timer can help extend usable mobile PC battery life by preventing the system from automatically waking from Sleep and allowing the system to wake from Sleep only when the user is ready to interact with the system again. System manufacturers designing ultraportable laptops for business and productivity use may want to disable the wake on timer policy.
However, it is important to note that if wake on timer is disabled, the following Windows functionality are not available on the system:
·Hibernate idle time-out.
·Windows Media Center television recording.
·Scheduled tasks that are programmed to wake the computer from the Sleep state.
·Automatic checks for new Windows Update if the preconfigured time occurs when the system is in the Sleep state.
·Any other program or service that attempts to schedule a wakeable timer via the SetWaitableTimer API.

How do you disable this sucker, if it does apply to the sleep when you shut the lid?
 

My Computer

Hello Oldroser,

From this and your other post, you might check your BIOS power management settings to see if it may also contain a "Wake on LAN" type option that needs to be disabled.

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
I'm afraid that I do not know what else to try with your particular problem other than the items listed in the tutorial below. Since it is related to the network waking up your laptop, you might post this question with all the details from both posts in the Network & Internet forum to see if someone may know of a solution for this for you. :(

http://www.vistax64.com/tutorials/63567-power-options-sleep-mode-problems.html

I hope you get a solution soon,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Well, after I re-enabled the "allow the computer to put this device to sleep to save power" on the USB hubs, which a Microsoft specialist working on this problem had disabled, it slept until I woke it up twice. Unfortunately, the third time it went to sleep but couldn't be awakened. Had to hit the power button to turn it off. Curse it!
 

My Computer

Hey, can this be posted in Seven forums too? I just did it for Windows 7, and did it because I used this same tutorial last year for Vista to allow a program to start via scheduler from sleep mode, and stay running long enough to complete it's task - two minutes isn't long enough for iTunes to start and download podcasts. :)

Thanks for the great site(s) and great help!
 

My Computer

System One

  • CPU
    Intel i7 920
    Motherboard
    Asus P6T
    Memory
    6GB
    Graphics Card(s)
    Sapphire Radeon 4850 1GB
    Sound Card
    RealTek onboard
    Monitor(s) Displays
    Viewsonic 2030B
    Screen Resolution
    1600x1200
    Hard Drives
    WD 750GB Caviar Black
    Raid 1 2x WD 1TB Caviar Green
    PSU
    750W
    Case
    Antec Nine Hundred
    Cooling
    Cooler Master V8
    Keyboard
    Logitech wireless
    Mouse
    Logitech wireless
Hello WildHare, and welcome to Vista Forums.

Sure thing. I'll get it added tonight sometime. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
This unattended wake sleep timeout is part of windows 7 also unfortunately. If I turn my computer on from sleep and walk away without moving the mouse my computer should not go to sleep after 2 minutes.

I delete this regedit key and now my computer doesnt auto sleep :)

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

My Computer

This unattended wake sleep timeout is part of windows 7 also unfortunately. If I turn my computer on from sleep and walk away without moving the mouse my computer should not go to sleep after 2 minutes.

I delete this regedit key and now my computer doesnt auto sleep :)

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

Hello Darth, and welcome to Vista Forums.

That's a bit drastic to delete your power plans, when you probably could have changed the power plan settings to never Sleep instead. However, as long as it works and your happy with it though. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Other than what you did, the usual way was to set a high enough wait time that you would be active on the computer before it reaches thatm to effectively be the same as disabling it.

Thank you for sharing it. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top