I need to be able to remotely administrate certain sessions on my terminal server machines with different logins.
As it is now the user that logs on has access to [url removed, login to view] and from there they are able to view every session on the server.
I would need an application that runs on one or more terminal servers and that lists all sessions on all the terminal servers I have added in the application or that are on the network. From there I would like to be able to specify which of these sessions and on which server the user who logs on has access to.
The information should be listed as ”User – ClientName – Server” and there should be a button for ”Remote Control” and ”logoff” per session.
With a query you can get the sessions for the questioned server but not the client name. This is possible with a small app from [url removed, login to view] calles TSQuery (uploaded)
This command: “tsquery ‘SERVER’ –S –u H” creates and output with “SessionsID – User – ClientName”
C:>tsquery [url removed, login to view] -S -u -H
Unlicensed copy of tsquery, please license this software at [url removed, login to view]
10 Second Delay follows
1 administrator XX-DESKTOP2
3 test XX-DESKTOP2
Remote Control can be done with [url removed, login to view] och the following command: shadow ’SessionID’ /SERVER:’Server’”