$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
You will probably know Microsofts Tool to Manage Terminal Server, it’s called Terminal Services Manager (you will probably know it as TSAdmin). It can be used to view information about terminal servers including all sessions, users, and processes for each terminal server.
I’m currently working on a TSAdmin replacement (codename TSAdminEx). Purpose is to show how to use the Terminal Server API’s and as a little bonus we will add some extra functionality to TSAdminEx.
Well 1st step is to create the GUI and make it resemble TSAdmin, so we create a new Application and we place a Mainmenu, Toolbar (set Edgeborders to ebTop for the horizontal line) and Actionlist on it.
Then we add a Treeview (set it’s Align property to alLeft) and a Splitter. Next add a bevel and a Panel, set Align to alClient and BevelOuter to bvLowered. Add a PageControl (align alClient) with 3 Tabsheets to the Panel and place a ListView on each Tabsheet.
As you can see on the screenshot it’s already starting to look like TSAdmin after adding the Menus and Toolbar buttons.
So now we need to add some code but wait… now is your chance to add your functionality! Let me know by adding a comment what features you would like to see in TSAdminEx. Below what I’m currently thinking of:
5 Responses for "TSAdminEx"
Some Things:
– Remember our connections after close TSAdmin by Default (The default in the original is not remember them).
– Alphabetically organize the list using a non case sensitive organization (Today the TSAdmin organize, but if our smart users type their login using capital letters, we need to search almost the entire list. For a few users no trouble, but for more than 500 users, it suckz).
– That we can script commands inside it and keep recorded (for example, kill all disconnected users, send a msg to some users, using a pattern);
– Open Properties of the user right clicking on the login name;
– The Right click could be cutomizable (for insert custom commands, like send a default message, reset a password, get information of the client (OS, version of mstsc);
– Show Client IP Address if Session TAB as a column;
– SHOW the TOTAL of the active and inactive users in the users Tab, Per server and Total connections of all managed and connected servers;
– Export the list of connected users at the moment of the export;
– Reboot Servers Remotely;
Hi Germano, just wanted to let you know that work on TSAdminEx is progressing. Meanwhile:
1. Did you know that TSAdmin can remember connections? You must enable this in the options menu (Tools->Options->Remember Server Connections)
2. Do you mean Active Directory Users & Computers properties screen?
[…] get an Access Violation but why? I found the answer to this question today because I was testing my TSAdmin replacement on different Windows versions. Just like TSAdmin I use an (undocumented) function from Utildll.dll […]
Greetings,
Is TSAdminEx available for download? I would most certainly want to test it as I cannot find a tool that would do this.
Thanks & Regards.
Reg
Hi Remko,
I hope you are well!
Have you had any issues with WinStationQueryInformationW() and the resulting _WINSTATIONINFORMATIONW object returning zero in WinStatInfo.Status.Output.CompressedBytes property, under Windows Server 2012?
I have an application that extracts the bytes of the session (which was built with your help, thanks again!) and works on everything except 2012!
kind regards,
Ross
Leave a reply