Somebody could provide me a tip on how could I make a script file (.cmd) which logs off the current user AND all other open sessions with same username?
E.g.: I'm logged into three TS sessions with username "JOHN". I wish to run a script (from my current session, without administrative privileges) which would logoff my current session and also the other two.
Ideas?