none
Windows Server 2008 R2 SP1 RDS hang and stop responding new rdp session. Already connected session also hang as well

    Question

  • We have a Windows Server 2008 R2 SP1 RDS supporting many ThinClients, mostly using a mandatory profile on a Windows 2003 R2 AD environment

    at the moment of the hang what we experienced was:

    New RDP sessions got stucked in the legend "Iniciando" (we have the spanish MUI).

    Systems Events shows a lot of Warnings:

    The Group Policy Client Side Extension Group Policy Shortcuts may have caused the Group Policy Service to terminate unexpectedly. To prevent further failures in the Group Policy Service, this extension has been temporarily disabled until after the next system restart. Group Policy settings managed by this extension may no longer be enforced until the system is restarted. The vendor of this extension should be contacted if this issue recurs.

    and after that a lot of this errors:

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CryptSvc service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.

    The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client.

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the Schedule service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the gpsvc service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the BITS service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the SessionEnv service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the ShellHWDetection service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CertPropSvc service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the IKEEXT service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the iphlpsvc service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the SessionEnv service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the iphlpsvc service.

    During the problem we ping DC and Network Share where Profile and Document Redirection resides and they were working OK (we also did a \\server\HomeUsers and we reached it without problem)

    Only reseting the server worked, Any Ideas of what could be causing this ?? Best Regards


    Federico Giampietri Latamsupport IT Infrastructure Services

    Friday, June 15, 2012 11:45 AM

Answers

