Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Sleep Return Timeout for Unattended Wake Up



Sleep Return Timeout for Unattended Wake Up

How to Change Return to Sleep Timeout for Unattended Wake Up in Windows
Published by Brink
05 Nov 2009
Published by

How to Change Return to Sleep Timeout for Unattended Wake Up in Windows


information   Information
This tutorial will show you how to change how many minutes Windows will wait idle after waking up in an unattended state before automatically going back to sleep or hibernation in Vista, Windows 7, and Windows 8.

Tip   Tip
Adjusting this wait timeout period can also be handy if you had created a task in Task Scheduler to wake up the computer to run something. You could set this wait timeout period to be long enough for the task to have time to finish running before Windows 7 went back to sleep automatically.
Note   Note

  • If the computer wakes up from sleep mode and is used by you (no longer idle) during this default timeout period, then Windows will not go back to sleep mode automatically after this timeout period. Instead it will use the time period you set in your Power Plan Settings for Sleep or Hibernation.
  • This will also affect how long you have to enter your user account password if you have enabled the Require a Password on wakeup option.
warning   Warning
You can only do this while logged into an administrator account.






OPTION ONE
To Set System Unattended Sleep Timeout in Power Options
1. If the administrator has not already, the System unattended sleep timeout needs to be added to Advanced Power Settings.

2. Open your Advanced Power Settings, expand Sleep and System unattended sleep timeout. (see screenshots below)

3. Set how many minutes you want, and click/tap on OK. (see screenshots below)
Name:  AC-Only.jpg
Views: 5993
Size:  70.4 KBName:  Battery.jpg
Views: 5956
Size:  73.0 KB
Note   Note
This option changes the ACSettingIndex (Plugged in) and/or DCSettingIndex (On battery) DWORD values at the registry location below.

Substitute Your Power Plan Registry Key in the path below with the actual registry key for in the table below instead for the power plan this is for.

Code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\Your Power Plan Registry Key\238c9fa8-0aad-41ed-83f4-97be242c8f20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0]
Registry Key Power Plan
381b4222-f694-41f0-9685-ff5bb260df2e Balanced
8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c High performance
a1841308-3541-4fab-bc81-f71556f20b4a Power saver









OPTION TWO
To Set Default System Unattended Sleep Timeout in Registy

NOTE: You can only do this option while logged into an administrator account.
1. Press Windows+R to open the Run dialog, type regedit, and click/tap on OK.

2. If prompted by UAC, then click/tap on Yes (Windows 7/8) or Continue (Vista).

3. In regedit, navigate to the location below: (See screenshot below)

Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues
Sleep Return Timeout for Unattended Wake Up-step1.jpg
4. In the left pane of regedit, double click/tap on the DefaultPowerSchemeValues key (folder) to expand it. (See screenshot above)

5. Click/tap on the key (see table in tip below) that is for the Power Plan that you want to change the default 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
NOTE: You will not be able to set the wait timeout period for a custom power plan. You can only do so with the default power plans.


6. In the right pane, double click/tap on ACSettingIndex (Plugged in) or DCSettingIndex (On battery) to Modify it. (See screenshot below)
NOTE: You can choose to do this with one or both of these options to set what you want the wait timeout period to be for them.
Sleep Return Timeout for Unattended Wake Up-step2.jpg
7. Dot Decimal, and type in how many seconds you want Wndows to wait before going back to sleep or hibernation automatically after an unattended wakeup. Click/tap on OK. (See screenshots below)
NOTE: The default time is 120 seconds (2 minutes).
Name:  Step3A.jpg
Views: 6165
Size:  43.6 KBName:  Step3B.jpg
Views: 6125
Size:  40.1 KB
8. Close regedit.

9. Log off and log on, or restart the computer to apply.
That's it,
Shawn







.

10 Apr 2012   #1
rwmol

Windows 7 Home Premiun 64bit
 
 

