{"id":2746,"date":"2014-02-09T14:36:20","date_gmt":"2014-02-09T06:36:20","guid":{"rendered":"http:\/\/rmohan.com\/?p=2746"},"modified":"2014-02-09T14:36:57","modified_gmt":"2014-02-09T06:36:57","slug":"kill-a-terminal-server-session-from-the-command-line","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2746","title":{"rendered":"Kill a Terminal Server Session from the Command Line"},"content":{"rendered":"<p>How to Kill a Terminal Services Session from the Command Line<\/p>\n<ol>\n<li>Open a CMD prompt<\/li>\n<li>To query for current sessions, type:\n<ul>\n<li>qwinsta.exe \/server:&lt;servername&gt;<\/li>\n<\/ul>\n<\/li>\n<li>To kill a session, type:\n<ul>\n<li>rwinsta.exe \/server:&lt;servername&gt; &lt;session id&gt;<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>How to Kill a Terminal Services Session from the Command Line<\/p>\n<p> Open a CMD prompt To query for current sessions, type: qwinsta.exe \/server:&lt;servername&gt; To kill a session, type: rwinsta.exe \/server:&lt;servername&gt; &lt;session id&gt; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2746"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2746"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2746\/revisions"}],"predecessor-version":[{"id":2747,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2746\/revisions\/2747"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}