web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Forms load very slowly on a terminal server

(0) ShareShare
ReportReport
Posted on by

We are experiencing forms that load slowly in a terminal server environment. We are using CRM 2013 On-Premise in a Server 2012 R2 environment. In IE11 on a terminal server a specific form takes up to 10 seconds to load. The same form with the same user in IE11 on a local machine on the same network will load the form in 2 seconds or less. Chrome in both environments is a bit faster, but Chrome on the terminal is still far slower than IE on the desktops.

This is true even if there are no other users or loading on the terminal server. The server is not using many of the resources available to it. Not sure where to look next to troubleshoot this. Any ideas? 

*This post is locked for comments

I have the same question (0)
  • Remon Profile Picture
    1,485 on at
    RE: Forms load very slowly on a terminal server

    Hello CRM User 12345,

    Have a look at the performance/energy settings on the terminal server AND also the hardware. If there is a power management setting which slows down CPU or disables certain cores on low usage might be a cause.

    Check it,

  • Community Member Profile Picture
    on at
    RE: Forms load very slowly on a terminal server

    Hi crmuser12345

    I think this issue is related with IE settings:

    1. Delete temporary files and cache, cookies:

    Close Internet explorer and go to Start > Run > Internet Options

     Click on Tools > Internet Options > General Tab > Delete under browsing history section > Select the options and Delete

     On the general tab clicked on Settings > View Files > and deleted all  the temp files  

    2. Check for Trusted Sites:

     Added trusted sites https://*.microsoft.com  , https://*.dynamics.com  and https://*.live.com

    3. The Zoom Setting of the Internet explorer:

    The recommended Zoom setting of the Internet Explorer is 100%.

    4. Update and set the Max Connections Per Server (FEATURE_MAXCONNECTIONSPERSERVER and FEATURE_MAXCONNECTIONSPER1_0SERVER) for Internet Explorer by following the below steps:

     You can directly run the Fix It tool from the KB article support.microsoft.com/.../282402 which will fix the FEATURE_MAXCONNECTIONSPERSERVER and FEATURE_MAXCONNECTIONSPER1_0SERVER

    OR

     Manually make changes to following registry keys:

    NOTE: Take the back up of registry keys before making any changes to them

    i. Go to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPERSERVER"

    • Click on Edit menu > Select New > Click on Dword value (32 bit).

    • Name the value: iexplore.exe > Value data: 10 > Base: Decimal

    ii. Locate the registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet            

    Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPER1_0SERVER"

    • Click on Edit menu > Select New > Click on Dword value (32 bit).

    • Name the value: iexplore.exe > Value data: 10 > Base: Decimal.

    5. For memory leak that occurs when you open a Web page that contains a circular reference in an iframe:

     Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl

    • On the Edit menu, point to New, and then click Key.

    • Type FEATURE_ADDITIONAL_MEMORY_CLEANUP_KB975736, and then press ENTER.

    • Right-click FEATURE_ADDITIONAL_MEMORY_CLEANUP_KB975736, point to New, and then click DWORD Value.

    • Type Iexplore.exe, and then press ENTER.

    • Right-click Iexplore.exe, and then click Modify.

    • In the Value data box, type 1, and then click OK.

           KB Article: support.microsoft.com/.../975736

    6. Increase the Port range:

     Locate the MaxUserPort key in the registry:

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters (select Parameters)

    • Check if the MaxUserPort registry exist or not. If yes set the Decimal value to 20000. If no follow the below steps:

     On the Edit menu, point to New, click DWORD Value and then add the following registry value:

    • Value Name: MaxUserPort

    • Value: 20000

    • Base: Decimal

    7. Change timeout on connection:

     Locate the TcpTimedWaitDelay key in the registry:

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters (select Parameters)

    • Check if the TcpTimedWaitDelay registry exists or not. If yes set the Decimal value to 300. If no follow the below steps:

     On the Edit menu, point to New, click DWORD Value and then add the following registry value:

    • Value Name: TcpTimedWaitDelay

    • Value: 300

    • Base: Decimal

    Thank you for using Microsoft Dynamics CRM Communities,

    Jimena Gaona | Support Engineer | Microsoft Dynamics CRM

  • Community Member Profile Picture
    on at
    RE: Forms load very slowly on a terminal server

    Hi Jimena, these changes had no effect on this challenge.

  • Community Member Profile Picture
    on at
    RE: Forms load very slowly on a terminal server

    Remon, there are no power management settings that would reduce CPU availability or performance.

  • Community Member Profile Picture
    on at
    RE: Forms load very slowly on a terminal server

    The terminal server is a virtual running Server 2012 R2 while the other machines that see much faster form loads are running Windows 8.1

  • Wayne Walton Profile Picture
    13,728 on at
    RE: Forms load very slowly on a terminal server

    I would recommend installing Fiddlr on the terminal server and interacting with CRM when it's on.  Look at the requests that are hanging up the most.  Maybe a screenshot of the time delays might help.

    also, is there different antivirus software running on the terminal server?  I've seen AV software dramatically increase page loads of CRM before.

    finally, is the virtual server your terminal server on properly allocated?  If RAM or CPU us overloaded, it's entirely possible you're seeing the Terminal Server's RAM actually being spun up from the virtual server's hard drive, which would really slow things down.  If you can physicalize the terminal server, I would.  Servers that require user interaction as such aren't ideal use cases for virtualization, as they're already doing some RAM overallocation between user accounts and the like.

  • Community Member Profile Picture
    on at
    RE: Forms load very slowly on a terminal server

    Symantec Endpoint is running on the terminal server.

    Here are some results from Fiddler. I'm not sure if this is what would be helpful. The CRM is performing a Save and New operation:

    This is IE11 on the terminal server (production environment):TerminalServerChrome.png

    Chrome on the terminal server:

    Win8.1_2600_Chrome.png

    Chrome on Windows 8.1:

    I am unable to load CRM in IE on Windows 8.1 while Fiddler is running. It is faster than Chrome on the TS.

  • Wayne Walton Profile Picture
    13,728 on at
    RE: Forms load very slowly on a terminal server

    Ok, so looking at the JS long load times, I'm betting it's because of the hardware acceleration support that IE and Chrome use for rendering pages and processing script.  Since that can use the video card, a virtual terminal server is innately at a disadvantage, since it has no dedicated video card.   You simply can't render the pages in software as fast as hardware.

  • Community Member Profile Picture
    on at
    RE: Forms load very slowly on a terminal server

    As far as the virtualization goes, we had previously been running CRM 2011 on a virtual Server 2008 R2 and saw this same form load in 2 seconds or less vs the 10 seconds it takes now.

  • Wayne Walton Profile Picture
    13,728 on at
    RE: Forms load very slowly on a terminal server

    Well, CRM 2013 and 2011 do have different UIs, so that may be one point of difference.

    I would recommend turning off Symantec Endpoint for testing purposes, and see if things perform better.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans