加入收藏 | 设为首页 | 会员中心 | 我要投稿 源码网 (https://www.900php.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

windows – 如何阻止远程桌面由于不活动而关闭我的会话?

发布时间:2021-03-21 23:43:48 所属栏目:Windows 来源:网络整理
导读:我正在从 Windows Vista桌面连接到运行Windows Server 2003的服务器.我正在使用远程桌面,而且我正在远程服务器上运行一些非常长的运行进程.我的问题是远程桌面注销我的会话并在一段时间后终止任何正在运行的进程而没有我自己的输入.这意味着我需要不时地坐

我正在从 Windows Vista桌面连接到运行Windows Server 2003的服务器.我正在使用远程桌面,而且我正在远程服务器上运行一些非常长的运行进程.我的问题是远程桌面注销我的会话并在一段时间后终止任何正在运行的进程而没有我自己的输入.这意味着我需要不时地坐在我的电脑上摆动鼠标,而不是出去享受几个小时的灿烂阳光.

有谁知道我如何禁用此行为?我认为它可以在某处配置.

Using Group Policies (best practice)
Open Group Policy.

In Computer Configuration,
Administrative Templates,Windows
Components,Terminal Services,
Sessions,enable the settings you want
to configure. See the policy explain
text for more information.

要么

Using Terminal Services Configuration
Open Terminal Services Configuration.

In the console tree,click
Connections.

In the details pane,right-click the
connection for which you want to
modify time-out settings,and then
click Properties.

On the Sessions tab,above End a
disconnected session,select the
Override user settings check box. This
allows you to configure time-out
settings for the connection.

Configure the following time-out
settings as appropriate:

In End a disconnected session,select
the maximum amount of time that a
disconnected session remains on the
server. When the time limit is
reached,the disconnected session
ends. When a session ends,it is
permanently deleted from the server.
Select Never to allow disconnected
sessions to remain on the server
indefinitely.

In Active session limit,select the
maximum amount of time that a user’s
session can remain active on the
server. When the time limit is
reached,either the user is
disconnected from the session or the
session ends. When a session ends,it
is permanently deleted from the
server. Select Never to allow the
session to continue indefinitely.

In Idle session limit,select the
maximum amount of time that an idle
session (a session without client
activity) remains on the server. When
the time limit is reached,either the
user is disconnected from the session
or the session ends. When a session
ends,it is permanently deleted from
the server. Select Never to allow idle
sessions to remain on the server
indefinitely.

Source

(编辑:源码网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读