[GH-ISSUE #471] When using mstsc mode script after disconnected not working #387

Closed
opened 2026-02-26 11:58:03 +03:00 by kerem · 3 comments
Owner

Originally created by @andy1463 on GitHub (Aug 9, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/471

Originally assigned to: @VShawn on GitHub.

Hello,
if a script for running after disconnecting a RDP connection is configured it will be not executed if option mstsc.exe mode is enabled.
Same configuration only removing mstsc.exe mode and the script will be executed.

Tested on Windows 10 Pro (21H2)

Originally created by @andy1463 on GitHub (Aug 9, 2023). Original GitHub issue: https://github.com/1Remote/1Remote/issues/471 Originally assigned to: @VShawn on GitHub. Hello, if a script for running after disconnecting a RDP connection is configured it will be not executed if option mstsc.exe mode is enabled. Same configuration only removing mstsc.exe mode and the script will be executed. Tested on Windows 10 Pro (21H2)
kerem 2026-02-26 11:58:03 +03:00
Author
Owner

@VShawn commented on GitHub (Aug 11, 2023):

This is indeed a missed point.

but technically, there is no connection between the mstsc process and 1remote mstsc mode is activated, so script after disconnected not working. In order to achieve this, we would need a process monitor, but we are unsure if it will trigger the defense rules of antivirus software.

<!-- gh-comment-id:1674302952 --> @VShawn commented on GitHub (Aug 11, 2023): This is indeed a missed point. but technically, there is no connection between the mstsc process and 1remote mstsc mode is activated, so `script after disconnected not working`. In order to achieve this, we would need a process monitor, but we are unsure if it will trigger the defense rules of antivirus software.
Author
Owner

@majkinetor commented on GitHub (Aug 11, 2023):

Monitoring started process is normal every day thing.

<!-- gh-comment-id:1674389360 --> @majkinetor commented on GitHub (Aug 11, 2023): Monitoring started process is normal every day thing.
Author
Owner

@VShawn commented on GitHub (Aug 13, 2023):

I fixed it

<!-- gh-comment-id:1676247532 --> @VShawn commented on GitHub (Aug 13, 2023): I fixed it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#387
No description provided.