[GH-ISSUE #370] Autoclose Sessions after shutdown #1281

Closed
opened 2026-02-28 12:03:29 +03:00 by kerem · 6 comments
Owner

Originally created by @helmar74 on GitHub (Mar 8, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/370

Originally assigned to: @VShawn on GitHub.

Is your feature request related to a problem? Please describe.
When I do maintenance on a few PC's and I shut them down afterwards 1remote doesn't close the RDP window. I look like this:
image

image

You have to close every single RDP session

Describe the solution you'd like
If possible, there should be a autoclose feature, which simply closes the window after I do a shut down on a PC.
Maybe it can be configurable, either globally or for each single connection?

Describe alternatives you've considered
.

Additional context
.

Originally created by @helmar74 on GitHub (Mar 8, 2023). Original GitHub issue: https://github.com/1Remote/1Remote/issues/370 Originally assigned to: @VShawn on GitHub. **Is your feature request related to a problem? Please describe.** When I do maintenance on a few PC's and I shut them down afterwards 1remote doesn't close the RDP window. I look like this: <img width="480" alt="image" src="https://user-images.githubusercontent.com/25499089/223623706-e953a758-0602-4c3a-a4ff-996992bfa620.png"> <img width="646" alt="image" src="https://user-images.githubusercontent.com/25499089/223623732-a0bb6265-3466-4d49-94e4-1b8c86732b5c.png"> You have to close every single RDP session **Describe the solution you'd like** If possible, there should be a autoclose feature, which simply closes the window after I do a shut down on a PC. Maybe it can be configurable, either globally or for each single connection? **Describe alternatives you've considered** . **Additional context** .
kerem 2026-02-28 12:03:29 +03:00
Author
Owner

@VShawn commented on GitHub (Mar 8, 2023):

good to have this feature.

but can not be achieved, RDP sdk do not tell the reason why session is closed.

in other words, PRemoteM can not identify shutdown / loss power by accident / router failure, then I can't make it close when PC is shutdown.

<!-- gh-comment-id:1459567325 --> @VShawn commented on GitHub (Mar 8, 2023): good to have this feature. but can not be achieved, RDP sdk do not tell the reason why session is closed. in other words, PRemoteM can not identify `shutdown / loss power by accident / router failure`, then I can't make it close when PC is shutdown.
Author
Owner

@helmar74 commented on GitHub (Mar 8, 2023):

good to have this feature.

but can not be achieved, RDP sdk do not tell the reason why session is closed.

in other words, PRemoteM can not identify shutdown / loss power by accident / router failure, then I can't make it close when PC is shutdown.

Ok, got it. Would it be possible to just close the tab after the session is closed regardless of the reason?

<!-- gh-comment-id:1459608549 --> @helmar74 commented on GitHub (Mar 8, 2023): > good to have this feature. > > but can not be achieved, RDP sdk do not tell the reason why session is closed. > > in other words, PRemoteM can not identify `shutdown / loss power by accident / router failure`, then I can't make it close when PC is shutdown. Ok, got it. Would it be possible to just close the tab after the session is closed regardless of the reason?
Author
Owner

@VShawn commented on GitHub (Mar 8, 2023):

sounds unhappy, it's rude to close without a message when it is error

<!-- gh-comment-id:1459753606 --> @VShawn commented on GitHub (Mar 8, 2023): sounds unhappy, it's rude to close without a message when it is error
Author
Owner

@helmar74 commented on GitHub (Mar 8, 2023):

sounds unhappy, it's rude to close without a message when it is error

If you make it configurable, the user can decide about the behaviour...

<!-- gh-comment-id:1459756044 --> @helmar74 commented on GitHub (Mar 8, 2023): > sounds unhappy, it's rude to close without a message when it is error If you make it configurable, the user can decide about the behaviour...
Author
Owner

@VShawn commented on GitHub (Mar 8, 2023):

there's too many configurable items in this app... I just want leave it easy and simple.

and if you insist you, can build a custom version for yourself, all you need to do is add 3 lines below in file AxMsRdpClient09Host.cs

image

<!-- gh-comment-id:1459764990 --> @VShawn commented on GitHub (Mar 8, 2023): there's too many configurable items in this app... I just want leave it easy and simple. and if you insist you, can build a custom version for yourself, all you need to do is add 3 lines below in file `AxMsRdpClient09Host.cs` ![image](https://user-images.githubusercontent.com/10143738/223666144-d3ee8150-18ca-4abc-9843-513895b5684d.png)
Author
Owner

@helmar74 commented on GitHub (Mar 8, 2023):

OK thank you for your help, but I want to stay on your version in order to get future fixes and functions!

Thanks for all you work

<!-- gh-comment-id:1459786682 --> @helmar74 commented on GitHub (Mar 8, 2023): OK thank you for your help, but I want to stay on your version in order to get future fixes and functions! Thanks for all you work
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#1281
No description provided.