使远程桌面会话保持“活动"状态. [英] Keeping remote desktop session "alive"

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

问题描述

我正在使用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会话被标记为非活动"(我不知道这是否成立,也不知道如何配置此行为).我正在考虑克服这一问题的两种选择:

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连接到sever.
  2. 从步骤1的RD重新连接到server.
  1. You connect to sever with RD.
  2. From RD of step 1, you connect to server once again.

这样,当您最小化甚至断开第一个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天全站免登陆