RemoteDesktop_SuppressWhenMinimized

本文探讨了在远程WinXP SP3机器上运行AutoIt脚本的问题,特别是当远程桌面会话断开连接但未注销时,脚本无法继续执行的情况。文章提供了尝试解决此问题的方法,包括修改注册表键来抑制最小化时的输出。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Hi,

I am trying to figure out a way to run a couple autoit scripts on a remote WinXP SP3 machine which is logged into but disconnected. The problem is that the autoit script automates a GUI based app and if I disconnect the user (not log off), the script just halts there and doesnt do anything. Once I re-logon, it picks up from where it left off.

I have disabled output suppression with the  HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client!RemoteDesktop_SuppressWhenMinimized  set to 2. The script works like a charm as long as I have the user logged in and the RDC window is minimized, however, if I close the RDC window, the script halts...

Running this on a Win Server environment is not an option as the app that I am trying to automate doesn't run on Server platforms..

Any help would be very much appreciated..


Close Remote Desktop sessions opened on your computer.

Click Start and select Run. In the Run dialog box, type regedit and press Enter. The Registry Editor starts.


Locate any of the following Registry keys:

HKEY_CURRENT_USERSoftwareMicrosoftTerminal Server Client

(if you want to change the RDC settings for your user account) 

– or — 

HKEY_LOCAL_MACHINESoftwareMicrosoftTerminal Server Client 
(if you want to change the RDC settings for all accounts)

  

Create a new DWORD value in this key named RemoteDesktop_SuppressWhenMinimized. Specify 2 as the value data.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值