回答:
サーバー上で、または/ server:servernameスイッチを使用して「qwinsta」コマンドを実行します。
>qwinsta /?
Display information about Remote Desktop Sessions.
QUERY SESSION [sessionname | username | sessionid]
[/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER] [/VM]
sessionname Identifies the session named sessionname.
username Identifies the session with user username.
sessionid Identifies the session with ID sessionid.
/SERVER:servername The server to be queried (default is current).
/MODE Display current line settings.
/FLOW Display current flow control settings.
/CONNECT Display current connect settings.
/COUNTER Display current Remote Desktop Services counters informati
on.
/VM Display information about sessions within virtual machines
.
「rwinsta」コマンドを使用してRDPセッションをリセットすることもできます。
>rwinsta /?
Reset the session subsytem hardware and software to known initial values.
RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]
sessionname Identifies the session with name sessionname.
sessionid Identifies the session with ID sessionid.
/SERVER:servername The server containing the session (default is current).
/V Display additional information.
このtsadmin.msc
コマンドは、Windows RDPセッションの情報と制御を備えた素敵なGUIを提供します