{"id":6534,"date":"2022-10-19T00:40:37","date_gmt":"2022-10-18T17:40:37","guid":{"rendered":"https:\/\/www.indowhiz.com\/articles\/?p=6534"},"modified":"2022-10-25T13:23:57","modified_gmt":"2022-10-25T06:23:57","slug":"remote-desktop-protocol-error","status":"publish","type":"post","link":"https:\/\/www.indowhiz.com\/articles\/en\/remote-desktop-protocol-error\/","title":{"rendered":"Windows Remote Desktop: Disconnected Because of a Protocol Error"},"content":{"rendered":"\n<p>Windows has a built-in software called Remote Desktop Connection (RDC). This software allows us to open our PC from any place, using a laptop or even a mobile phone <span id=\"95987945-9890-49be-b3e4-28aaea918009\" data-items=\"[&quot;4013121081&quot;]\" class=\"abt-citation\" contenteditable=\"false\">\u200b[1]\u200b<\/span>. In rare cases, we can&#8217;t access our PC, and an error shows up:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Because of a protocol error, this session will be disconnected. Please try connecting to the remote computer <\/code><\/pre>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Reasons<\/h2>\n\n\n\n<p>Commonly, this error is due to low memory (RAM) on either the client computer (i.e., the computer in front of you) or the remote server (i.e., the computer you want to connect to). Some applications may hog resources in either one of the computers. Thus, the RDC is not getting enough RAM to start the connection. <\/p>\n\n\n\n<p>RDC requires at least 1024 MB or 1 GB of free memory (RAM) to start the connection <span id=\"2c6b09ea-bb1d-4d33-aafb-271c217a7e72\" data-items=\"[&quot;419328737&quot;]\" class=\"abt-citation\" contenteditable=\"false\">\u200b[2]\u200b<\/span>. Accordingly, there are two solutions you can try. First, reduce the connection quality. Second, close unnecessary applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solutions to protocol error<\/h2>\n\n\n\n<p>Before trying any solutions below, try logging in with a different username (if available) <span id=\"a063b3fc-ede9-4e6a-bcde-44b10101114f\" data-items=\"[&quot;1051990945&quot;]\" class=\"abt-citation\" contenteditable=\"false\">\u200b[3]\u200b<\/span>. Although it rarely succeeds, it is worth trying.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution 1: quality reduction<\/h3>\n\n\n\n<p>On the client computer, open the Remote Desktop Connection. If you can not find any options (as in Fig 1), click <code>\u25bc show options<\/code>. Then, do the following <span id=\"ea72b817-8c17-4c2e-98b3-963a39578181\" data-items=\"[&quot;917962652&quot;]\" class=\"abt-citation\" contenteditable=\"false\">\u200b[4]\u200b<\/span>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to the <code>Display<\/code> tab, then:<ul><li>under <code>Display configuration<\/code>, set a smaller resolution, and<\/li><li>disable <code>Use all my monitors for the remote session<\/code> option.<\/li><li>Under <code>Colors<\/code>, select the lower <code>color depth<\/code> (e.g., <code>15 bit<\/code>).<\/li><\/ul><\/li><li>Go to the <code>Experience<\/code> tab, then: <ul><li>select the lower <code>connection speed<\/code>, and<\/li><li>disable all of the visual quality (e.g., <code>Desktop composition<\/code> and <code>Visual styles<\/code>).<\/li><li>If necessary, also disable the <code>Persistent bitmap caching<\/code>.<\/li><\/ul><\/li><li>[<em>optional<\/em>] Go to the <code>Local Resources<\/code> tab, then:<ul><li>under <code>Remote audio<\/code>, click <code>Settings...<\/code>, and<\/li><li>disable the audio by selecting <code>Do not play<\/code> and <code>Do not record<\/code>.<\/li><\/ul><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"407\" height=\"494\" src=\"https:\/\/www.indowhiz.com\/articles\/wp-content\/uploads\/2022\/10\/Win-RDP-experience-options_compressed.jpg\" alt=\"Remote Desktop options\" class=\"wp-image-6544\"\/><figcaption>Fig 1. Remote Desktop options.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Solution 2: close unnecessary applications<\/h3>\n\n\n\n<p>On the client computer, open the <code>Task Manager<\/code>. Under the <code>Performance<\/code> tab, check the available <code>Memory<\/code>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"802\" height=\"573\" src=\"https:\/\/www.indowhiz.com\/articles\/wp-content\/uploads\/2022\/10\/Task-Manager-Low-Memory.jpg\" alt=\"Windows task manager\" class=\"wp-image-6547\"\/><figcaption>Fig 2. Windows task manager.<\/figcaption><\/figure>\n\n\n\n<p>The client computer may have insufficient available memory. Therefore, try closing unnecessary applications (e.g., web browsers and Microsoft Office) until you have at least 1024 MB of available memory. Although, it would be better if you could free up to around 1.5 \u2013 2 GB of memory.<\/p>\n\n\n\n<p>Meanwhile, attempting to close unnecessary applications in the remote server is challenging. Unless, You have a person that is physically close to the remote server <span id=\"a9d5c96f-ab19-4d26-9fc1-6b2356e75acf\" data-items=\"[&quot;1891826685&quot;]\" class=\"abt-citation\" contenteditable=\"false\">\u200b[5]\u200b<\/span>. Some people talk about CMD instructions to restart the computer remotely. However, I would not recommend it for two reasons. First, I haven&#8217;t found any instructions that work. Second, we don&#8217;t know whether any essential applications may still be running and haven&#8217;t been saved.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<section aria-label=\"Bibliography\" class=\"wp-block-abt-bibliography abt-bibliography\" role=\"region\"><ol class=\"abt-bibliography__body\" data-maxoffset=\"3\" data-linespacing=\"1\" data-second-field-align=\"flush\"><li id=\"4013121081\">  <div class=\"csl-entry\">\n    <div class=\"csl-left-margin\">[1]<\/div><div class=\"csl-right-inline\">Microsoft, \u201cHow to use Remote Desktop,\u201d <i>Microsoft Support<\/i>, Apr. 28, 2022. <a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/support.microsoft.com\/en-us\/windows\/how-to-use-remote-desktop-5fe128d5-8fb1-7a23-3b8a-41e636865e8c\">https:\/\/support.microsoft.com\/en-us\/windows\/how-to-use-remote-desktop-5fe128d5-8fb1-7a23-3b8a-41e636865e8c<\/a> (accessed Oct. 19, 2022).<\/div>\n  <\/div>\n<\/li><li id=\"419328737\">  <div class=\"csl-entry\">\n    <div class=\"csl-left-margin\">[2]<\/div><div class=\"csl-right-inline\">E. Kjerland, C. McClister, and D. Eby, \u201cEnd-user hardware requirements to access a Cloud PC,\u201d <i>Microsoft Learn<\/i>, Oct. 12, 2022. <a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/learn.microsoft.com\/en-us\/windows-365\/end-user-hardware-requirements\">https:\/\/learn.microsoft.com\/en-us\/windows-365\/end-user-hardware-requirements<\/a> (accessed Oct. 19, 2022).<\/div>\n  <\/div>\n<\/li><li id=\"1051990945\">  <div class=\"csl-entry\">\n    <div class=\"csl-left-margin\">[3]<\/div><div class=\"csl-right-inline\">M. Philip, \u201cRemote desktop session disconnection due to protocol error,\u201d <i>Microsoft Learn: Q&amp;A<\/i>, Jun. 15, 2020. <a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/35829\/remote-desktop-session-disconnection-due-to-protoc.html\">https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/35829\/remote-desktop-session-disconnection-due-to-protoc.html<\/a> (accessed Oct. 19, 2022).<\/div>\n  <\/div>\n<\/li><li id=\"917962652\">  <div class=\"csl-entry\">\n    <div class=\"csl-left-margin\">[4]<\/div><div class=\"csl-right-inline\">D. Refoua, \u201cRemote desktop session ends abruptly with a \u2018protocol error,\u2019\u201d <i>Stack Exchange: Server Fault<\/i>, Dec. 27, 2017. <a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/serverfault.com\/questions\/200700\/remote-desktop-session-ends-abruptly-with-a-protocol-error\">https:\/\/serverfault.com\/questions\/200700\/remote-desktop-session-ends-abruptly-with-a-protocol-error<\/a> (accessed Oct. 19, 2022).<\/div>\n  <\/div>\n<\/li><li id=\"1891826685\">  <div class=\"csl-entry\">\n    <div class=\"csl-left-margin\">[5]<\/div><div class=\"csl-right-inline\">Vomit IT, \u201cReboot Windows 10 PC remotely,\u201d <i>Stack Exchange: Super User<\/i>, Feb. 11, 2016. <a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/superuser.com\/questions\/1038571\/reboot-windows-10-pc-remotely\">https:\/\/superuser.com\/questions\/1038571\/reboot-windows-10-pc-remotely<\/a> (accessed Oct. 19, 2022).<\/div>\n  <\/div>\n<\/li><\/ol><\/section>\n","protected":false},"excerpt":{"rendered":"<p>Windows has a built-in software called Remote Desktop Connection (RDC). This software allows us to open our PC from any place, using a laptop or even a mobile phone \u200b[1]\u200b. In rare cases, we can&#8217;t access our PC, and an error shows up:<\/p>\n","protected":false},"author":1,"featured_media":6537,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[510],"tags":[1194,1192,1190],"class_list":["post-6534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-low-memory","tag-remote-desktop-connection","tag-windows"],"modified_by":"Philip F. E. Adipraja","_links":{"self":[{"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/posts\/6534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/comments?post=6534"}],"version-history":[{"count":3,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/posts\/6534\/revisions"}],"predecessor-version":[{"id":8434,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/posts\/6534\/revisions\/8434"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/media\/6537"}],"wp:attachment":[{"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/media?parent=6534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/categories?post=6534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.indowhiz.com\/articles\/wp-json\/wp\/v2\/tags?post=6534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}