Have updated to windows 10 pro edition

In power options have sleep/turn off display - never when powered and 30/15 minutes when battery.

Computer is powered

Every time i go out for 1-2 minutes it go to login screen, broke all my opened ssh session etc.

Anyone have same? Any way fix it? Maybe there is somewhere logoff timeout option?

  • 1
    Have you checked the event log to see if you were logged out, or the system had an unexpected reboot? – Eris Aug 9 '15 at 23:28
  • 1
    No, it not reboot. It just logoff, all applications are here and same state as before, just disconnected(seams like it go fast sleep mode). It is not one time behavour. That was 5 times over last hour. – arheops Aug 9 '15 at 23:34
  • 1
    Checked windows event log. It show "The system is entering sleep.Sleep Reason: System Idle", by "kernel-power". However all settings in current scheme are "never" – arheops Aug 9 '15 at 23:37
  • Did you find a solution to your problem ? – Fabske Dec 31 '15 at 13:54
  • No, still same. – arheops Dec 31 '15 at 19:09

This is most likely happening due to a hidden power option called System unattended sleep timeout. On my machine it was set to 2 minutes, which was mighty annoying, as it would cause behavior described by OP (sleep, wake-up, login screen, Event Viewer saying: "The system is entering sleep; Sleep Reason: System Idle"). You have to enable this option in registry before being able to change it.

From http://answers.microsoft.com/en-us/windows/forum/windows_10-windows_install/windows-10-keeps-going-into-sleep-after-1-minute:

  1. Click on the windows icon
  2. Type regedit
  3. Right-click on regedit icon, click Run as administrator
  4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
  5. Double click on Attributes
  6. Enter number 2.
  7. Go to Advanced power settings (click on Windows button, write power options, click on Power Options, in the selected plan click on the Change plan settings, click on the Change advanced power settings).
  8. Click on the Change settings that are currently unavailable
  9. Click Sleep, then System unattended sleep timeout, then change these settings from 2 Minutes to 20 for example.

This solved the issue for me.

  • Not think so. It go away with windows 10 updates, after some times(new update?) apear again. – arheops Aug 2 '16 at 15:16
  • @arheops, did you try this solution? – predi Aug 2 '16 at 15:21
  • At current moment it work ok. Last time was not ok 1 month ago. – arheops Aug 2 '16 at 19:49
  • Did not work. -1 – Gnemlock Nov 22 '17 at 23:48
  • I do not have key 238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 in my Win 10 registry :( – Mikael Chudinov Feb 24 at 19:55

There is a screen saver setting hidden in the old Control Panel from previous versions of Windows. To get to the setting, follow the steps below:

  1. Open the start menu up and search for "Control Panel"
  2. Go to "Appearance and Personalization"
  3. Click on "Change screen saver" underneath Personalization on the right
  4. Under Screen saver, there is an option to wait for "x" minutes to show the log off screen (See below)

If you uncheck the checkbox, you should be able to prevent your computer from logging off.

  • no,it is not. this one also disabled. – arheops Sep 28 '15 at 19:14

protected by Community Jan 23 '16 at 8:34

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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