Users

All Posts (36)

avatar

bradleym

13.0.17.0 List Sessions not accurate

avatar
avatar
avatar
avatar

Confirmed as fixed in 13.0.18.0. Thank you.

Open with Parameters - hotkeys and credential options

avatar
avatar
avatar
avatar

Thank you so much!

Open with Parameters - hotkeys and credential options

avatar
avatar
avatar
avatar

Thank you! And yeah, remembering the last tab selected should work great, no real need for an explicit options setting for that that I can see.

Open with Parameters - hotkeys and credential options

avatar
avatar
avatar
avatar

As seen in the attached screenshot, only a few of the selections under the the "Open with Parameters" have a hotkey, none of which include any of the options that open with specific credentials, or the Open in Console/Admin Mode option. I checked the hotkey settings, and none of the options that currently lack a hotkey are available set a hotkey on. I would like to see the ability to set hotkeys for all of these menu selections.


Additionally, the list of selections for opening a session with specific credentials is incomplete. There is only one option to open a session with the Select Credentials Entry dialog, which does not allow you to also select options such as forcing or bypassing Console/Admin Mode, and if you want to choose one of those forced modes, you have to manually type in your credentials. Please add options for forcing or bypassing Console/Admin Mode that also allow you to choose a credential entry from the Credential List dialog.


And since I'm on the topic, just one other small thing would be nice to see. The Credential List dialog that appears for selecting a credential entry to open a session with always defaults to the Credentials tab, but all my credentials are under the Private Vault tab, so it would be great if there was a way to set the Private Vault tab as the default view in this dialog.

13.0.17.0 List Sessions not accurate

avatar
avatar
avatar
avatar

In 13.0.17.0, when right-clicking on any RDP session and going to Macros/Scripts/Tools > List Sessions, the session list that appears seems to show RDP sessions for the RDS server in which I'm running the Remote Desktop Manager application, not the RDP sessions for the remote RDP session selected within RDM. Version 13.0.5.0, connected to the same data source, accurately shows the list of active sessions on the remote server, rather than the local server.

More bugs in the powershell cmdlets

avatar
avatar
avatar
avatar
avatar

I like the "long and boring explanations" but that's just the programmer-want-to-be in me. I hate the AD module and the ACL cmdlets; I do most of my AD stuff through the built-in ADSI capabilities (and of course it has its problems also :-) and the Quest Active Roles module. Unforunately, for the ACL's I don't have a lot of choice.


My primary thought about how the RDM cmdlets work was comparing it to the Quest Active Roles and its cmdlets. For example, I can do a 'Get-QADUser -identity <username> | Set-QADUser -<properyname> value' and its done.. I don't have to do anything beyond that. They don't cover all the properties, and for the ones it doesn't I revert to the ADSI capabilities. (And yes, I am fully aware of the need to do the set after the fact for ADSI). I started this original conversation with David H. back when you guys had a lot of double-hyphenated cmdlets. I wrote a very long post and based on the newer cmdlets, a number of my suggestions were implemented.



So basically you're looking to simply push a value without needing to first pull and query the existing value, and the only reason you're pulling the session data in the first place is to get the session ID to push the new property value to. I have two comments about that.


1. This makes sense to do in some cases, but not all. For objects that have relatively few properties, it's easy to build in parameter sets that allow you to set all of those properties directly within a Set command. However, for large objects with tons of properties, it becomes less feasible to do this, both because the amount of code needed in the module itself would be insane, and also because the module would constantly have to be updated as any properties on the object are added, modified, or deleted, making it maintenance-heavy. Perhaps a compromise could be made where only the most frequently modified properties could be set via parameters, and anything else would still require the multi-step process, but somebody will always be unhappy with which parameters are supported. And actually, it appears Devolutions already solved this quandary with another cmdlet, which brings me to the next point.


2. It seems that you are unaware of the Set-RDMSessionProperty cmdlet, which does allow you to set properties directly on a session simply by providing a session ID, which you can do by pulling the session with Get-RDMSession and piping it to Set-RDMSessionProperty. I can't say why they chose to make this a separate cmdlet instead of bundling the functionality into Set-RDMSession, but it looks like it will most likely give you the functionality you desire, per the example you provided for Get-QADUser/Set-QADUser.


If you're looking for more of a sysadmin solution where you're manually running commands to update things, and want a single command to set a property, that should do the trick for you. However, if you're writing any kind of automated script that sets multiple properties per session, then for performance reasons, you will want to modify the properties on object in local memory and them push them back using Set-RDMSession as it will be faster than calling multiple Set-RDMSessionProperty commands per session you want to modify.

