Identification of RDP-Sessions

(imported topic written by PeterS91)

anyone an idea how to identify inactive remote desktop sessions on w2k3-Servers by analyses and how to kill them by action script?

(imported comment written by BenKus)

Hi PeterS,

Here is what I came up with so far (BES 7.0+ only):

Detect if a user is remotely connected, but not active (meaning a disconnected session):

exists name of logged on users whose (remote of it = true AND active of it = FALSE)

Get the name of the non-active, remote user:

name of logged on users whose (remote of it = true AND active of it = FALSE)

There is a command line option in Win2k3 Server that allows you to call "logoff ", but I am having a hard time finding a way to get the name or ID of the session of inactive users.

Anyone have any tools or scripts that logs off inactive users?

Ben