from: http://www.pcreview.co.uk/forums/thread-1304126.php

 

[1]

Greetings,

Does anybody know how to programmatically disable the "Display Today screen
if device is not used for xx hours" option?
This option is found in Start - Settings - Today and then the Items tab.

I am trying to lock down the terminal so users remain within my app but the
Today screen keeps popping up after 4 hours (default).
I have been through most of the registry and cannot find anything obvious.
Nor can I find much on the web.

TIA,

Justin.

 

[2]

For anybody having this issue in the future, the answer is in the following
registry entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Rai]
"SessionTimeout"=dword:00000000

This value represents the number of hours of inactivity until the display
goes back to the Today screen. The default value is
"SessionTimeout"=dword:00000004.
A value of "SessionTimeout"=dword:00000000 (as above) prevents the
Today screen from displaying.

HTH, Justin.

 

[3]

There is another key you can check out too, one that would completely
disable it. I don't know if this will prevent it from automatically
starting after idle time though, and, once it's disabled, it may be
replaced by a blank window that doesn't perform paint messages
(depending, it would seem, on your operating system.

Anyway, the key is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today and you can use the code

listed above to change the Enabled value to 1 or 0. This may be
something completely different than what you were going for, and if so
then the code above should work great.

Tristan


 


 

相关文章:

  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-10-07
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2021-06-24
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
相关资源
相似解决方案