More bugs in the powershell cmdlets

avatar
avatar
avatar
avatar
avatar

In response to this post: https://forum.devolutions.net/messages.aspx?TopicID=29181&lastpage=1

I was going to say:

You can pull it from the powershell cmdlets.

Get-RDMSession | where-object { $_.ConnectionType -eq 'Group' }

However, in my quick testing, this doesn't work correctly. Looks like there are more bugs in the updated powershell cmdlets than I realized.


When I run this, I get some of my groups but not all of them (probably missing more than actually get pulled). I had posted a very long message previously about updating the powershell cmdlets, and traded a few posts back and forth with David Hervieux about them, and what I could see as some necessary changes. (And yet another complement.. I don't know of any other company of any size that has their CEO taking part in support forums :-)


Anyway.. this bug has made itself known here. When I run just a Get-RDMSession, it pulls some of the groups, but not all. And my fear is that other items may be missing from the Get-RDMSession. As an example from my case, when I run the Get-RDMSession, and look at some of my groups called 'PRODxx' that range from PROD01 through PROD38, I only get 1,2,3,4,5,19,35,36,37,38. If I try to manually run others like Get-RDMSession -name PROD06, I get a very long error, saying that it doesn't belong to the set... which has most of my connections, if not all of them.


I expect that it is because I created a lot of those groups by powershell script, and if that is the case, then the creation cmdlet is flawed. If this is the case, I could use some help fixing it :-)


On a side note, I did figure out that the Powershell Cmdlet window has display issues when it is run in embedded mode. Once I dragged it out of the main window into a separate window, the console display stopped displaying weird behavior.


And finally, more suggestions to update the powershell module:

1. Make it a true, independent module. Currently, there is some script that runs to load the module, and the cmdlets, which makes it very difficult to load the modules outside of the RDM interface.

2. There should be other RDMGroup commands.. right now, there is a Rename-RDMGroup, but not a New-RDMGroup, Set-RDMGroup, Remove-RDMGroup, etc. From what I can see in the Rename-RDMGroup, I may be misinterpreting what RDMGroup means in this context?

3. The Get-RDMSession should have a filter to make it easier to retrieve the desired connection types, with a prepopulated type list. I.e. Get-RDMSession -ConnectionType Group, or Get-RDMSession -ConnectionType RDPConfigured etc.

4. And unfortunately, the powershell cmdlets still don't "feel" like the real thing. It feels like I am working with a broken concept of what and how the powershell cmdlets should work. i.e. having to use the Set-RDMSession afterwards to make sure the change gets saved, and the syntax feels awkward at times. The Update-RDMUI cmdlet makes sense, but the changes to individual sessions should be immediate and direct (reflection of these changes in the GUI isn't necessary, but would be nice).


I am currently running the beta 13.0.14.0 on Windows 10 x64, build 1709.


I love the product, thank you guys for this!


David F.




I would like to specifically reply to points 1 and 4.


Regarding loading the PowerShell module outside of RDM, it is already an independent module, at least from the standpoint that it can be loaded without RDM itself being open. However, it's only available on machines that RDM is installed on, and accessing it requires the direct path to the module file because it's not registered in the system. This is less than desirable, but not a show-stopper by any means. I have multiple external scripts that utilize the module just fine with a single command:


Import-Module -Name 'C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.dll'



As for point 4, I think you are lacking understanding of how PowerShell (and by extension, the .NET Framework) actually works. Getting an RDM session object using Get-RDMSession and then having to apply changes to the session by piping the modified object to Set-RDMSession works the same way as Microsoft's Active Directory module, where you use Get-ADUser to get an AD user account object, on which you can then modify certain properties, and then pipe it through Set-ADUser to apply the changes to the Active Directory database. Similarly, you use Get-ACL to obtain a current ACL object for a file or folder, make changes to its properties, and then pipe it back through Set-ACL to apply the changes to the actual ACL on the folder/file in the filesystem. PowerShell is chock full of pairs of Get/Set cmdlets that basically do the exact same thing, just with various other data sources.


I could launch into a very long and boring explanation of how PowerShell and the .NET Framework work on a technical level, but suffice it to say that this is simply the way that it works, and it's not going to change. You shouldn't even want a direct write to a data source on every single property change to an object in local memory, because the overhead from that would destroy your performance. If you want to change 10 properties, that would result in 10 write operations, whereas the way it is, you only have to perform one write operation that changes all 10 properties in the data source at once.

