你好,
如果我们在长时间要远程操作服务器,在10分钟后断开的话,可以设置下方的组策略。
打开电脑选择运行,输入gpedit.msc,然后依次选择:计算机配置、管理模板、windows组件、终端服务、会话、设置右边属性栏目里面的“为断开的会话设置时间”
如果按照您描述的情况,查看本机的策略:
User configuration > Administrative Templates > Control Panel > Personalization
Enable screen saver Enabled
Password protect the screen saver
Enabled ScreenSaveTimeOut [time in seconds]
同时还有下方的这个策略对您有帮助。
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop
Session Host > Session Time Limits>Set time limit for active but idle Remote Desktop Services sessions policy
如果回答是有帮助的, 请将其标记为答案, 可以帮助其他有相同问题的社区成员, 并快速找到有用的答复。
针对Windows 2008/2008R2的扩展支持将于2020年结束,之后微软将不再为其提供安全更新。点击此处或扫描二维码获取《在 Azure 上运行 Windows Server 的终极指南》,把握良机完成云迁移并实现业务现代化。