{"id":13713,"date":"2019-03-28T22:03:57","date_gmt":"2019-03-29T01:03:57","guid":{"rendered":"http:\/\/gianfratti.com\/?p=13713"},"modified":"2019-03-28T22:22:30","modified_gmt":"2019-03-29T01:22:30","slug":"como-habilitar-varias-sessoes-de-area-de-trabalho-remota-ou-manter-a-sessao-ativa","status":"publish","type":"post","link":"https:\/\/gianfratti.com\/index.php\/como-habilitar-varias-sessoes-de-area-de-trabalho-remota-ou-manter-a-sessao-ativa\/","title":{"rendered":"Como habilitar v\u00e1rias sess\u00f5es de \u00e1rea de trabalho remota ou manter a sess\u00e3o ativa"},"content":{"rendered":"<div><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/rdpLogo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-13723 alignleft\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/rdpLogo-170x120.png\" alt=\"\" width=\"170\" height=\"120\" \/><\/a>Recentemente eu estava usando meu servidor VPS e quando eu desconectava do RDP todos os programas que estavam abertos no desktop eram fechados na nova sess\u00e3o, isso me causava um certo desconforto pois muitas vezes eu desejava manter as os programas abertos para voltar mais tarde e continuar executando meu trabalho de onde eu havia parado, dessa forma eu entrei em contato com a meu servidor de VPS e eles me enviaram um passo a passo de como permitir varias sess\u00f5es abertas no servidor assim como manter a sess\u00e3o atual do usu\u00e1rio com os programas abertos.<\/div>\n<div><\/div>\n<div>Ent\u00e3o vamos l\u00e1. \ud83d\ude42<\/div>\n<div><\/div>\n<div><!--more--><\/div>\n<div>\n<p>Para habilitar v\u00e1rias sess\u00f5es da \u00e1rea de trabalho remota, siga estas etapas:<\/p><\/div>\n<div><\/div>\n<div>\n<div>1. Log in to a server by using <strong>Remote Desktop Connection<\/strong>.<\/div>\n<div>\n<p>2. Start <strong>Local Group Policy Editor<\/strong>. To do this, click the <strong>Win<\/strong> icon or press the <strong>Win<\/strong> key, then search gpedit.msc. Or, start <strong>Windows PowerShell<\/strong>, then input gpedit.msc. See screenshot 1 and 2.<\/p>\n<p><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13715 size-full\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_01.png\" alt=\"\" width=\"486\" height=\"390\" srcset=\"https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_01.png 486w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_01-300x241.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><br \/>\nscreenshot 1<\/p>\n<p><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13716 size-full\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_02.png\" alt=\"\" width=\"638\" height=\"164\" srcset=\"https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_02.png 638w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_02-300x77.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><br \/>\nscreenshot 2<\/p>\n<\/div>\n<div>\n<p>3. In <strong>Local Group Policy Editor<\/strong>, go to <strong>Computer Configuration<\/strong> &gt; <strong>Administrative Templates<\/strong> &gt; <strong>Windows Components<\/strong> &gt; <strong>Remote Desktop Services<\/strong> &gt; <strong>Remote Desktop Session Host<\/strong> &gt; <strong>Connections<\/strong>. See screenshot 3.<\/p>\n<p><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13717 size-full\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_03.png\" alt=\"\" width=\"1439\" height=\"967\" srcset=\"https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_03.png 1439w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_03-300x202.png 300w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_03-768x516.png 768w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_03-1024x688.png 1024w\" sizes=\"auto, (max-width: 1439px) 100vw, 1439px\" \/><\/a><br \/>\nscreenshot 3<\/p>\n<\/div>\n<div>4. Double click the <strong>Restrict Remote Desktop Services user to a single Remote Desktop Services session<\/strong> item under the <strong>Setting<\/strong> region.<\/div>\n<div>\n<p>5. Select the <strong>Disable<\/strong> option in the <strong>Restrict Remote Desktop Services user to a single Remote Desktop Services session <\/strong>window. Then, click the <strong>OK<\/strong> button. See screenshot 4.<\/p>\n<p><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13718\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04.png\" alt=\"\" width=\"1049\" height=\"937\" srcset=\"https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04.png 1049w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04-300x268.png 300w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04-768x686.png 768w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04-1024x915.png 1024w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_04-200x180.png 200w\" sizes=\"auto, (max-width: 1049px) 100vw, 1049px\" \/><\/a><br \/>\nscreenshot 4<\/p>\n<\/div>\n<div><\/div>\n<div>6. Double click the <strong>Limit number of connections<\/strong> item. See screenshot 3.<\/div>\n<div>\n<p>7. In the <strong>Limit number of connections<\/strong> window, select the <strong>Enable<\/strong> option, then set the <strong>RD Maximum Connections allowed<\/strong> to <strong>999999<\/strong>. Click the <strong>OK<\/strong> button. See screenshot 5.<\/p>\n<p><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13719\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05.png\" alt=\"\" width=\"1040\" height=\"943\" srcset=\"https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05.png 1040w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05-300x272.png 300w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05-768x696.png 768w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05-1024x928.png 1024w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_05-200x180.png 200w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/a><br \/>\nscreenshot 5<\/p>\n<\/div>\n<div><\/div>\n<div>To enable <strong>single<\/strong> remote desktop sessions, follow these steps:<\/div>\n<div>1. In <strong>Local Group Policy Editor<\/strong>, go to <strong>Computer Configuration<\/strong> &gt; <strong>Administrative Templates<\/strong> &gt; <strong>Windows Components<\/strong> &gt; <strong>Remote Desktop Services<\/strong> &gt; <strong>Remote Desktop Session Host<\/strong> &gt; <strong>Connections<\/strong>.<\/div>\n<div>2. Double click the <strong>Restrict Remote Desktop Services user to a single Remote Desktop Services session<\/strong> item under the <strong>Setting<\/strong> region.<\/div>\n<div>\n<p>3. Select the <strong>Enable<\/strong> option in the <strong>Restrict Remote Desktop Services user to a single Remote Desktop Services session <\/strong>window. Then, click the <strong>OK<\/strong> button. See screenshot 6.<\/p>\n<p><a href=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13720\" src=\"http:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06.png\" alt=\"\" width=\"1046\" height=\"941\" srcset=\"https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06.png 1046w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06-300x270.png 300w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06-768x691.png 768w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06-1024x921.png 1024w, https:\/\/gianfratti.com\/wp-content\/uploads\/2019\/03\/RDP_Sessao_06-200x180.png 200w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/a><br \/>\nscreenshot 6<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Recentemente eu estava usando meu servidor VPS e quando eu desconectava do RDP todos os programas que estavam abertos no desktop eram fechados na nova sess\u00e3o, isso me causava um certo desconforto pois muitas vezes eu desejava manter as os programas abertos para voltar mais tarde e continuar executando meu trabalho de onde eu havia <span class=\"ellipsis\">&hellip;<\/span> <span class=\"more-link-wrap\"><a href=\"https:\/\/gianfratti.com\/index.php\/como-habilitar-varias-sessoes-de-area-de-trabalho-remota-ou-manter-a-sessao-ativa\/\" class=\"more-link\"><span>Read More &rarr;<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20],"tags":[252,250,251],"class_list":["post-13713","post","type-post","status-publish","format-standard","hentry","category-dicas","tag-desktop","tag-rdp","tag-remote"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts\/13713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/comments?post=13713"}],"version-history":[{"count":7,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts\/13713\/revisions"}],"predecessor-version":[{"id":13727,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/posts\/13713\/revisions\/13727"}],"wp:attachment":[{"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/media?parent=13713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/categories?post=13713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gianfratti.com\/index.php\/wp-json\/wp\/v2\/tags?post=13713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}