{"id":14124,"date":"2025-01-10T00:20:31","date_gmt":"2025-01-10T06:20:31","guid":{"rendered":"https:\/\/www.supportpro.com\/blog\/?p=14124"},"modified":"2026-03-31T00:19:08","modified_gmt":"2026-03-31T06:19:08","slug":"resolving-rdp-hang-and-connection-drop-issues-on-vps-or-dedicated-servers","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/resolving-rdp-hang-and-connection-drop-issues-on-vps-or-dedicated-servers\/","title":{"rendered":"Resolving RDP Hang and Connection Drop Issues on VPS or Dedicated Servers"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"14124\" class=\"elementor elementor-14124\">\n\t\t\t\t\t\t<section class=\"penci-section penci-disSticky penci-structure-10 elementor-section elementor-top-section elementor-element elementor-element-7d65a1a8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7d65a1a8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"penci-ercol-100 penci-ercol-order-1 penci-sticky-ct    elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-19207cc\" data-id=\"19207cc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fd3acc3 elementor-widget elementor-widget-text-editor\" data-id=\"fd3acc3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/remote\/understanding-remote-desktop-protocol\">Remote Desktop Protocol (RDP)<\/a> is a widely used tool for managing <a href=\"https:\/\/cloud.google.com\/learn\/what-is-a-virtual-private-server\">virtual private servers (VPS) <\/a>and dedicated servers. However, under certain network conditions, users may encounter issues such as RDP sessions hanging or frequent connection drops. One effective solution to improve the stability of RDP connections is to disable <a href=\"https:\/\/en.wikipedia.org\/wiki\/User_Datagram_Protocol\">UDP<\/a> support and rely solely on the TCP protocol. TCP is often more reliable and stable in adverse network environments, making it a preferred option for remote server management.<\/p>\n\n\n\n<p>In this article, we will explore how to disable UDP for RDP connections on a Windows Server using different methods. These steps can help mitigate connection issues and provide a smoother remote desktop experience.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Why Disable UDP for RDP?<\/h1>\n\n\n\n<p>RDP uses both UDP and TCP protocols by default. While UDP offers faster data transmission, it is more susceptible to packet loss and network instability. Disabling UDP forces RDP to rely entirely on TCP, which provides better reliability due to its error-checking and retransmission capabilities. This adjustment can resolve complications related to unreliable network connections.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Methods to Disable UDP for RDP Connections<\/h1>\n\n\n\n<p>Here are three main methods to disable UDP support for RDP connections on Windows Servers:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Method 1: Use Windows Firewall on Windows Server 2012-2016<\/strong><\/h4>\n\n\n\n<p><strong>1.Open the Control Panel:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the keyboard shortcut <strong>Win+X <\/strong>and select <strong>Control Panel<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>2.Navigate to Windows Firewall:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the <strong>System<\/strong> and <strong>Security<\/strong> section and select <strong>Windows Firewall<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>3.Access Advanced Settings:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From the left-hand panel, click <strong>Advanced Settings<\/strong> to launch the <strong>Windows Firewall with Advanced Security window<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>4.Locate the Rule:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under Inbound Rules, locate the rule named <strong>Remote Desktop &#8211; User Mode (UDP-In)<\/strong>. This rule typically uses port 3389 (the default RDP port, unless it has been changed).<\/li>\n<\/ul>\n\n\n\n<p><strong>5.Edit the Rule:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double-click the rule to open its properties.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to the General tab and, under the Action section, choose Block the connection.<\/li>\n<\/ul>\n\n\n\n<p><strong>6.Save Changes:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click OK to save your changes.<\/li>\n<\/ul>\n\n\n\n<p>By blocking the UDP-In rule, you prevent RDP from using UDP, thereby forcing it to use TCP exclusively.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Method 2: Using Windows Firewall on Windows Server 2019-2022<\/strong><\/h4>\n\n\n\n<p>On newer versions of Windows Server, the process for launching the firewall configuration is slightly different:<\/p>\n\n\n\n<p><strong>1.Launch Server Manager<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open Server Manager.<\/li>\n<\/ul>\n\n\n\n<p><strong>2.Access Firewall Settings<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <strong>Tools<\/strong> and select <strong>Windows Defender Firewall with Advanced Security<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>3.Follow the Steps<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Follow the same steps as in Method 1 to locate and block the <strong>Remote Desktop &#8211; User Mode (UDP-In)<\/strong> rule.<\/li>\n<\/ul>\n\n\n\n<p><strong>4.Save Changes:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save your changes to disable UDP for RDP.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Method 3: Modifying the Registry<\/strong><\/h4>\n\n\n\n<p>This method involves editing the Windows Registry to disable UDP for RDP connections. While it requires more caution, it is an effective solution.<\/p>\n\n\n\n<p><strong>1.Open the Registry Editor:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>Win+R<\/strong>, type <strong>regedit<\/strong>, and press Enter.<\/li>\n<\/ul>\n\n\n\n<p><strong>2.Navigate to the following path:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the following path:<\/li>\n<\/ul>\n\n\n\n<p><strong>HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services\\Client<\/strong><\/p>\n\n\n\n<p><strong>3.Create a New Entry:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a new <strong>DWORD (32-bit)<\/strong> Value and give it the name it:<\/li>\n<\/ul>\n\n\n\n<p><strong>fClientDisableUDP<\/strong><\/p>\n\n\n\n<p><strong>4.Set the Vaue:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Assign a value of <strong>1<\/strong> to the <strong>fClientDisableUDP<\/strong> entry to turn off UDP support for RDP.<\/li>\n<\/ul>\n\n\n\n<p><strong>5.Reboot the Server:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Exit the Registry Editor, then reboot the server to enforce the new settings.<\/li>\n<\/ul>\n\n\n\n<h1 class=\"wp-block-heading\">Additional Notes<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always back up your registry before making changes to avoid accidental misconfigurations.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you need to re-enable UDP support in the future, simply delete the fClientDisableUDP entry or set its value to 0.<\/li>\n<\/ul>\n\n\n\n<h1 class=\"wp-block-heading\">Conclusion<\/h1>\n\n\n\n<p>Disabling UDP for RDP connections can significantly enhance connection stability on VPS and dedicated servers, especially under challenging network conditions. By using one of the abovementioned methods, you can prevent RDP hangs and connection drops, ensuring a smoother remote desktop experience.<\/p>\n\n\n\n<p>Whether you choose to configure the firewall or modify the registry, make sure to follow the steps carefully. Implementing this change will help you maintain reliable remote server management and avoid unnecessary disruptions in your workflow.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>FAQ<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1. Why does RDP use UDP and TCP?<\/strong><\/h4>\n\n\n\n<p>RDP uses UDP for faster data transfer and TCP for reliable communication with error checking and retransmission.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2. Why should I disable UDP for RDP?<\/strong><\/h4>\n\n\n\n<p>You should disable UDP when experiencing connection drops or instability, as TCP provides more reliable performance in poor network conditions.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3. How do I disable UDP for RDP on Windows Server?<\/strong><\/h4>\n\n\n\n<p>You can disable UDP by blocking the UDP-In rule in Windows Firewall or by modifying the registry with the <code>fClientDisableUDP<\/code> setting.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>4. Will disabling UDP affect RDP performance?<\/strong><\/h4>\n\n\n\n<p>Disabling UDP may slightly reduce speed but significantly improves connection stability and reduces disconnections.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>5. Can I re-enable UDP after disabling it?<\/strong><\/h4>\n\n\n\n<p>Yes, you can re-enable UDP by unblocking the firewall rule or setting the registry value back to 0.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.supportpro.com\/requestquote.php\" title=\"\">Stop RDP disruptions &#8211; optimize your connection settings today for a smoother remote experience!<\/a><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Partner with <strong>SupportPRO<\/strong> for 24\/7 proactive cloud support that keeps your business secure, scalable, and ahead of the curve.<\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"penci-section penci-disSticky penci-structure-20 elementor-section elementor-top-section elementor-element elementor-element-11486e2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"11486e2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"penci-ercol-50 penci-ercol-order-1 penci-sticky-ct    elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-026f9c6\" data-id=\"026f9c6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3051dbf elementor-widget elementor-widget-text-editor\" data-id=\"3051dbf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: rgb(49, 49, 49); font-family: Nunito, sans-serif; font-size: 32px;\">Partner with&nbsp;<\/span><span style=\"font-weight: 700; font-size: 32px; color: rgb(49, 49, 49); font-family: Nunito, sans-serif;\">SupportPRO<\/span><span style=\"color: rgb(49, 49, 49); font-family: Nunito, sans-serif; font-size: 32px;\">&nbsp;for 24\/7 proactive cloud support that keeps your business secure, scalable, and ahead of the curve.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c26c63 elementor-widget elementor-widget-shortcode\" data-id=\"6c26c63\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"penci-ercol-50 penci-ercol-order-2 penci-sticky-ct    elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-ed58052\" data-id=\"ed58052\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bf30564 elementor-widget elementor-widget-image\" data-id=\"bf30564\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" class=\"attachment-large size-large wp-image-12943\" alt=\"guy server checkup\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Remote Desktop Protocol (RDP) is a widely used tool for managing virtual private servers (VPS) and dedicated servers. However, under certain network conditions, users may encounter issues such as RDP&hellip;<\/p>\n","protected":false},"author":34,"featured_media":14126,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[194,195,170],"tags":[53,106],"class_list":["post-14124","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dedicated-server-support","category-server-management","category-server-support","tag-cloud","tag-server"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=14124"}],"version-history":[{"count":11,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14124\/revisions"}],"predecessor-version":[{"id":16420,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14124\/revisions\/16420"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/14126"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=14124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=14124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=14124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}