RemoteApp only external?

avatar
avatar
avatar

I was afraid that might be the case. Oh well, thanks anyway.

RemoteApp only external?

avatar
avatar
avatar

Is it not possible to run a RemoteApp session in an embedded tab in RDM? It works fine when set to External, but when set to Embedded, it simply launches a full desktop session on the remote server in the embedded tab.

Dark Theme

avatar
avatar
avatar
avatar
avatar

I'll add a vote in favor of this as well. Just got a complaint from somebody about the bright white color scheme.

Accessing credentials stored in private vault

avatar
avatar
avatar
avatar
avatar

Hello again! I just installed RDM 11 to test this new feature, and while I see the new "Private vault search" option in the Credentials drop-down list on individual sessions, that option appears to be missing from the Credentials drop-down on groups/folders. Is this a technical limitation, or was this just omitted by accident?

Question about linking credentials to RDM

avatar
avatar
avatar

I'm currently looking for a secret data management system, obviously with a primary focus on credentials, but hopefully something that also allows storage of other types of secret data as well. Being able to link credentials from such a system into RDM is key, but aside from that, another key feature is having the ability to access the information quickly via a web interface. Other necessary features are the ability to have different sets of secret data, with varying levels of access (private, team-specific, public), integration with AD to manage said access levels, and auditing features that record every time the data is accessed or changed, along with a history of said changes. I'm also looking at some other products that work with RDM, such as Pleasant Password Server and Thycotic Secret Server.

Question about linking credentials to RDM

avatar
avatar
avatar

Well, given that Password Vault Manager shows up as one of the credential sources when creating new credential entries in RDM, I had assumed it was a more advanced application for storing and managing credentials, with additional features. If it's actually just a subset of RDM's existing functionality, then it's probably not what we're looking for. Thanks for the help!

Question about linking credentials to RDM

avatar
avatar
avatar

I'm currently evaluating PVM, and have it installed in a test setup including RDM and Devolutions Server. When trying to add a PVM credentials link to RDM, from what I can see, it will only show me credential objects in the shared part of the PVM data store. Private credential objects stored in the Private Vault area of PVM are not accessible.


Is this limitation by design? How would we be expected to safely store unique, per-user credentials in PVM in a way that allows them to be linked to sessions in RDM? I feel like I'm missing something here, so any help would be appreciated.

Accessing credentials stored in private vault

avatar
avatar
avatar
avatar
avatar

Thanks Hubert. Looking forward to it!

PowerShell cannot reliably delete session groups

avatar
avatar
avatar
avatar

Thank you!

PowerShell cannot reliably delete session groups

avatar
avatar
avatar
avatar

Sent, thanks!

PowerShell cannot reliably delete session groups

avatar
avatar
avatar
avatar

Oh, oops, I was in a hurry and didn't realize that Add-RDMGroup is actually the name of my own custom function for creating group sessions, not an official cmdlet. Within that function, I actually do the following:


$RDMGroup = New-RDMSession -Name $GroupName -Kind 'Group' -Group $GroupFullName

$RDMGroup | Set-RDMSession


So it appears it's already doing what you suggest.

Accessing credentials stored in private vault

avatar
avatar
avatar
avatar
avatar

Hmm, that sounds like an additional tweak to my original suggestion, but yes, if more than one match is found, it would make sense to then prompt for which one to use. Either that, or make an option where if public and private credentials are found with the same name, the private one would automatically override the public one. If multiple private or private entries are found with the same name, there would still need to be a prompt though.

Accessing credentials stored in private vault

avatar
avatar
avatar
avatar
avatar

It is currently possible to create credential objects in the Private Vault, but while it's possible to select those credentials via user-specific override, there is no way to link private vault credential entries by name to global session settings, so I would like to request this as a new feature.


If it were possible, the idea would be that you could set the name of a private vault credential entry globally, and then as long as anyone else using RDM had a private vault credential entry with the exact same name, RDM would use those credentials, otherwise the user would be prompted to enter credentials manually. RoyalTS currently has a similar capability, and I'm trying to get a team that uses RoyalTS to convert to RDM, but would need the ability to link to private vault credentials by name in order to emulate that behavior.


In terms of how this would be implemented, I would suggest adding the "Private Vault credential entry" option found in the user specific settings to the Credentials drop-down list in the global session settings dialog. With this implemented, a new user would only have to create their private credentials entry with the appropriate name, and would not also have to define user-specific credential settings for all their sessions.

User Groups in RDM

avatar
avatar
avatar
avatar
avatar

