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

被折叠的 条评论
为什么被折叠?



