{"id":548,"date":"2018-05-17T11:46:27","date_gmt":"2018-05-17T15:46:27","guid":{"rendered":"https:\/\/www.dontpapanic.com\/blog\/?p=548"},"modified":"2018-05-17T11:46:27","modified_gmt":"2018-05-17T15:46:27","slug":"fix-for-cant-connect-to-azure-vm-via-rdp","status":"publish","type":"post","link":"https:\/\/www.dontpapanic.com\/blog\/?p=548","title":{"rendered":"Fix for: Can&rsquo;t Connect to Azure VM via RDP"},"content":{"rendered":"<p align=\"left\"><a href=\"https:\/\/www.dontpapanic.com\/blog\/wp-content\/uploads\/2018\/05\/RDP-err.png\"><img loading=\"lazy\" decoding=\"async\" width=\"364\" height=\"152\" title=\"RDP err\" align=\"left\" style=\"margin: 0px 10px 0px 0px; float: left; display: inline; background-image: none;\" alt=\"RDP err\" src=\"https:\/\/www.dontpapanic.com\/blog\/wp-content\/uploads\/2018\/05\/RDP-err_thumb.png\" border=\"0\"><\/a>I use Azure Virtual Machines (VMs) a lot for demos and testing.&nbsp; Recently when I tried to connect to some of my VMs using remote desktop I got a error message.&nbsp; The message read \u201c<em>An authentication error has occurred. The function requested is not supported.\u201d&nbsp; <\/em>Researching this error on the Internet led me to a security update applied to Windows 10 and Windows Server 2016 that was rolled out on April 17, 2018.&nbsp; This update includes an update for the Remote Desktop Client (RDP) to fix a CredSSP authentication protocol vulnerability.&nbsp; After the update is applied you can no longer RDP to any machine that isn\u2019t fully updated.&nbsp; My problem was that my Windows 10 laptop had been updated, but my Azure VMs had not been updated.<\/p>\n<p align=\"left\">I\u2019ve seen several fixes on the Internet to workaround this problem temporarily using registry settings or Group Policy Objects (GPO). Unfortunately, the only Active Directory server involved was also on Windows Server 2016, so there was no way to attach to it make registry changes or modify GPO settings. But I was able to find another workaround that let me access the affected servers via RDP so that I could update them.<\/p>\n<h1 align=\"left\">The Solution<\/h1>\n<p align=\"left\">The trick was to find a server or workstation that hadn\u2019t been updated yet. In my case I had a local Windows 8.1 Hyper-V VM that I hadn\u2019t updated in a while.&nbsp; Using that I was able to access the affected VMs and run Windows Update.&nbsp; Once the update was applied I could RDP into them from my Windows 10 laptop.<\/p>\n<p align=\"left\">I also found that I could still RDP from my iPhone to the affected servers to apply the update.&nbsp; I admit that the screen size is pretty small and difficult to work with, but it is possible.&nbsp; So if you don\u2019t have a workstation or server that hasn\u2019t been upgraded recently you can try to RDP in from your non-Microsoft phone.&nbsp; <em>Note: I didn\u2019t try using Android, but I assume it will also work.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use Azure Virtual Machines (VMs) a lot for demos and testing.&nbsp; Recently when I tried to connect to some of my VMs using remote desktop I got a error message.&nbsp; The message read \u201cAn authentication error has occurred. The function requested is not supported.\u201d&nbsp; Researching this error on the Internet led me to a &hellip; <a href=\"https:\/\/www.dontpapanic.com\/blog\/?p=548\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fix for: Can&rsquo;t Connect to Azure VM via RDP<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96,84,103],"tags":[11,23,104],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-security","category-tips","category-updates","tag-security","tag-tips","tag-updates"],"_links":{"self":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=548"}],"version-history":[{"count":1,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions\/549"}],"wp:attachment":[{"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dontpapanic.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}