0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

WindowsでPCやサーバーに誰かが先にリモートデスクトップしてるかコマンドで確認

Last updated at Posted at 2022-12-29

やり方

qwinsta /server:マシン名もしくはIPアドレス

下記のようにrdpがActiveになっていれば リモートデスクトップしてる
image.png

下記なら リモートデスクトップしてない
image.png

蛇足

下記の場合はリモートデスクトップではなく、直接操作している。

image.png

rdpのセッションだけ見るのではなく『状態がActiveになっているのが一つも無いか』で確認した方がいいかもね。

参考サイトさん

バージョン

Windows 10 Pro 21H2 OSビルド 19045.2364

TODO:qwinstaに応答しない奴がたまにいるので、どういう設定なら応答拒否か調べる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?