Hello Community!
I was recently working with a couple customers who started seeing performance issues after upgrading Dynamics GP. After troubleshooting the issue we determined that it was actually the fact that their GP upgrade also included updating their Terminal Server machine to Windows Server 2012 or later was actually the source of their issue. Logging into Dynamics GP on a client OS or Windows Server 2008 still show the performance they were expecting.
After working with the Windows team we found that the Remote Desktop Services feature was rewritten in Windows Server 2012, specifically around how the available resources on the server are pooled to allow multiple users to log into the machine at once. As part of this pooling a functionality called TSFairShare was introduced to manage how resources are divided up. This setting allows you to tune the pooling behavior and has resolved performance issues for a couple of our Dynamics GP customers. It's just that setting, which can be configured using the following steps, that you can attempt to address performance issues you are seeing over remote connections.
First, in the registry (Start > Run > regedit) you will want to go to HKLM\System\CurrentControlSet\Services\TSFairShare and set EnableFairShare to 0 for both Disk and NetFS options. As with all registry changes you will want to be sure that you made a backup of the affected keys before you do this.
Second, open the Group Policy Editor on the RDS server (Start > Run > gpedit.msc) and navigate to Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Connections. There we enabled the 'Turn off Fair Share CPU Scheduling' setting to disable this feature.
After making those changes reboot the server to force them into effect. For one customer we saw a posting process go from ~75 minutes before making this change to around ~25 minutes after.
This information has also been included in the Optimizing and Maintaining Performance for Microsoft Dynamics GP white paper, which can be downloaded from here.
Let us know if you have any questions on this.
Lucas
*This post is locked for comments