RDP/HDX issue – Server becomes unresponsive

Server 2016

RDP/HDX issue – Server becomes unresponsive

On my latest customer, sometimes we run in an hanging Citrix XenApp Server 2016 (Citrix 7.15 LTSR CU1) issue, with the following side effects:

  • can’t open TaskManager
  • can’t open CMD
  • can’t restart any service
  • can’t logon with RDP

 

  • powershell can be start
  • if you open up powershell with get-process | out-gridview you can see system processes of the user sessions only

RDP logon stucks:

 

Taskmanager isn’t responding:

On the Server eventlog we found the following warning:

Windows Management Instrumentation has stopped WMIPRVSE.EXE because a quota reached a warning value. Quota: HandleCount Value: 264 Maximum value: 256 WMIPRVSE PID: 36888 Providers hosted in this process: %systemroot%\system32\wbem\mgmtprovider.dll, %SystemRoot%\system32\tscfgwmi.dll, %systemroot%\system32\wbem\cimwin32.dll

 

Solution:

With this above information’s, we open up a Microsoft call and find the right solution

https://blogs.technet.microsoft.com/askperf/2014/08/12/wmi-how-to-troubleshoot-wmi-high-handle-count/

 

Powershell Script during the automation of the Server helps to fix the issue:

$config = gwmi -Class “__ProviderHostQuotaConfiguration” -Namespace root
$config | select -Property * -ExcludeProperty __* | ft -AutoSize
$config.HandlesPerHost = 8192
$config.ThreadsPerHost = 512
$config.Put()

 

Matthias Schlimm

EUCweb.com | EUCblog.com | Founder Base Image Script Framework (BIS-F) | IT-Architect EUC | Automation Enthusiast

2 Comments
Leave A Comment
*
*

8 + 2 =

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close