All replies

  • Hi,

    What applications did you install on 2008 R2 SP1 RDS?How is the workload when this first happened?How many users logged onto this RDS server?Did it happen frequently?

    Regards,
    Clarence
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contacttnmff@microsoft.com.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, June 18, 2012 9:42 AM
    Moderator
  • Hi Clarence, Thanks for the response.

    apps:

      IE

      Firefox

      Adobe Reader/Flash

      Brother network printers

      OpenOffice 3.0

      PDF Createor

      Symantec EndPoint Protection Client

      SUN SUNRAY usb redirection for SUNRAY thin Clients

      SCOM 2007 R2 agent

      oracle client used by an application to access Oracle DB

    The Workload was OK, Attached you will find some graphics of the server during the day of the hang...

    We've been in production for two months and we experienced this problems 3 times.. I'm concerned about what could be causing this..

    Best Regards


    Federico Giampietri Latamsupport IT Infrastructure Services

    Monday, June 18, 2012 9:27 PM
  • 1. Your using Sun Ray, that explains most things :)

    2. More importantly.... There was a patch http://support.microsoft.com/kb/2653956/ that managed to hang our 2003R2 servers (running citrix) Look under known issues on the article, hotfix available. 

    check the article to see if your symptoms match

    Tuesday, June 19, 2012 5:58 AM
  • Hi Lesta, thanks for the response

    We're using Sun RAy think clients, WYSE TC and  also RDP connections from windows clients. I will apply this hotfix on our Win2k8 R2 SP1 RDS server.

    Best Regards


    Federico Giampietri Latamsupport IT Infrastructure Services

    Tuesday, June 19, 2012 2:30 PM
  • Hi,

    I would like to confirm what is the current situation? If there is anything that I can do for you, please do not hesitate to let me know, and I will be happy to help.

    Regards,
    Clarence
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contacttnmff@microsoft.com.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, June 25, 2012 10:12 AM
    Moderator
  • Hi Clarence,

    We applied /kb/2653956/ for Windows Server 2008 R2 SP1 recommended by Lesta,  and now we'are waiting to see if the issue appears again.

    What I see is a lot of Warnings in System Events EVENTID 1128

    "The Group Policy Client Side Extension %3 may have caused the Group Policy Service to terminate unexpectedly. To prevent further failures in the Group Policy Service, this extension has been temporarily disabled until after the next system restart. Group Policy settings managed by this extension may no longer be enforced until the system is restarted. The vendor of this extension should be contacted if this issue reoccurs."

    We're using folder redirection,  but I'm not sure if this client side extensions warnings could be causing the hang??

    Best Regards,

    Fed.-


    Federico Giampietri Latamsupport IT Infrastructure Services

    Monday, June 25, 2012 2:39 PM
  • I don't think that the folder redirection will lead to the hang.Most likely 3rd party application is the root cause.Let's wait to see whether the patch works or not.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, June 26, 2012 9:50 AM
    Moderator
  • Hi,

    I would like to confirm what is the current situation? If there is anything that I can do for you, please do not hesitate to let me know, and I will be happy to help.

    Regards,
    Clarence
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contacttnmff@microsoft.com.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, July 2, 2012 6:56 AM
    Moderator
  • Hi Clarence,

    Today we experienced the problem again,

    Users can’t login to RDS, but now they got stucked at “"Please wait for the Group Policy client”;

    System log events recorded the following errors again:

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the Schedule service.

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the sessionenv service.

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the ShellHWDetection service.

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the Wuauserv service.

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the BITS service.

    timeout (30000 milliseconds) was reached while waiting for a transaction response from the CertPropSvc service.

    What path do you suggest to investigate further?

    Thanks a lot!


    Federico Giampietri Latamsupport IT Infrastructure Services

    Tuesday, July 3, 2012 12:22 AM
  • I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
     
    Thank you for your understanding and support.

     

    Best regards,

    Clarence

    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contacttnmff@microsoft.com.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Wednesday, July 4, 2012 5:07 AM
    Moderator
  • Hi Clarence, 

    I had a similar problem today with a client's server. They are using Server 2008 SP1 32-bit and the software being used is Go-Global 4 Cluster Manager. This company's clients were having problems connecting and the techs involved couldn't connect via RDP until after a server reboot.

    Kind regards,

    Orion

    Wednesday, July 4, 2012 5:49 AM
  • We also had the same issue today on multiple Windows 2008 R2 servers, one of them a RDS server, one a vcenter and the other running some web software.  Only similarities I can draw is that they all have SQL 2008 installed.  Hard reboots resolved the issue as well.
    Wednesday, July 4, 2012 1:47 PM
  • I would create a temp user that does not have any group policy applied, if you have another server I would recommend you would try to use that one for this test. If the issue is resolved by disabling the group policy I would then try figuring out what policy could be doing this.


    Gisli Gudmundsson

    Pro: Windows Server 2008, Server Administrator

    TS: Windows Server 2008 Technology Specialist

    My Blog : http://appvid.blogspot.com

    Twitter : #gamertopro

    LinkedIn : Gisli

    Wednesday, July 4, 2012 11:49 PM
  • i agree with Geekman, since you mentioned that this hang issue occurs when start the new RDP session. Meanwhile, we need to try to logon the physical console to check if any obvious CUP/Memory high usage process there. All the service timeout events occurs means they are all hosted on SVCHOST.EXE, that that time, this process is no response due to the server hang. 

    Also, does a hard reboot is necessary to recover this issue? Or this issue will go away by itself?

    Usually, hang issue just occurs due to the resource leak, high resource usage peak, or the deadlock.  


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.”

    Friday, July 6, 2012 2:43 AM
  • Hi,

    I would like to confirm what is the current situation? Or if you are still working on this issue?


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.”

    Wednesday, July 11, 2012 4:40 AM
  • Hi Kevin, Sorry for the late response. I'm still working on this issue, last week we submitted the incident to MSFT support. Now we are working with a support engineer looking for causes to this issue.

    I'll keep you up to date

    Best Regards


    Federico Giampietri Latamsupport IT Infrastructure Services

    Wednesday, July 11, 2012 12:33 PM
  • Same problem here. We are using Windows 2008 R2 SP1 with XenApp 6.0 HF1 since march 2012. No problems with timeout on services. In june 2012 the timeout on services (A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CryptSvc service and A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service). On the internet there a lot of discussions about this issue and patch http://support.microsoft.com/kb/2465772 should solve the problem. This patch was installed on our Citrix servers on 19-11-2011. On 23 may 2012 patch KB2688338 (MS12-032) was installed. In this patch there's a new tcpip.sys file (version 6.1.7601.21954). Patch KB2465772 contains also the tcpip.sys file with version 6.1.7601.21642. So, I thin k that the problem is in tcpip.sys. Once it was fixed and now its broken again ?
    Friday, July 27, 2012 2:13 PM
  • Hi hhegeman

    I currently mantain a support incident with MSFT about this issue, please apply these two hot fixes:

    http://support.microsoft.com/kb/2622802

    http://support.microsoft.com/kb/2653810

    We haven't experienced the problem for 24 days..

    Hope it works,

    Best Regards,


    Federico Giampietri Latamsupport IT Infrastructure Services

    Friday, July 27, 2012 3:44 PM
  • Hi Frederico,

    Did you have any luck with these patches? I'm struggling with that problem since ~1year and so far all patches and fixes did not work in the long term. (W2K8 R2 SP1, XA 6.5 with patches 001/025)

    Thanks

    Uli

    Sunday, October 14, 2012 10:57 PM
  • We have the same problem with the patches also installed.
    Tuesday, November 6, 2012 10:33 PM
  • Hi uli, sorry for the late response.

    I have a support case still open with MSFT regarding this issue, it looks like a 3er party driver or app is causing the hang. Msft support scalation enginner didn't found the cause yet. The server is prepared to take a dump when the problem happens again.


    Federico Giampietri Latamsupport IT Infrastructure Services

    Tuesday, November 6, 2012 10:37 PM
  • We are having a very similar issue across 18 terminal servers in a broker environment using 2008 Server R2. Mostly Wyse clients connecting and folder redirection combined with roaming profiles (not much roaming). 

    It started with a timeout on: ShellHWDetection

    And then all the rest of these followed within 30 seconds with a "terminated unexpectedly" error:

    Application Experience

    Application Information

    Application Management

    BITS

    Certificate Propagation

    Group Policy Client

    IKE and AuthIP IPsec Keying Modules

    IP Helper

    Server

    Mulitple Class Scheduler

    User Profile

    Task Scheduler

    System Event Notification Service

    Remote Desktop Configuration

    Shell Hardware Detection

    Themes

    Windows Management Instrumentation

    Windows Update

    Wednesday, November 14, 2012 1:39 AM
  • Any luck on this?

    We are struggling sporadically on this similar issue. Here is our failure of services

    It started with a timeout on: ShellHWDetection

    And then all the rest of these followed within 30 seconds with a "terminated unexpectedly" error:

    Application Experience

    Application Information

    Application Management

    BITS

    Certificate Propagation

    Group Policy Client

    IKE and AuthIP IPsec Keying Modules

    IP Helper

    Server

    Mulitple Class Scheduler

    User Profile

    Task Scheduler

    System Event Notification Service

    Remote Desktop Configuration

    Shell Hardware Detection

    Themes

    Windows Management Instrumentation

    Windows Update

    Wednesday, November 14, 2012 1:39 AM
  • Hi STBLAW,

    I have a support case still open with MSFT regarding this issue, it looks like a 3er party driver or app is causing the hang. Msft support scalation enginner didn't found the cause yet. The server is prepared to take a dump when the problem happens again.


    Federico Giampietri Latamsupport IT Infrastructure Services

    Wednesday, November 14, 2012 12:38 PM
  • Hi we are having a similar problem.

    We are running citrix 6.5 on Windows 2008 R2 and sometimes we can't logon anymore... We are getting an error that the logon keeps trying...

    in the eventviewer there are 2 services the are having a time out.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CryptSvc service.

    and always those two, the only solution we have at the moment is a reboot...If anybody found a solution I'm keen on having it also ;-)
    Monday, November 26, 2012 9:06 AM
  • We have the same issue and it is always just those two services.  What we have found instead of restarting the server that has worked for us is to restart the Citrix IMA service.  We also have to restart Citrix Smart Card service since we use smart cards but this trick has worked for us.

    We can even duplicate this on a VM server with just basic setup not 3rd party drivers or software.  Very frustrating and has caused us to not fully migrate to 6.5

    Tuesday, November 27, 2012 7:40 PM
  • I have the same issue with Citrix XenApp 6.5

    In the system event log I a load of messages such as the below;

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.

    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the CryptSvc service.

    I have raised this on the Citrix Forum, 

    http://forums.citrix.com/message.jspa?messageID=1690982#1690982

    Thursday, November 29, 2012 4:16 PM
  • Any solutions ?

    Kind regards / Met vriendelijke groet, IS Group Rob Mulder Kantoorautomatiseerder Wielingenstraat 8 T 0299 476 185 1441 ZR Purmerend F 0299 476 288 www.is.nl / www.isenterprise.com KvK Hoorn 36049256

    Wednesday, March 20, 2013 3:13 PM
  • We had applied pretty much every hotfix that seems applicable to 2008 r2 and it didn't resolve anything. We applied all the hotfixes out of Citrix and the problem was still encountered.

    While it didn't appear to be a memory starvation issue entirely (Memory didn't pass 80-85%), we upped each box by 4 GB ram and the problems have disappeared for us. 

    Wednesday, March 20, 2013 9:45 PM
  • Our problem was solved with a Limited Release Patch from Citrix

    http://support.citrix.com/article/CTX136295

    We have not had a single problem (for us) in the past three weeks.

    Wednesday, March 20, 2013 11:52 PM
  • Hi, in our case it seemed to be a printer driver HL-4150 which made the server hang. Maybe it also was a combination but after removing the drive the servers seem stable now.

    Instead of rebooting the server it was possibile to remote connect to the services.msc and stop the spooler service which also stopped the citrix printing saervice. Then starting the rdp service again solved the problem but only for a short time.

    Regards

    Thursday, November 28, 2013 9:46 AM
  • Hello, any solution on this topic? We now still have the problems occuring. This time on one server.

    Wednesday, December 4, 2013 1:47 PM
  • Hi , Sorry for the late response!

    We fixed the issue escalating it to Microsoft support.  They took some full dumps during hangs and informed us that we need to apply 3 hot fixes. 

    In our case these 3 hot fixes were the solution:

    User cannot connect to remote desktop server on a Windows 7-based or Windows Server 2008 R2-based client computer.

    http://support.microsoft.com/kb/2768492 - lsasrv dll

    You experience a long logon time when you try to log on to a Windows 7-based or a Windows Server 2008 R2-based client computer that uses roaming profiles.

    http://support.microsoft.com/kb/2728738 - mrxsmb, mrxsmb10 and mrxsmb20 drivers

    "Delayed write failed" error message when .pst files are stored on a network file server that is running Windows Server 2008 R2.

    http://support.microsoft.com/kb/2732673 - rdbss driver


    Best Regards, 

    Federico


    Federico Giampietri Latamsupport IT Infrastructure Services

    Wednesday, December 4, 2013 1:56 PM
  • Thank you for the solution stated above
    Thursday, April 23, 2015 3:33 PM
  • You're Welcome!

    Federico Giampietri Latamsupport IT Infrastructure Services

    Friday, April 24, 2015 11:32 AM