Stop entering Away Mode

I have finally solved an annoying problem with my Windows 10 setup which was sortof hard to Google, so I am sharing. For quite some time, the computer had refused to go to sleep when it was not running on battery. Instead of going to sleep when instructed to, it would simply turn off the screen and mute the volume while continuing to *actually not sleep*. Moving the mouse a tiny bit would swiftly end the charade. In a recent fit of rage I decided to inspect the event log, and behold, there were some Kernel Power events that said: > _The system is entering Away Mode._ Which is entirely _not_ what I wanted when I told it to go to sleep. However, there was no option _anywhere_ in the power settings to be found that turned off this _"Away Mode"_. Well, the option actually does exist, but for some reason it is not visible unless you set the Attributes value to 2 in the following, easily memorable registry key:
Armed with this registry tweak, you can go back to the _"advanced"_ power settings, aka:
rundll32 shell32.dll,Control_RunDLL PowerCfg.cpl @0,/editplan:
Navigate to Sleep and there should be an option that says Allow Away Mode Policy or something similar. And that policy should be set to no, not even when plugged in, never, just sleep, for crying out loud, why does this even exist.

Tags: - - - - -

4 Replies to “Stop entering Away Mode”

  1. Thank you so much! This problem is so annoying and I've tried nearly every solution I could find online. Finally, something actually worked.
  2. For some reason I kept in the away mode when trying to sleep. Even in event viewer I do not know why it is entering away mode. I also tried viewing the sources that block sleeping, which seems to be the audio recording device (for noise cancellation?). However I cannot block that either using a series commands. I almost gave up. Man you saved my tons of time with this trick! Thank you so much!
  3. Holy shit, I almost went insane trying to solve this. Thank you!!! Why such bullshit functionality exists in the first place..

Leave a Reply to TonyJB Cancel reply

Your email address will not be published. Required fields are marked *