Implemented

Keep RDP connection alive?

avatar

Hi all

Aside from messing with Windows' actual settings (such as screensaver timeout, power settings, etc.) is there some way to have RDM keep my RDP connection from logging me out?

I have a RDP connecting to a Win 10 machine, and if I put RDM with that machine connected and logged in into the background for a bit while I work with other windows in the front, I often come back to the user on that machine logged out and I have to reenter my PW. After a few hundred times of this pattern it gets frustrating.

I'd LIKE if somehow RDM sent some sort of Keep-alive to the machine to prevent that machine from logging out my user; but I want the Windows on that machine to continue behaving with its normal timeouts other wise. So in other words, as long as I'm actively connected via RDM I wont get logged out; but if I close RDM, or manually logout the user on that machine it still behaves as it normally should.

I have tried setting this, but it changes nothing:

forum image

All Comments (6)

avatar

Hello,

The "Keep alive" feature you have tried should be the property to use to achieve what you want. I have taken a look at the RDP Active X documentation and it seems that the "Keep alive" setting we send can be overridden by group policies on your machines.

As far as I know, there are 2 ways that the "keep alive" can be disabled :

  • Through the Registry Editor as follows : forum image


  • Through editing the local group policy editor "gpedit.msc" while following the path "Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections\ ". From there you can verify your setting by double clicking "Configure keep-alive connection interval".

forum image


Please do let us know if this was your issue or not.

Best Regards,

Michaël Beaudin

avatar

Hi Michael

Ty for the help. I checked that value in the policy editor and it showed this:

forum image

I went ahead and specifically enabled it, and set it to 60 (to match the 60 that I set in RDM for that connection; does that sound right, or should I set the one on the machine to a lower number?)

Aside from that, I will report back to see if that took care of everything. =)

avatar

Quick side question: mind if i ask which forum software this is? It's nice. I'm currently sniffing around all the forum/cms software to try and decide on one to use for a forum of my own down the road. I tried looking in the inspector for a hint but don't see anything. =)

avatar

I will forward the comments to our dev team because it's our own custom development.

Regards

David Hervieux

avatar

Hello,

I can see that you did not have anything configured there so it is doubtful that the setting sent by RDM was overridden. I have spoken with someone on our team who is more knowledgeable about RDP and he says that the "Keep alive" is not the same as what we could call a "Keep awake" that I believe is what you want.

There also seems to be no existing setting we can pass to RDP to achieve what you would want. Therefor, we would need to find a way to work around this issue. We have created a ticket for this and will keep you updated on the progress.

Regards,

Michaël Beaudin

avatar

Ok, TYVM Michael.