WindowsServer保持会话,让前台程序永久执行
计算机配置–管理模板–Windows组件–远程桌面服务–远程桌面会话主机–会话时间限制
设置已中断会话的时间限制 已启用 否
设置活动但空闲的远程桌面服务会话的时间限制 已启用 否
设置活动的远程桌面服务会话的时间限制 已启用 否
达到时间限制时终止会话 已禁用 否
设置 RemoteApp 会话的注销时间限制 已启用 否
上面这些的时间全部配置成了”从不”.
gpedit.msc gpupdate/force
安装Windows失败,写入注册表失败
给上写入注册表的权限,gpedit.msc gpupdate/force
用户配置–管理模板–系统
将图中两条信息分别填入:
System\CurrentControlSet\Control\ProductOptions
System\CurrentControlSet\Control\Server Applications
Software\Microsoft\Windows NT\CurrentVersion
---
System\CurrentControlSet\Control\Print\Printers
System\CurrentControlSet\Services\Eventlog
Software\Microsoft\OLAP Server
Software\Microsoft\Windows NT\CurrentVersion\Print
Software\Microsoft\Windows NT\CurrentVersion\Windows
System\CurrentControlSet\Control\ContentIndex
System\CurrentControlSet\Control\Terminal Server
System\CurrentControlSet\Control\Terminal Server\UserConfig
System\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration
Software\Microsoft\Windows NT\CurrentVersion\Perflib
System\CurrentControlSet\Services\SysmonLog
确定后需要重启生效。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/160306.html