Very helpful tutorial. I was unaware of this function.
I put my computer to sleep at midnight. I have a task to wake the computer in the morning to perform a few tasks. I have also changed the properties of Windows Backup in the Task Scheduler to "wake the computer to perform this task" shortly after the other tasks are completed. I notice the computer is asleep when I check it in the morning. Am I then to assume, the only was the computer will permently come out of sleep is with a mouse or keyboard command?

My System SpecsSystem Spec
.

10 Apr 2012   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello RW,

For a unattended wake-up, where there is no user activity of the mouse or keyboard being used, Windows will go back to sleep mode automatically in 2 minutes by default unless changed for how long using the method in this tutorial.

If there was user activity, then Windows would go back to sleep for how many "minutes" or "never" you had it set to in your power plan settings.

Unfortunately, it is required to be a actual phyisical press of a keyboard key or mouse movement to be considered not unattended.
My System SpecsSystem Spec
10 Apr 2012   #3
rwmol

Windows 7 Home Premiun 64bit
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello RW,

For a unattended wake-up, where there is no user activity of the mouse or keyboard being used, Windows will go back to sleep mode automatically in 2 minutes by default unless changed for how long using the method in this tutorial.

If there was user activity, then Windows would go back to sleep for how many "minutes" or "never" you had it set to in your power plan settings.

Unfortunately, it is required to be a actual phyisical press of a keyboard key or mouse movement to be considered not unattended.
Then my assumption was correct. Thanks Brink.
My System SpecsSystem Spec
10 Apr 2012   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

I'm afraid so.
My System SpecsSystem Spec
03 Oct 2012   #5
Ken429

Windows 7 Home Premium 64-bit
 
 

Can I enter 86,400 seconds and basically kill the option. I am trying to use Task Scheduler to put the computer to sleep at 10PM and wake it up at 4AM. I might want to modify these sleep/wakeup times so I don't want to have to remember to change the registry every time I make a Task Scheduler change.
My System SpecsSystem Spec
03 Oct 2012   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Ken,

Sure you could do that.
My System SpecsSystem Spec
18 Jun 2013   #7
Scoop

Windows 7 Home Premium 64 bit
 
 

Hi all,

I'm running Windows 7 Home Premium 6.1 Build 7601 SP 1 .

I added the "System unattended sleep timeout" using the regedit download from the other link provided here.

The option is now added to my Advanced Power Settings dialog box (Balanced).

I changed the value to 120 minutes but it's not changing the registry value. I logged off/logged on and also did a Restart but it didn't update the registry with the new value.

I've edited that registry value in the past without problems but I'm not sure why the value isn't changing when I use the Advanced Power Settings dialog box entry.

I'm checking this registry path after I log off/on and restart my PC to see if the value has updated:

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


381b4222-f694-41f0-9685-ff5bb260df2e Balanced
My System SpecsSystem Spec
18 Jun 2013   #8
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Scoop,

Are you able to change it using OPTION ONE, and have it stay applied?
My System SpecsSystem Spec
18 Jun 2013   #9
Scoop

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Scoop,

Are you able to change it using OPTION ONE, and have it stay applied?
Hi

No, it appears that it's not accepting the change when I'm using Option 1.

I changed the value (from the Advanced Power Settings Dialog box, same as in the above screen caps) to 120 minutes.

When I check the registry, it's still set to my old value of 3600 decimal (60 min).
My System SpecsSystem Spec
Comment

 Sleep Return Timeout for Unattended Wake Up




Tutorial Tools



Similar help and support threads for2: Sleep Return Timeout for Unattended Wake Up
Windows 7 Tutorial Category
Solved Auto Return to Sleep after wake up General Discussion
Wake events: how to discriminate between "unattended" and manual Media Center
Power Options - Add "System unattended sleep timeout" Tutorials
Solved BSOD upon return from Sleep on new Rig BSOD Help and Support
Power management - Sleep and hibernate idle Timeout Performance & Maintenance
Auto Return to Sleep after wake up General Discussion
How to get 'away' mode unattended wake-up for tv record Media Center

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:38 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33