保持远程桌面会话“活跃" [英] Keeping remote desktop session "alive"

查看:155
本文介绍了保持远程桌面会话“活跃"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 AutoIt 来自动化 GUI 操作(使用 RDP 连接到运行要自动化的应用程序的机器).每当我最小化 RDP 窗口(使用 mRemote)时,不会再执行 AutoIt 命令.

I'm using AutoIt to automate GUI operations (connecting to the machine that's running the to-be-automated app, using RDP). Whenever I minimize the RDP window (using mRemote) no further AutoIt commands are performed.

当我最小化窗口时,也许 RDP 会话被标记为非活动"(我不知道这是否属实,也不知道如何配置此行为,如果是的话).我正在考虑 2 个选项来克服这个问题:

Maybe the RDP session is marked "inactive" when I minimize the window (I don't know if that's true, nor how to configure this behavior, if so). I'm thinking about 2 options to overcome this:

  1. 以某个提升的用户(或服务)的身份运行我的流程.
  2. 查找此配置以控制会话是否被标记为非活动并覆盖它.

如何在 RDP 窗口最小化时保持远程桌面会话活动"?

How to keep remote desktop session "alive" when the RDP window gets minimized?

推荐答案

我们在使用 RDP 时遇到了同样的问题.我们使用的解决方法是打开另一个远程桌面会话以连接到同一台服务器:

We had the same problem with RDP. A workaround we used was to open another remote desktop session to connect to the same server:

  1. 您使用 RD 连接到 server.
  2. 从第 1 步的 RD,您再次连接到 server.

这样第二个会话将仍然是活跃的";当您最小化甚至断开第一个 RD 会话时.当然,您的远程桌面服务器必须支持来自同一用户的多个连接.

This way the 2nd session will be still "active" when you minimize or even disconnect your first RD session. Of course your Remote Desktop server has to support multiple connections from the same user.

这篇关于保持远程桌面会话“活跃"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