windows 1 分钟后关闭 RDP(X 按钮)时,它会关闭所有应用程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6519425/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 17:15:06  来源:igfitidea点击:

When closing RDP (X button) after 1 minute it closes All Applications

windowswindows-server-2008remote-desktop

提问by Orel Eraki

winserver 2008

赢服务器 2008

When i press X on the RDP after 1 minute all the programs i had open, are closed, it's like the server logged off..

当我在 1 分钟后在 RDP 上按 X 时,我打开的所有程序都已关闭,就像服务器已注销..

how do i disable it ?

我如何禁用它?

回答by Nagarajan S R

Open gpedit.msc

打开 gpedit.msc

Browse to Computer Configuration --> Administrative Templates --> Windows Components --> Remote Desktop Services --> Remote Desktop Session Host --> Session Time Limits.

浏览到计算机配置 --> 管理模板 --> Windows 组件 --> 远程桌面服务 --> 远程桌面会话主机 --> 会话时间限制。

Enable the "Set time limit for disconnected sessions" and set it to Never

启用“为断开连接的会话设置时间限制”并将其设置为从不

and change the Local Security Policy under Local Policies->Security Options-> Interactive logon: Do not require CTRL+ALT+Del" to Enabled, the problem dissapears.

并将本地策略->安全选项->交互式登录下的本地安全策略更改为启用,问题消失。