<p>Because of the Covid-19 crisis, many users are now working from home using Citrix environments. Some of the users have the need to use more client devices to access the same Citrix environment which might cause unwanted behavior with Citrix multiple sessions.</p>
<p>In other words, if a user connects to a Citrix Shared Desktop from Client machine 1 and then starts another application on a Client machine 2, the session that was created on a Client Machine 1 will be automatically transferred to Client machine 2.</p>
<p>If users have the need to launch multiple sessions with the same user account on Citrix 7.x we&#8217;ll have to do the following:</p>
<p>Connect to <strong>Desktop Delivery Controller (DDC)</strong> on Citrix and run the <strong>Powershell</strong> using <strong>elevated privileges (Run as administrator).</strong></p>
<p>Type: <strong>get-brokerdesktopgroup</strong></p>
<p>This command will display all Shared Desktop delivery groups that have been created on that Citrix environment.</p>
<p>Find the Shared Desktop delivery group you need and check the <strong>Name</strong> and <strong>SessionReconnection</strong> fields.</p>
<p>You can see that the <strong>SessionReconnection</strong> field states <strong>Always</strong> as a default value for all <strong>Shared Desktop Delivery Groups</strong>.</p>
<p><img class="alignnone wp-image-4135 size-full" title="launch multiple sessions with the same user account on Citrix 7.x" src="https://www.wincert.net/wp-content/uploads/2021/03/citrix-session.png" alt="launch multiple sessions with the same user account on Citrix 7.x" width="550" height="253" /></p>
<p>To change this behavior in the Powershell window type the following:</p>
<p><strong>set-brokerentitlementpolicyrule &#8220;%SD name%&#8221; -sessionreconnection sameendpoint</strong></p>
<p>where %SD name% is the name of the Shared Desktop.</p>
<p><img class="alignnone wp-image-4134 size-full" title="launch multiple sessions with the same user account on Citrix 7.x" src="https://www.wincert.net/wp-content/uploads/2021/03/citrix-session2.png" alt="launch multiple sessions with the same user account on Citrix 7.x" width="580" height="46" /></p>
<p>After that type the following command to check if the changes were successful:</p>
<p><strong>Get-brokerentitlementpolicyrule</strong></p>
<p>As you can see we have successfully changed the <strong>SessionReconnection value</strong> to <strong>sameendpoint</strong>.</p>
<p><img class="alignnone size-full wp-image-4136" src="https://www.wincert.net/wp-content/uploads/2021/03/citrix-session-1.png" alt="" width="507" height="129" /></p>
<p>In order for this change to be applied, a user has to log off from all Citrix sessions.</p>

How to launch multiple sessions with the same user account on Citrix 7.x
