<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RDP Freeze Fix - GlobalProtect in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/335816#M84643</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We struggled with the RDP freezing issue with GlobalProtect for a long time.&amp;nbsp; The initial "fix" was to disable UDP for RDP in the registry.&amp;nbsp; This fixed the issue for many users but also slowed down the RDP performance.&amp;nbsp; We thought the issue was with GlobalProtect but after troubleshooting with Palo Alto we were able to see that at some point the remote PC just simply stopped sending RDP packets.&lt;/P&gt;&lt;P&gt;We opened a case with Microsoft and they gave us a registry fix to try that fixed all our RDP freeze issues and allowed us to re-enable UDP for RDP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Important: This regedit goes on the machine you are remoting into, not the machine you are remoting from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HKLM\SOFTWARE\Microsoft\Terminal Server Client&lt;/P&gt;&lt;P&gt;UseURCP (Create this new DWORD with value of 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use this from a command prompt as long as you have admin privileges on the box:&lt;/P&gt;&lt;P&gt;REG ADD "HKLM\SOFTWARE\Microsoft\Terminal Server Client" /v UseURCP /t REG_DWORD /d 0 /f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you previously disabled UDP for RDP you can re-enable it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps someone as this was a real pain for us and our users for a long time.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2020 15:50:20 GMT</pubDate>
    <dc:creator>brianhill88</dc:creator>
    <dc:date>2020-06-29T15:50:20Z</dc:date>
    <item>
      <title>RDP Freeze Fix - GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/335816#M84643</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We struggled with the RDP freezing issue with GlobalProtect for a long time.&amp;nbsp; The initial "fix" was to disable UDP for RDP in the registry.&amp;nbsp; This fixed the issue for many users but also slowed down the RDP performance.&amp;nbsp; We thought the issue was with GlobalProtect but after troubleshooting with Palo Alto we were able to see that at some point the remote PC just simply stopped sending RDP packets.&lt;/P&gt;&lt;P&gt;We opened a case with Microsoft and they gave us a registry fix to try that fixed all our RDP freeze issues and allowed us to re-enable UDP for RDP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Important: This regedit goes on the machine you are remoting into, not the machine you are remoting from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HKLM\SOFTWARE\Microsoft\Terminal Server Client&lt;/P&gt;&lt;P&gt;UseURCP (Create this new DWORD with value of 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use this from a command prompt as long as you have admin privileges on the box:&lt;/P&gt;&lt;P&gt;REG ADD "HKLM\SOFTWARE\Microsoft\Terminal Server Client" /v UseURCP /t REG_DWORD /d 0 /f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you previously disabled UDP for RDP you can re-enable it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps someone as this was a real pain for us and our users for a long time.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:50:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/335816#M84643</guid>
      <dc:creator>brianhill88</dc:creator>
      <dc:date>2020-06-29T15:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: RDP Freeze Fix - GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/336435#M84744</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/74553"&gt;@brianhill88&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Awesome ! Thanks for sharing !!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;-Kiwi.&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jul 2020 13:12:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/336435#M84744</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2020-07-02T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: RDP Freeze Fix - GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/336485#M84758</link>
      <description>&lt;P&gt;Thanks for sharing.&amp;nbsp; I hope this works.&amp;nbsp; I've been taking packet captures on the firewall and the machine remoting into to try to figure this out.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 16:51:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/336485#M84758</guid>
      <dc:creator>fhewiufhwefhwe</dc:creator>
      <dc:date>2020-07-02T16:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: RDP Freeze Fix - GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/340046#M85364</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/74553" target="_self"&gt;&lt;SPAN&gt;Brianhill88&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-L3-Networker lia-component-message-view-widget-author-username"&gt;&lt;A href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/93469" target="_self"&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your reg key seems to fix the issue. While my RDP client feels more sluggish I'm not experiencing the Freeze anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To All, if you have a rule which only allows [ms-rdp {app-default}], you should consider adding an [any {udp-3389}] rule below it, this initially helped make my problem less frustrating but I would still experience freezes if I did the below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps anyone from Palo Alto Networks support if they come across this issue,&amp;nbsp;I found in pcaps at the firewall that it was dropping RST packets from the remote terminal server (my windows 10 desktop in this case) when under heavy screen redraw load while trying to scroll wheel through either the start menu, a folder with large images and the view set to Extra Large Icons, or the way I could always force it to freeze would be to grab a full screen window such as my browser open to my pan firewall UI and flail it around the screen wildly. I would see a massive amount of TRANSMIT and FIREWALL stage (as expected with RDP Experience options set to everything on), then when it froze about three dozen of TCP,RST packets capped in the DROP stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In looking at the session through a second VDI connection to our Horizon View I noticed the UDP session showed this:&lt;/P&gt;&lt;P&gt;c2s flow:&lt;BR /&gt;source: &amp;lt;rd&amp;gt; [user_vpn-L3]&lt;BR /&gt;dst: &amp;lt;rd&amp;gt;&lt;BR /&gt;proto: 17&lt;BR /&gt;sport: 55450 dport: 3389&lt;BR /&gt;state: ACTIVE type: FLOW&lt;BR /&gt;src user: &amp;lt;rd&amp;gt;&lt;BR /&gt;dst user: &amp;lt;rd&amp;gt;&lt;/P&gt;&lt;P&gt;s2c flow:&lt;BR /&gt;source: &amp;lt;rd&amp;gt; [Inside-L3]&lt;BR /&gt;dst: &amp;lt;rd&amp;gt;&lt;BR /&gt;proto: 17&lt;BR /&gt;sport: 3389 dport: 55450&lt;BR /&gt;state: ACTIVE type: FLOW&lt;BR /&gt;src user: &amp;lt;rd&amp;gt;&lt;BR /&gt;dst user: &amp;lt;rd&amp;gt;&lt;/P&gt;&lt;P&gt;DP : 2&lt;BR /&gt;index(local): : 1203093&lt;BR /&gt;start time : Wed Jul 22 05:38:09 2020&lt;BR /&gt;timeout : 36000 sec&lt;BR /&gt;time to live : 35992 sec&lt;BR /&gt;total byte count(c2s) : 330115&lt;BR /&gt;total byte count(s2c) : 52126669&lt;BR /&gt;layer7 packet count(c2s) : 1926&lt;BR /&gt;layer7 packet count(s2c) : 42793&lt;BR /&gt;vsys : vsys1&lt;BR /&gt;application : ms-rdp&lt;BR /&gt;rule : davery-wfh-limited&lt;BR /&gt;service timeout override(index) : False&lt;BR /&gt;session to be logged at end : True&lt;BR /&gt;session in session ager : True&lt;BR /&gt;session updated by HA peer : False&lt;BR /&gt;layer7 processing : completed&lt;BR /&gt;URL filtering enabled : True&lt;BR /&gt;URL category : any&lt;BR /&gt;session via syn-cookies : False&lt;BR /&gt;session terminated on host : False&lt;BR /&gt;session traverses tunnel : True&lt;BR /&gt;captive portal session : False&lt;BR /&gt;ingress interface : tunnel.&amp;lt;rd&amp;gt;&lt;BR /&gt;egress interface : ae2&lt;BR /&gt;session QoS rule : N/A (class 4)&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;tracker stage l7proc : ctd err sw&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;end-reason : unknown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes I would see an unknown-udp session start on the same rule, as I suspect the client side was trying a new session start but most times I did not see that though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally I would expect my second rule which follows this one 'davery-wfh-limited-1' which is not app-specific on port udp-3389 to pickup the traffic that was unknown-rdp and allow but it seems like whatever is happening in the packets that the appID engine is hitting a problem identifying and then the stream breaks. Since it's udp the client would just keep sending AND since the firewall was dropping the server side TCP RST packets, the client side was unaware the server side wants the session to disconnect and start over.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I've been dealing with this problem since probably October 2019 and my users have been very frustrated to say the least. It took me about 2 months to find that I needed the non-app specific udp-3389 rule, and most clients we ended up turning off UDP. Thanks again&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/74553" target="_self"&gt;&lt;SPAN&gt;Brianhill88&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 13:33:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/340046#M85364</guid>
      <dc:creator>David_Avery</dc:creator>
      <dc:date>2020-07-22T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: RDP Freeze Fix - GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/429317#M94891</link>
      <description>&lt;P&gt;Thanks for sharing, this was driving me crazy.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 03:08:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/429317#M94891</guid>
      <dc:creator>mhowsmon</dc:creator>
      <dc:date>2021-08-26T03:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: RDP Freeze Fix - GlobalProtect</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/514894#M106853</link>
      <description>&lt;P&gt;You can apply method 9 of the instructions detailed in the link below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.anyviewer.com/how-to/black-screen-on-remote-desktop-windows-10-jkzbj.html" target="_blank"&gt;https://www.anyviewer.com/how-to/black-screen-on-remote-desktop-windows-10-jkzbj.html&lt;/A&gt; (Method 9. Close client UDP and disable WDDM driver)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 22:30:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rdp-freeze-fix-globalprotect/m-p/514894#M106853</guid>
      <dc:creator>EUREKA-NETWORKS</dc:creator>
      <dc:date>2022-09-14T22:30:00Z</dc:date>
    </item>
  </channel>
</rss>

