Opened 4 years ago
Closed 4 years ago
#3899 closed Bug (No Bug)
_GUICtrlListView_ClickItem issue with remote desktop
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.16.0 | Severity: | None |
| Keywords: | _GUICtrlListView_ClickItem | Cc: |
Description
I have a scheduled task that uses _GUICtrlListView_ClickItem
Working phisically on the pc, the scheduled task works as expected.
Connecting in remote desktop, if the scheduled task runs while the user is still in remote desktop, the scheduled task works as expected.
However, connecting in remote desktop, then closing the remote desktop (without disconnecting the user), the scheduled task does not work (the function _GUICtrlListView_ClickItem does not click on the list item).
If I connect again phisically , the task works again.
Tested with AutoIt latest version.
Attachments (0)
Change History (2)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
This is normal MS Windows API behavior.
Take a look on:
https://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F
https://www.autoitscript.com/forum/topic/201285-maintain-active-desktop-after-rdp-disconnect/
btw.
Next time ask on the forum before you submit ticket.

The issue can be reproduced with a scheduled task that launches the following script:
https://gist.github.com/rickupton/16f9a7b445a668c70c61
I'm using a x86 compiled exe of this script.