{"id":1796,"date":"2016-01-13T20:43:23","date_gmt":"2016-01-13T20:43:23","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1796"},"modified":"2018-09-06T23:15:37","modified_gmt":"2018-09-06T23:15:37","slug":"how-to-viewlogoff-remote-desktop-hung-sessions","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1796","title":{"rendered":"How to view\/logoff remote desktop hung sessions"},"content":{"rendered":"<p>You try to RDP into a Terminal Server and you get this message below.<\/p>\n<p><a href=\"http:\/\/microsoftgeek.com\/?attachment_id=1797#main\" rel=\"attachment wp-att-1797\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1797\" src=\"http:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/terminal.png\" alt=\"terminal\" width=\"448\" height=\"352\" srcset=\"https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/terminal.png 448w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/terminal-300x236.png 300w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>You can run the following comment to view terminal server sessions. Qwinsta \/server:<em>computername<\/em><\/p>\n<p><a href=\"http:\/\/microsoftgeek.com\/?attachment_id=1800#main\" rel=\"attachment wp-att-1800\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1800\" src=\"http:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/CMD.png\" alt=\"CMD\" width=\"668\" height=\"331\" srcset=\"https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/CMD.png 668w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/CMD-300x149.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>This will show you which sessions are hung. Then you can go into another Terminal Server and open Terminal Services Manager, connect to the server you are trying to RDP into and log off the hung sessions.<\/p>\n<p><a href=\"http:\/\/microsoftgeek.com\/?attachment_id=1798#main\" rel=\"attachment wp-att-1798\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1798\" src=\"http:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS1.png\" alt=\"TS1\" width=\"838\" height=\"481\" srcset=\"https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS1.png 838w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS1-300x172.png 300w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS1-768x441.png 768w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><\/a> <a href=\"http:\/\/microsoftgeek.com\/?attachment_id=1799#main\" rel=\"attachment wp-att-1799\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1799\" src=\"http:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS2.png\" alt=\"TS2\" width=\"838\" height=\"481\" srcset=\"https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS2.png 838w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS2-300x172.png 300w, https:\/\/microsoftgeek.com\/wp-content\/uploads\/2016\/01\/TS2-768x441.png 768w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You try to RDP into a Terminal Server and you get this message below. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; You can run the following comment to view terminal server sessions. Qwinsta \/server:computername &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; This will show you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-1796","post","type-post","status-publish","format-standard","hentry","category-general-2003-stuff","category-general-2008"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1796"}],"version-history":[{"count":4,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1796\/revisions"}],"predecessor-version":[{"id":1804,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1796\/revisions\/1804"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}