Logging Another User Off
Log in to another remote desktop machine
ON THE SAME DOMAIN:
quser /server:[server name]
logoff [session id] /server:[server name]
quser will return the
USERNAME, SESSIONNAME and
ID (Session Id) which you can use in the
logoff command.
View tasks on another machine
tasklist /S [server name]