Skip to content
rakhesh.com

rakhesh.com

rakhesh sasidharan's mostly techie oh-so-purpley blog

  • Home
  • About
  • Quotes
  • Credits
  • Changelog
  • GitHub
  • X
  • LinkedIn
  • Mastodon (Hachyderm)
  • Mastodon (BSD Cafe)

Search

Subscribe via Feed

RSS | JSON

Categories

  • Asides (111)
  • Azure, Azure AD, Graph, M365 (194)
  • Books, Audiobooks, Podcasts (49)
  • Citrix (62)
  • Coding (32)
  • Docker (22)
  • Exchange, Exchange Online (49)
  • Gadgets (67)
  • Infrastructure (102)
  • Linux & BSD (66)
  • Mac (56)
  • Musings (52)
  • Networks (45)
  • Power Platform (26)
  • PowerShell (117)
  • TV, Movies, Music (72)
  • Virtualization (108)
  • Windows (271)
  • WordPress (11)

[Aside] Query remote RDP sessions and kill them

If you want to query the remote RDP sessions on a machine:

1
query session /server:<ServerName>

And to disconnect:

1
reset session <SessionID> /server:<ServerName>

Posted on July 2, 2018July 2, 2018Author rakheshCategories Asides, WindowsTags remote desktop

Post navigation

Previous Previous post: Azure and DAG IP – not pingable on all nodes
Next Next post: “The Outsider”