13

My Lenovo laptop's settings:

  • is plugged in
  • no screensaver
  • "never" go to sleep/hybernate set to all settings in advanced power options

When music is playing or watching video everything works fine.
But when nothing is happening pc goes to sleep after ~1 min.
Not sure, but it doesn't happen right after restart, only after I begin working.
Here is the system log for sleep event:

  • System

    • Provider

    [ Name] Microsoft-Windows-Kernel-Power [ Guid] {331C3B3A-2005-44C2-AC5E-77220C37D6B4} EventID 42 Version 2 Level 4 Task 64 Opcode 0 Keywords 0x8000000000000004

    • TimeCreated

    [ SystemTime] 2015-10-13T20:02:20.555603100Z EventRecordID 1736 Correlation

    • Execution

    [ ProcessID] 4 [ ThreadID] 4412 Channel System Computer pcname Security

  • EventData

    TargetState 4 EffectiveState 4 Reason 7 Flags 0

How can I solve it?

2

2 Answers 2

9

It is the System unattended sleep timeout setting.

By default it is set to 120 seconds and is hidden.

Setting the registry data Attributes under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 to value 2 (or 0) makes the option appear in the advanced power settings, under Sleep and can be set to something normal.

Source: https://www.tenforums.com/tutorials/72133-add-system-unattended-sleep-timeout-power-options-windows-10-a.html

1
  • It's the "Attributes" key under that location that should be set to 2.
    – kristianp
    Jun 8, 2019 at 9:47
2

have had issues with Windows not using the sleep settings configured in settings and found that on some machines there is a hidden power setting called Sytem Unattended Sleep Time-out in the advanced power config. The link below shows you how to view / change this setting. If I ever come across a machine that goes to sleep irrespective of the time set in settings this is the first thing I check

http://itwalkthroughs.com/knowledge-base/windows-sleep-settings-dont-work/

2
  • Are you associated with the IT Walkthroughs site?   I.e., do you own it or write for it?   If so, you must say so. Mar 9, 2019 at 6:21
  • @Scott Do you have reason to believe that he owns the site? Seems like a strange question to me; people us links in answers all the time and the info provided here is useful. It would be better if he included the information in his answer rather than just giving the link, but I don't see anything wrong with the link.
    – BruceHill
    Apr 13, 2019 at 8:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.