FYI, my solution for this is as follows:


I have two AD security groups, one for "standard" users (i.e. read-only aside from user-specific settings), and one for admins. For both groups, I first added the groups under Security > Logins in SQL, with the RDM database set as the login's default database, and only the public server role selected. I then added the groups under [databasename] > Security > Users, with db_datareader and db_datawriter role membership. The db_owner role is NOT required.


By default, RDM will automatically create a non-admin user in the database for any of the AD users in these groups that connects to the data source, if it doesn't already exist. Only AD users with dbowner permissions on the database (such as Domain Admins) will have the Administrator flag in RDM checked by default upon automatic account creation.


I also wrote a PowerShell script that runs via scheduled task that does the following:


1. Makes sure users exist in RDM for all AD accounts in either group.

2. Enables the Administrator flag on RDM users that match AD users who are members of the admin security group, and likewise removes the Administrator flag from users who are not in the admin group.


It's not exactly a straightforward solution, but it gets the job done. I also have a couple other scripts that fully manage the list of connections in the primary data source, and with non-admins able to set user-specific settings, very few people actually need admin rights within RDM.

PowerShell cannot reliably delete session groups

avatar
avatar
avatar
avatar

Thanks. Here's some additional details that might be helpful.


The script I've written is responsible for building and managing an RDP session list in RDM based on computer data from our Kaseya management system, which organizes computers under what it calls machine groups. The script builds a tree of groups in RDM that emulate the Kaseya machine group hierarchy. The entire sync process goes something like this:


1. Load array of computers from Kaseya (SQL data loaded into custom objects).

2. Load array of all RDM sessions using Get-RDMSession, and filter into separate arrays for group sessions and RDP sessions.

3. Get list of all parent machine groups for all computers from Kaseya.

4. If any groups found in step 3 do not exist in RDM, create them via Add-RDMGroup.

5. Compare list of computers from Kaseya to RDP sessions in RDM.

6. If any computers do not have corresponding RDP sessions in RDM, create those sessions via New-RDMSession, setting the Group property to the appropriate parent group in RDM that matches the computer's Kaseya machine group.

7. For computers that do have matching RDP sessions (matched on hostname), if RDM group does not match computer's current Kaseya machine group, perform the following commands to change its group (RDP session from RDM is already loaded in $Session variable):


$Session.Group = "newgroupname"

$Session | Set-RDMSession


8. If any RDP sessions are found that there is no longer any matching computer for in Kaseya, delete them using Remove-RDMSession.

9. With all RDP session updates complete, refresh full list of current sessions from RDM using Get-RDMSession.

10. Check for any groups/folders in RDM that are now empty due to all RDP sessions being moved to other groups.

11. Delete any empty groups found using Remove-RDMSession.


Everything about this script works perfectly, except for deletion of empty groups. Due to how the entire RDM folder structure is managed by script, the only reason an RDM group should end up empty is if a Kaseya machine group is deleted or renamed, thus causing all the RDP sessions in the matching RDM group to either be deleted or moved to other groups.

PowerShell cannot reliably delete session groups

avatar
avatar
avatar
avatar

Oops, somehow that replied as guest. This forum seems to have a very short timeout period for logins.

PowerShell cannot reliably delete session groups

avatar
avatar
avatar
avatar

RDM Enterprise 10.6.7.0

SQL data source

Caching disabled on data source due to being unreliable (found that the cache would frequently corrupt and only show a partial session list)


I have written a PowerShell script to managed sessions within RDM, using the RDM snap-in cmdlets. One of its functions is to delete any empty groups it finds. I have attempted the following commands:


Remove-RDMSession -ID <groupID> -Force

Remove-RDM-Session -ID <groupID> -Force


Neither one seems to work properly. Given an array of group IDs, some of the groups may get deleted, but not all, and some refuse to be deleted at all. Closer inspection revealed that groups that still appear after the delete command are actually getting new GUID values in their ID property immediately after the delete command is run, as if they were being deleted and immediately recreated. After numerous attempts at deleting several empty groups, I got down to two that neither command would work on, but I was able to finally delete them manually via the GUI.


Could somebody please explain why the application insists on intermittently recreating these groups instead of actually deleting them?

Tools credentials not applying to Terminal Services tool

avatar
avatar
avatar

I confirmed that Send Message also doesn't work. Those commands only work if the user account RDM is running as has the necessary control permissions on the remote RDS server (Security tab in the RDP-Tcp connection properties in tsconfig.msc).

1 - 25 of 36 items