{"id":555,"date":"2026-08-06T22:57:02","date_gmt":"2026-08-06T22:57:02","guid":{"rendered":"https:\/\/windows-vps.org\/blog\/?p=555"},"modified":"2026-08-06T22:57:02","modified_gmt":"2026-08-06T22:57:02","slug":"setup-rdp-windows-server-2022","status":"publish","type":"post","link":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/","title":{"rendered":"How to Set Up RDP on Windows Server 2022: Step-by-Step"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Remote Desktop (RDP) is how you will administer your Windows Server 2022 VPS, but unlike consumer Windows, a fresh Server 2022 installation arrives with Remote Desktop disabled. Enabling it takes two minutes; doing it securely takes a few more. This guide covers both: turning RDP on with Server Manager or PowerShell, opening the firewall, enforcing Network Level Authentication, granting users access, and hardening the setup so brute-force scanners do not own your server by Friday.<\/p>\n\n<p class=\"wp-block-paragraph\">If you are setting this up on a new VPS, make sure the plan you chose actually fits the job \u2014 <a href=\"https:\/\/windows-vps.org\/#providers\">compare Windows VPS plans side by side<\/a> to check CPU, RAM, and bandwidth before you deploy.<\/p>\n\n<h2 class=\"wp-block-heading\">Step 1: Enable Remote Desktop<\/h2>\n\n<p class=\"wp-block-paragraph\">If your server runs the Desktop Experience edition, open Server Manager, click <strong>Local Server<\/strong> in the left pane, and next to <strong>Remote Desktop<\/strong> click <strong>Disabled<\/strong>, then <strong>Enable<\/strong>. That is the entire GUI path.<\/p>\n\n<p class=\"wp-block-paragraph\">On Server Core, or if you prefer the command line, two commands do the same thing. The first allows remote connections by flipping the Terminal Server registry flag; the second opens the built-in firewall rule group:<\/p>\n\n<pre class=\"wp-block-code\"><code>Set-ItemProperty -Path 'HKLM:\\System\\CurrentControlSet\\Control\\Terminal Server' -Name fDenyTSConnections -Value 0\nEnable-NetFirewallRule -DisplayGroup \"Remote Desktop\"<\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">Step 2: Verify the Firewall Rules<\/h2>\n\n<p class=\"wp-block-paragraph\">Remote Desktop listens on TCP port 3389 by default, and the same port over UDP speeds up connection negotiation. Confirm both rules exist and are enabled:<\/p>\n\n<pre class=\"wp-block-code\"><code>Get-NetFirewallRule -DisplayGroup \"Remote Desktop\" | Select-Object DisplayName, Enabled, Direction<\/code><\/pre>\n\n<p class=\"wp-block-paragraph\">Remember that most VPS providers run a second, external firewall (a security group or the control panel&#8217;s firewall tool). RDP must be allowed there as well \u2014 a common failure is enabling everything inside Windows while the provider-level firewall still blocks port 3389.<\/p>\n\n<h2 class=\"wp-block-heading\">Step 3: Keep Network Level Authentication On<\/h2>\n\n<p class=\"wp-block-paragraph\">Network Level Authentication (NLA) requires the user to authenticate before a full remote session is created, which reduces resource use and blocks several attack classes. It is enabled by default on Server 2022; verify it has not been turned off:<\/p>\n\n<pre class=\"wp-block-code\"><code>Get-ItemProperty -Path 'HKLM:\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp' -Name UserAuthentication<\/code><\/pre>\n\n<p class=\"wp-block-paragraph\">If <code>UserAuthentication<\/code> is anything other than 1, set it back to 1 and reboot.<\/p>\n\n<h2 class=\"wp-block-heading\">Step 4: Grant Users Access<\/h2>\n\n<p class=\"wp-block-paragraph\">Only members of the <strong>Remote Desktop Users<\/strong> group can log in (local Administrators are implicitly allowed). Add a user with one command:<\/p>\n\n<pre class=\"wp-block-code\"><code>net localgroup \"Remote Desktop Users\" CONTOSO\\jdoe \/add<\/code><\/pre>\n\n<p class=\"wp-block-paragraph\">Grant RDP access per user, not by dumping everyone into Administrators. A named admin account for your own daily work plus a locked-down built-in Administrator is a sensible baseline.<\/p>\n\n<h2 class=\"wp-block-heading\">Step 5: Connect From Any OS<\/h2>\n\n<p class=\"wp-block-paragraph\">From Windows, the built-in client works: <code>mstsc \/v:203.0.113.10<\/code>. From macOS and Linux, the Microsoft Remote Desktop client connects to the same server with the same credentials. Mobile clients from Microsoft&#8217;s App Store work for quick checks. On first connect you will see a certificate warning \u2014 expected, because the server uses a self-signed certificate \u2014 and you can accept it or replace it with a proper certificate later.<\/p>\n\n<h2 class=\"wp-block-heading\">Step 6: Harden Before Exposing to the Internet<\/h2>\n\n<p class=\"wp-block-paragraph\">If RDP will be reachable from the public internet, treat hardening as mandatory:<\/p>\n\n<ul class=\"wp-block-list\"><li><strong>Enable account lockout<\/strong> \u2014 in <code>secpol.msc<\/code> \u2192 Account Lockout Policy, set 5 attempts and a 15-minute lockout. This single setting neutralizes most brute-force tools.<\/li><li><strong>Change the default port<\/strong> \u2014 edit the <code>PortNumber<\/code> value under <code>HKLM\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/code>, restart the service, and update the firewall rule. Security by obscurity is not a strategy, but it cuts the automated scan noise dramatically.<\/li><li><strong>Restrict who can log in<\/strong> \u2014 keep the Remote Desktop Users group to named accounts, and consider IP allow-listing in the provider firewall if your users come from a fixed range.<\/li><li><strong>Add a second factor<\/strong> \u2014 services like Duo or Microsoft Entra ID can enforce MFA on RDP logons.<\/li><li><strong>Route through a gateway or VPN<\/strong> \u2014 for multiple users, Remote Desktop Gateway or a VPN is more manageable than exposing 3389 directly.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">Troubleshooting Common Failures<\/h2>\n\n<ul class=\"wp-block-list\"><li><strong>CredSSP error &#8220;the function requested is not supported&#8221;<\/strong> \u2014 an encryption-oracle mismatch between client and server. Update the client, or set <code>HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\CredSSP\\Parameters\\AllowEncryptionOracle<\/code> to 2 on the client as a short-term fix.<\/li><li><strong>&#8220;The remote session was disconnected&#8221; right after login<\/strong> \u2014 usually licensing. Windows Server allows two concurrent administrative RDP sessions without extra licenses; beyond that you need Remote Desktop Services CALs.<\/li><li><strong>Connection times out<\/strong> \u2014 check the provider-level firewall first, then the Windows firewall, then confirm the service is running (<code>Get-Service TermService<\/code>).<\/li><li><strong>NLA mismatch<\/strong> \u2014 older clients without NLA support fail against a server that requires it; keep NLA on and update the clients instead of weakening the server.<\/li><\/ul>\n\n<p class=\"wp-block-paragraph\">RDP on Server 2022 is straightforward once the pattern is familiar: enable, verify the firewall, keep NLA on, grant named users, harden before going public. Do the hardening steps up front and the daily reality is a stable remote session that never gets locked out by attackers. And when the time comes to scale, <a href=\"https:\/\/windows-vps.org\/#providers\">check out the best Windows VPS providers<\/a> to find a plan with the specs your sessions actually need.<\/p>","protected":false},"excerpt":{"rendered":"<p>Remote Desktop (RDP) is how you will administer your Windows Server 2022 VPS, but unlike consumer Windows, a fresh Server 2022 installation arrives with Remote Desktop disabled. Enabling it takes two minutes; doing it securely takes a few more. This guide covers both: turning RDP on with Server Manager or PowerShell, opening the firewall, enforcing &#8230; <a title=\"How to Set Up RDP on Windows Server 2022: Step-by-Step\" class=\"read-more\" href=\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/\" aria-label=\"Read more about How to Set Up RDP on Windows Server 2022: Step-by-Step\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":3,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-555","post","type-post","status-publish","format-standard","hentry","category-tutorials-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up RDP on Windows Server 2022: Step-by-Step - Windows VPS Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up RDP on Windows Server 2022: Step-by-Step\" \/>\n<meta property=\"og:description\" content=\"How to Set Up RDP on Windows Server 2022: Step-by-Step\" \/>\n<meta property=\"og:url\" content=\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/\" \/>\n<meta property=\"og:site_name\" content=\"Windows VPS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-06T22:57:02+00:00\" \/>\n<meta name=\"author\" content=\"windows-vps\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"windows-vps\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/\",\"url\":\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/\",\"name\":\"How to Set Up RDP on Windows Server 2022: Step-by-Step - Windows VPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\"},\"datePublished\":\"2026-08-06T22:57:02+00:00\",\"author\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\"},\"breadcrumb\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/windows-vps.org\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up RDP on Windows Server 2022: Step-by-Step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\",\"url\":\"https:\/\/windows-vps.org\/blog\/\",\"name\":\"Windows VPS Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/windows-vps.org\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\",\"name\":\"windows-vps\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"caption\":\"windows-vps\"},\"sameAs\":[\"https:\/\/windows-vps.org\/blog\"],\"url\":\"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Set Up RDP on Windows Server 2022: Step-by-Step - Windows VPS Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up RDP on Windows Server 2022: Step-by-Step","og_description":"How to Set Up RDP on Windows Server 2022: Step-by-Step","og_url":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/","og_site_name":"Windows VPS Blog","article_published_time":"2026-08-06T22:57:02+00:00","author":"windows-vps","twitter_card":"summary_large_image","twitter_misc":{"Written by":"windows-vps","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/","url":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/","name":"How to Set Up RDP on Windows Server 2022: Step-by-Step - Windows VPS Blog","isPartOf":{"@id":"https:\/\/windows-vps.org\/blog\/#website"},"datePublished":"2026-08-06T22:57:02+00:00","author":{"@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58"},"breadcrumb":{"@id":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/windows-vps.org\/blog\/setup-rdp-windows-server-2022\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/windows-vps.org\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set Up RDP on Windows Server 2022: Step-by-Step"}]},{"@type":"WebSite","@id":"https:\/\/windows-vps.org\/blog\/#website","url":"https:\/\/windows-vps.org\/blog\/","name":"Windows VPS Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/windows-vps.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58","name":"windows-vps","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","caption":"windows-vps"},"sameAs":["https:\/\/windows-vps.org\/blog"],"url":"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/"}]}},"_links":{"self":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/comments?post=555"}],"version-history":[{"count":1,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions\/558"}],"wp:attachment":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/media?parent=555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/categories?post=555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/tags?post=555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}