Group Policy addition - Disable Reconnect to old sessions
0 vote
I am looking for a way to apply a GPO that will disable a prompt to reconnect to sessions that were open in a previous login of Windows. If sessions are open and a user logs out of the Windows session, and then logs back in, we don't want to have the user prompted to reconnect.
To provide a little more background, we have recently made changes to our training environment so that users have limited rights on their jump box VMs. RDM opens automatically and we have eliminated the use of VM snapshots so that we can keep systems patched with the latest updates in real time. Now that we have done that, each class does not have the same experience when RDM opens for them. We are incorporating a reboot between classes and setting RDM to start automatically when students log in. We are looking to have the following happen in RDM if possible:
So, is this already possible and if not, is it possible to create a GPO to configure this for us?
Thanks,
Tom
Hello Tom,
For the previously opened sessions, this should already be possible to configure this by going in Edit > Playlist > Playlist management, then configuring the "launch at startup" option to "none" instead of "last opened connections":
Let me know if this works for your scenario. If you need this to be explicitely restricted, we could add a GPO to restrict the "Launch at startup" feature as well.
As for the expanded/collapsed state of the navigation pane folders, we could add a local option to reset the expanded/collapsed states to the default when closing RDM. What do you think?
Regards,
Hubert Mireault
Thanks Hubert for the reply. I believe we're going to need a GPO added due to the number of systems we have to manage. However, we could definitely use an option to reset the expanded/collapsed state of the session folders.
Hello Tom,
Thank you for the confirmation. Would you need a GPO as well for the expand/collapse option, or do you already have a way to easily push out the RDM configuration file to your machines? This option would be saved in the RemoteDesktopManager.cfg file, this means that if you have a way to push this file to all your machines, it could easily be enabled as well.
Regards,
Hubert Mireault
If there is a way to push the .cfg file to the machines via GPO, then that would definitely be a good option. The more options we have for pushing these settings out en masse would be great.
Hello,
There is no way to push the entire file through GPO as far as I know. The closest we have is using our Custom Installer service (which allows you to package a configuration file), and using a GPO to force the user to use the provided configuration file instead of their own. If you pair this with the GPO to block the File > Options menu, you could effectively force your users to use a certain configuration.
So to summarize what we can do to help you:
Is that correct?
Regards,
Hubert Mireault
Yes, that is correct. Thank you for all of your help with this.
Hello,
We've added the GPOs "DisableLaunchAtStartup" and "ForceTreeViewCollapseAtLaunch" which should provide the intended result. These should be available when 2022.2 launches.
As an added detail, in the File-Options-Tree View section, there is an option in the menu at the bottom labeled "Open collapsed by default", which should provide the behavior you're looking for until the desired version is released.
Regards,
Jafran Majeau