<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Rds on Di</title>
        <link>https://dixu.ddns.net/tags/rds/</link>
        <description>Recent content in Rds on Di</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Thu, 24 Sep 2026 12:00:00 -0400</lastBuildDate><atom:link href="https://dixu.ddns.net/tags/rds/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Multiple Remote Desktop Sessions with Windows Server RDS</title>
            <link>https://dixu.ddns.net/p/multiple-remote-desktop-sessions-with-windows-server-rds/</link>
            <pubDate>Sun, 23 Jun 2024 07:26:21 -0400</pubDate>
            <guid>https://dixu.ddns.net/p/multiple-remote-desktop-sessions-with-windows-server-rds/</guid>
            <description>&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/remote-desktop-services-overview&#34;  title=&#34;Microsoft Learn&#34;&#xA;     target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Remote Desktop Services Overview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-build-and-deploy&#34;  title=&#34;Microsoft Learn&#34;&#xA;     target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Build and Deploy RDS&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;choose-the-supported-platform&#34;&gt;Choose the Supported Platform&#xA;&lt;/h2&gt;&lt;p&gt;Windows 10 and Windows 11 Professional, Enterprise, and Education can accept incoming Remote Desktop connections, but a normal Windows client installation is not a supported multiuser session host. Adding several users to &lt;strong&gt;Remote Desktop Users&lt;/strong&gt; permits those accounts to connect; it does not create concurrent, isolated desktop sessions.&lt;/p&gt;&#xA;&lt;p&gt;Use &lt;strong&gt;Windows Server Remote Desktop Services&lt;/strong&gt;, specifically the &lt;strong&gt;RD Session Host&lt;/strong&gt; role, when multiple users need simultaneous sessions on one server. Each user or device also needs the applicable Windows Server access license and RDS CAL. See Microsoft&amp;rsquo;s &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-client-access-license&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;RDS CAL guidance&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Windows Server permits up to two remote sessions for server administration without RDS CALs. Those sessions are only for administering the server, not for delivering applications or desktops to regular users. Connect to an administrative session with:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mstsc.exe /admin&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This guide does not use RDP Wrapper or patch &lt;code&gt;termsrv.dll&lt;/code&gt;. Those methods modify or intercept protected Windows components, can stop working after updates, and do not provide valid multiuser licensing.&lt;/p&gt;&#xA;&lt;h2 id=&#34;plan-the-rds-deployment&#34;&gt;Plan the RDS Deployment&#xA;&lt;/h2&gt;&lt;p&gt;A basic session-based deployment contains these roles:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;RD Session Host:&lt;/strong&gt; Runs the users&amp;rsquo; desktops and applications.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;RD Connection Broker:&lt;/strong&gt; Assigns users to sessions and reconnects them to existing sessions.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;RD Web Access:&lt;/strong&gt; Publishes desktops and RemoteApps through a web portal and client feed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;RD Licensing:&lt;/strong&gt; Issues and tracks RDS CALs.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;RD Gateway:&lt;/strong&gt; Provides external RDP access over HTTPS without exposing TCP 3389 directly.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For a domain deployment, prepare domain-joined Windows Server hosts with static addressing, working DNS, current updates, and valid TLS certificate names. A lab can combine roles on fewer servers, but separate roles are easier to secure and scale.&lt;/p&gt;&#xA;&lt;h2 id=&#34;deploy-a-session-based-desktop&#34;&gt;Deploy a Session-Based Desktop&#xA;&lt;/h2&gt;&lt;p&gt;Sign in to the server that will manage the deployment with an appropriate domain administrator account.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;strong&gt;Server Manager&lt;/strong&gt; and select &lt;strong&gt;Manage &amp;gt; Add Servers&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Add every server that will participate in the RDS deployment.&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;strong&gt;Manage &amp;gt; Add Roles and Features&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Choose &lt;strong&gt;Remote Desktop Services installation&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Choose &lt;strong&gt;Standard deployment&lt;/strong&gt;, then &lt;strong&gt;Session-based desktop deployment&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select the servers for &lt;strong&gt;RD Connection Broker&lt;/strong&gt;, &lt;strong&gt;RD Web Access&lt;/strong&gt;, and &lt;strong&gt;RD Session Host&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Allow the destination servers to restart if required, then select &lt;strong&gt;Deploy&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Wait until every role reports a successful installation.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;These steps follow Microsoft&amp;rsquo;s &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-deploy-infrastructure&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;RDS infrastructure deployment&lt;/a&gt;. Use &lt;strong&gt;Quick Start&lt;/strong&gt; only for a small test environment where all core roles intentionally run on one server.&lt;/p&gt;&#xA;&lt;h2 id=&#34;add-and-license-the-rd-licensing-server&#34;&gt;Add and License the RD Licensing Server&#xA;&lt;/h2&gt;&lt;p&gt;In Server Manager:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;strong&gt;Remote Desktop Services &amp;gt; Overview&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;strong&gt;RD Licensing&lt;/strong&gt;, choose the license server, and add the role.&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;strong&gt;Remote Desktop Licensing Manager&lt;/strong&gt; from the license server.&lt;/li&gt;&#xA;&lt;li&gt;Right-click the server and select &lt;strong&gt;Activate Server&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Complete the activation wizard using the appropriate connection method.&lt;/li&gt;&#xA;&lt;li&gt;Right-click the activated server and select &lt;strong&gt;Install Licenses&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select the license program and install the purchased RDS CALs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;See &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-activate-license-server&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Activate the RD Licensing server&lt;/a&gt; and &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-install-cals&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Install RDS CALs&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Configure the deployment to use the license server:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;strong&gt;Server Manager &amp;gt; Remote Desktop Services &amp;gt; Overview&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;strong&gt;Tasks &amp;gt; Edit Deployment Properties&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;strong&gt;RD Licensing&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;strong&gt;Per User&lt;/strong&gt; or &lt;strong&gt;Per Device&lt;/strong&gt; according to the licenses purchased.&lt;/li&gt;&#xA;&lt;li&gt;Add the activated license server and apply the settings.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Domain-joined deployments can use Per User or Per Device licensing. Microsoft requires Per Device licensing for workgroup RD Session Hosts. See &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-license-session-hosts&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;License RD Session Hosts&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;create-a-session-collection&#34;&gt;Create a Session Collection&#xA;&lt;/h2&gt;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;strong&gt;Server Manager &amp;gt; Remote Desktop Services &amp;gt; Collections&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;strong&gt;Tasks &amp;gt; Create Session Collection&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Enter a descriptive collection name.&lt;/li&gt;&#xA;&lt;li&gt;Select one or more RD Session Host servers.&lt;/li&gt;&#xA;&lt;li&gt;Specify the user groups allowed to connect. Avoid granting access to a broad group unless it is intentional.&lt;/li&gt;&#xA;&lt;li&gt;Configure user profile disks or your selected profile-management solution when required.&lt;/li&gt;&#xA;&lt;li&gt;Create the collection.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;A collection makes a full session desktop available to its assigned users. To provide individual applications, select the collection and use &lt;strong&gt;RemoteApp Programs &amp;gt; Publish RemoteApp programs&lt;/strong&gt;. See &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-create-collection&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Create an RDS collection&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;configure-concurrent-session-policies&#34;&gt;Configure Concurrent Session Policies&#xA;&lt;/h2&gt;&lt;p&gt;Apply these settings to the RD Session Host servers through a domain Group Policy Object. For an isolated server, use &lt;code&gt;gpedit.msc&lt;/code&gt; locally.&lt;/p&gt;&#xA;&lt;p&gt;Open:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Remote Desktop Services &amp;gt; Remote Desktop Session Host &amp;gt; Connections&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Configure:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Allow users to connect remotely by using Remote Desktop Services:&lt;/strong&gt; &lt;code&gt;Enabled&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Limit number of connections:&lt;/strong&gt; &lt;code&gt;Enabled&lt;/code&gt;, with a value appropriate for the server&amp;rsquo;s capacity and licensed deployment.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Restrict Remote Desktop Services users to a single Remote Desktop Services session:&lt;/strong&gt; &lt;code&gt;Enabled&lt;/code&gt; when each user should reconnect to one session, or &lt;code&gt;Disabled&lt;/code&gt; only when the same user intentionally needs multiple separate sessions.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The connection limit is a technical ceiling. It does not replace RDS CALs or guarantee that the server has enough CPU, memory, storage I/O, and application licenses for that number of users.&lt;/p&gt;&#xA;&lt;p&gt;Require Network Level Authentication under:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Remote Desktop Services &amp;gt; Remote Desktop Session Host &amp;gt; Security&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Set &lt;strong&gt;Require user authentication for remote connections by using Network Level Authentication&lt;/strong&gt; to &lt;code&gt;Enabled&lt;/code&gt;. Microsoft recommends NLA because authentication occurs before a complete remote session is created. See the &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-remotedesktopservices&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Remote Desktop Services policy reference&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Apply updated policy and display the resulting computer policy:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;gpupdate.exe /force&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;gpresult.exe /scope computer /r&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A policy change can disconnect users or change reconnection behavior. Schedule disruptive changes during a maintenance window.&lt;/p&gt;&#xA;&lt;h2 id=&#34;grant-user-access&#34;&gt;Grant User Access&#xA;&lt;/h2&gt;&lt;p&gt;Assign access through the session collection&amp;rsquo;s &lt;strong&gt;User Groups&lt;/strong&gt; setting. The assigned users also need the right to sign in through Remote Desktop Services, normally granted through the local &lt;strong&gt;Remote Desktop Users&lt;/strong&gt; group or domain policy.&lt;/p&gt;&#xA;&lt;p&gt;Inspect the local group:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-LocalGroupMember&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Group&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Remote Desktop Users&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;On a standalone RD Session Host, add a domain group when appropriate:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Add-LocalGroupMember&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Group&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Remote Desktop Users&amp;#39;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Member&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;CONTOSO\RDS Users&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Replace the example domain and group. In a centrally managed environment, use Group Policy to maintain membership consistently.&lt;/p&gt;&#xA;&lt;h2 id=&#34;secure-remote-access&#34;&gt;Secure Remote Access&#xA;&lt;/h2&gt;&lt;p&gt;Keep TCP 3389 restricted to trusted internal networks. For access from the internet, use an RD Gateway with a trusted TLS certificate, a VPN, or another approved secure access path. Do not expose an RD Session Host directly through unrestricted router port forwarding.&lt;/p&gt;&#xA;&lt;p&gt;Use strong account passwords, account lockout controls, supported multifactor authentication at the gateway or identity layer, and timely Windows updates. Limit clipboard, drive, printer, and device redirection according to the data handled by the environment.&lt;/p&gt;&#xA;&lt;p&gt;Check the Remote Desktop firewall rules:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-NetFirewallRule&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-DisplayGroup&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;Remote Desktop&amp;#39;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Select-Object&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;DisplayName&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Enabled&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Direction&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Action&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;verify-active-sessions&#34;&gt;Verify Active Sessions&#xA;&lt;/h2&gt;&lt;p&gt;Display sessions on the local RD Session Host:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;qwinsta.exe&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Query another session host:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;qwinsta.exe /server:RDSH01&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Display user-oriented session information:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;quser.exe&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The output shows the username, session ID, state, idle time, and sign-in time. See the &lt;a class=&#34;link&#34; href=&#34;https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/qwinsta&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;&lt;code&gt;qwinsta&lt;/code&gt; command reference&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Check the installed RDS roles from an elevated PowerShell session:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-WindowsFeature&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;RDS-RD&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;-Server&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;RDS-Connection&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;-Broker&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;RDS-Web&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;-Access&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;RDS-Licensing&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;RDS-Gateway&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;On the RD Connection Broker, inspect the deployment and collections:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-RDServer&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-RDSessionCollection&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-RDLicenseConfiguration&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;RDMgmt&lt;/code&gt; cmdlets require the RDS management tools and a configured deployment.&lt;/p&gt;&#xA;&lt;h2 id=&#34;troubleshooting&#34;&gt;Troubleshooting&#xA;&lt;/h2&gt;&lt;p&gt;Open Event Viewer and check:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Applications and Services Logs &amp;gt; Microsoft &amp;gt; Windows &amp;gt; TerminalServices-LocalSessionManager&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Applications and Services Logs &amp;gt; Microsoft &amp;gt; Windows &amp;gt; TerminalServices-RemoteConnectionManager&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Applications and Services Logs &amp;gt; Microsoft &amp;gt; Windows &amp;gt; TerminalServices-Licensing&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Run the RD Licensing Diagnoser from Server Manager when users receive licensing errors.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;A second user disconnects the first user:&lt;/strong&gt; Confirm that the host is Windows Server with the RD Session Host role and a session collection. Windows client editions are not multiuser RDS hosts.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The same user reconnects to an existing session:&lt;/strong&gt; Check &lt;strong&gt;Restrict Remote Desktop Services users to a single Remote Desktop Services session&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Users cannot connect after the grace period:&lt;/strong&gt; Confirm that the license server is activated, the correct mode is selected, and sufficient compatible RDS CALs are installed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;A user is denied sign-in:&lt;/strong&gt; Check collection membership, the Remote Desktop Users group, sign-in rights, NLA, and account status.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Connections work internally but not externally:&lt;/strong&gt; Check the RD Gateway, DNS, certificates, firewall rules, and client gateway settings.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sessions are slow:&lt;/strong&gt; Review CPU, memory, disk latency, profile size, redirected devices, and application behavior on every RD Session Host.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
        </item></channel>
</rss>
