# 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:
HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\25DFA149-5DD1-4736-B5AB-E8A37B5B8187

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: - - - - -

## 7 Replies to “Stop entering Away Mode”

1. TonyJB says:
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. bo says:
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. Tom says:
Holy shit, I almost went insane trying to solve this. Thank you!!! Why such bullshit functionality exists in the first place..
4. Thanks heaps rattle, I was all over Microsoft forums trying to find a solution to this but instead of answers they tend to just say reset to factory settings which helps nothing at all. One Microsoft rep even tried to say that turning off your monitor is the same as sleep. Anyways, this worked a treat, and I'm glad I have the option to disable Away mode now whenever needed
5. Nice! I cannot stress enough how happy it makes me when a blagpost saves someone time and/or sanity =).
6. Billy Grates says:
Nice . The interwebs like a giant brain, where the most esoteric tweak floats to the top on command