Windows 10: How to find what program is using SetThreadExecutionState to cause exit from Modern Standby?

Discus and support How to find what program is using SetThreadExecutionState to cause exit from Modern Standby? in Windows 10 Software and Apps to solve the problem; My laptop has been exiting Modern Standby for unclear reasons. Network connectivity during standby is disabled and ability to wake from sleep is... Discussion in 'Windows 10 Software and Apps' started by voldemarz, Apr 24, 2024.

  1. voldemarz Win User

    How to find what program is using SetThreadExecutionState to cause exit from Modern Standby?


    My laptop has been exiting Modern Standby for unclear reasons. Network connectivity during standby is disabled and ability to wake from sleep is disabled for all devices in Device Manager.Just had a situation where laptop was supposedly on sleep for 4 days, but it turns out it had exited standby 6 hours after entering. Event Viewer contained the following2024-04-10 08:09:23 - Connectivity state in standby: Disconnected, Reason: Policy Setting2024-04-10 14:08:29 - Connectivity state in standby: Connected, Reason: None2024-04-10 14:08:32 - The system is exiting Modern Standby. Reason: SetThreadE

    :)
     
    voldemarz, Apr 24, 2024
    #1

  2. Is there any OS function that let us check system is going to enter modern standby?

    Hi,



    Thank you for writing to Microsoft Community Forums.



    Windows 10 Modern Standby (Modern Standby) expands the Windows 8.1 Connected Standby power model. Connected Standby, and consequently Modern Standby, enable an instant on / instant off user experience, similar to smartphone power models. Just like
    the phone, the S0 low power idle model enables the system to stay up-to-date whenever a suitable network is available.



    We would suggest you to refer these articles for additional information:

    What is Modern Standby?

    Prepare software for modern standby

    Modern standby SleepStudy



    However, as you are into software development. Let me point you in the right direction, where you would get the appropriate help for this issue. I would suggest you to post your query in
    MSDN forums, where we have experts and support professionals
    who are well equipped with the knowledge on Modern Standby to assist you with the appropriate troubleshooting steps.



    Regards,



    Aditya Roy

    Microsoft Community – Moderator
     
    Aditya_Roy, Apr 24, 2024
    #2
  3. how do i enable modern standby

    Please do follow up on the suggestion you received from Saltgrass. Modern Standby, if supported, is enabled in the UEFI.
     
    Chien Sage, Apr 24, 2024
    #3
  4. Maledict Win User

    How to find what program is using SetThreadExecutionState to cause exit from Modern Standby?

    modern standby problems entering to sleep

    Laptop Dell XPS 7590 Windows 10 2004build.

    I press the power button, laptop starts going to sleep, then if i was lucky enough when i close the lid after some time laptop stops responding to ping.

    But in most cases laptop just not going to sleep at all. Then if i look to event viewer i see events:

    Event 506: The system is entering connected standby

    Reason: Power Button.

    Event 507: The system is exiting connected standby

    Reason: Lid.

    Event 506: The system is entering connected standby

    Reason: Lid.

    Event 507: The system is exiting connected standby

    Reason: Input Keyboard.

    Interesting thing, event shows that was keyboard input, but how this could happen if the lid was closed, and i was closing it gently.

    And i can not disable modern standby, cause it is a new "feature", so hibernate is the only choice ????
     
    Maledict, Apr 24, 2024
    #4
Thema:

How to find what program is using SetThreadExecutionState to cause exit from Modern Standby?

Loading...
  1. How to find what program is using SetThreadExecutionState to cause exit from Modern Standby? - Similar Threads - find program using

  2. Cannot enter to Modern Standby, exit reason : session Unlock

    in Windows 10 Software and Apps
    Cannot enter to Modern Standby, exit reason : session Unlock: Found my system cannot enter to modern standbysleep state successfully.It will auto wake up while I try to let system enter to sleep state.Check the sleepstudy report, found the exit reason is : Session Unlock.Cannot find the meaning of Session Unlock, I've disabled all the...
  3. Cannot enter to Modern Standby, exit reason : session Unlock

    in Windows 10 Gaming
    Cannot enter to Modern Standby, exit reason : session Unlock: Found my system cannot enter to modern standbysleep state successfully.It will auto wake up while I try to let system enter to sleep state.Check the sleepstudy report, found the exit reason is : Session Unlock.Cannot find the meaning of Session Unlock, I've disabled all the...
  4. How to disable Modern Standby?

    in Windows 10 Gaming
    How to disable Modern Standby?: Hi I want to disable windows Modern Standby because it is dosen't allowing some features to activate. My pc is F0GH00MHIN https://answers.microsoft.com/en-us/windows/forum/all/how-to-disable-modern-standby/6a760c2b-af0b-4c5e-bea8-e32d0f044c52
  5. How to disable Modern Standby?

    in Windows 10 Software and Apps
    How to disable Modern Standby?: Hi I want to disable windows Modern Standby because it is dosen't allowing some features to activate. My pc is F0GH00MHIN https://answers.microsoft.com/en-us/windows/forum/all/how-to-disable-modern-standby/6a760c2b-af0b-4c5e-bea8-e32d0f044c52
  6. How to find what program is using SetThreadExecutionState to cause exit from Modern Standby?

    in Windows 10 Gaming
    How to find what program is using SetThreadExecutionState to cause exit from Modern Standby?: My laptop has been exiting Modern Standby for unclear reasons. Network connectivity during standby is disabled and ability to wake from sleep is disabled for all devices in Device Manager.Just had a situation where laptop was supposedly on sleep for 4 days, but it turns out...
  7. Modern Standby - MS, what are you smoking there?

    in Windows 10 Gaming
    Modern Standby - MS, what are you smoking there?: Hi all AFAIK there are no solution of this terrible problem which force everybody with new notebooks to spend many hours of their lifes harvesting with the question "what's wrong with my NB???" and to find only the answer "be happy, it is for you convenience!". So, first of...
  8. Modern Standby - MS, what are you smoking there?

    in Windows 10 Software and Apps
    Modern Standby - MS, what are you smoking there?: Hi all AFAIK there are no solution of this terrible problem which force everybody with new notebooks to spend many hours of their lifes harvesting with the question "what's wrong with my NB???" and to find only the answer "be happy, it is for you convenience!". So, first of...
  9. Stop Modern Standby from activating on SP4

    in Windows 10 Performance & Maintenance
    Stop Modern Standby from activating on SP4: I have repurposed a MS Surface Pro 4 that has a cracked display into a file server to replace a very old HP laptop that was serving in that role. The SP4 has no keyboard, has several USB drives, a USB Ethernet connection, and is connected to AC power. The drives are shared on...
  10. What is Modern Standby? Find out if your Windows PC supports it

    in Windows 10 News
    What is Modern Standby? Find out if your Windows PC supports it: [ATTACH] [ATTACH]Microsoft introduced Connected Standby power mode in Windows 10/8. It allows devices to go instant on or off and run background processes in extremely lower power mode. It also allows the computer to receive emails when the display turns off, [...] This post...