Tuning Remote Desktop / Terminal Services – XenApp

Un article avec quelques éléments pour l’optimisation des connexions RDP repris à droite et à gauche: Windows 2008 R2 – RDP Tuning

Registry Hive Value Type Data Purpose(s)
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop AutoEndTasks REG_SZ 1 Determines whether user processes end automatically when the user either logs off.
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop WaitToKillAppTimeout REG_SZ 20000 Determines how long the system waits for user processes to end after the user attempts to log off
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop MenuShowDelay REG_SZ 10 Changes the Start menu display interval
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop CursorBlinkRate REG_SZ -1 Specifies how much time elapses between each blink of the selection cursor
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop DisableCursorBlink REG_DWORD 1 Enables / Disables Cursor Blink
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop DragFullWindows REG_SZ 0 Specifies what appears on the screen while a user drags a window / Only the outline of the window moves
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop SmoothScroll REG_DWORD 0 Scrolls using smooth scrolling
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop Wallpaper REG_SZ (none) Sets Wallpaper to « None »
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop\WindowsMetrics MinAnimate REG_SZ 0 Disabled. Window does not animate while being resized
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop InteractiveDelay REG_DWORD 40 Optimizes Explorer and Start Menu responses Times

XenApp 6.0 – ICA tuning

Registry Hive Value Type Data Purpose(s)
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop AutoEndTasks REG_SZ 1 Determines whether user processes end automatically when the user either logs off.
         
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop WaitToKillAppTimeout REG_SZ 20000 Determines how long the system waits for user processes to end after the user attempts to log off
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop MenuShowDelay REG_SZ 10 Changes the Start menu display interval
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop CursorBlinkRate REG_SZ -1 Specifies how much time elapses between each blink of the selection cursor
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop DisableCursorBlink REG_DWORD 1 Enables / Disables Cursor Blink
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop DragFullWindows REG_SZ 0 Specifies what appears on the screen while a user drags a window / Only the outline of the window moves
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop SmoothScroll REG_DWORD 0 Scrolls using smooth scrolling
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop Wallpaper REG_SZ (none) Sets Wallpaper to « None »
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop\WindowsMetrics MinAnimate REG_SZ 0 Disabled. Window does not animate while being resized
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\ICA-Tcp\UserOverride\Control Panel\Desktop InteractiveDelay REG_DWORD 40 Optimizes Explorer and Start Menu responses Times
Registry Hive Value Type Data Purpose(s)
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters KeepAliveTime REG_DWORD 180000 Determines how often TCP sends keep-alive transmissions
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters KeepAliveInterval REG_DWORD 100 Determines how often TCP repeats keep-alive transmissions when no response is received
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters TcpMaxDataRetransmissions REG_DWORD 10 Determines how many times TCP retransmits an unacknowledged data segment on an existing connection
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters MaxWorkItems REG_DWORD 512 Server Service Optimization
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters MaxMpxCt REG_DWORD 2048 Server Service Optimization
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters MaxFreeConnections REG_DWORD 100 Server Service Optimization
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters MinFreeConnections REG_DWORD 32 Server Service Optimization
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters UtilizeNTCaching REG_DWORD 0 Disable Caching
HKLM\SYSTEM\CurrentControlSet\Services\MRXSmb\Parameters OplocksDisabled REG_DWORD 1 Disables Opportunistic Locking HLM\SYSTEM\CurrentControlSet\Services\Lanmanworkstation\Parameters UseOpportunisticLocking REG_DWORD 0 Disables Opportunistic Locking
HKLM\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters EnableOplocks REG_DWORD 0 Disables Opportunistic Locking
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters EnableRSS REG_DWORD 0 Disable Receive Side Scaling
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters EnableTCPA REG_DWORD 0 Disable TCP-acceleration
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters EnableTCPChimney REG_DWORD 0 Disable TCP Chimney Offload
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters DisableBandwidthThrottling REG_DWORD 1 The default is 0. By default, the SMB redirector throttles throughput across high-latency network connections in some cases to avoid network-related timeouts. Setting this registry value to 1 disables this throttling, enabling higher file transfer throughput over high-latency network connections
HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters MaxThreads REG_DWORD 17 Maximum Concurrent Threads
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters DisableLargeMtu REG_DWORD 0 The default is 1. By default, the SMB redirector does not transfer payloads larger than approximately 64 KB per request. Setting this registry value to 0 enables larger request sizes, which can improve file transfer speed.
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\parameters EnableWsd REG_DWORD 0 The default is 1 for client operating systems. By default, Windows Scaling Diagnostics (WSD) automatically disables TCP receive window auto tuning when heuristics suspect a network switch component might not support the required TCP option (scaling). Setting this registry setting to 0 disables this heuristic and allows auto tuning to stay enabled. When no faulty networking devices are involved, applying the setting can enable more reliable high-throughput networking via TCP receive window auto tuning. For more information about disabling this setting
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters FileInfoCacheEntriesMax REG_DWORD 32768 The default is 64 with a valid range of 1 to 65536. This value is used to determine the amount of file metadata that can be cached by the client. Increasing the value can reduce network traffic and increase performance when a large number of files are accessed
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters DirectoryCacheEntriesMax REG_DWORD 4096 The default is 16 with a valid range of 1 to 4096. This value is used to determine the amount of directory information that can be cached by the client. Increasing the value can reduce network traffic and increase performance when large directories are accessed
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters FileNotFoundCacheEntriesMax REG_DWORD 32768 The default is 128 with a valid range of 1 to 65536. This value is used to determine the amount of file name information that can be cached by the client. Increasing the value can reduce network traffic and increase performance when a large number of file names are accessed.
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters MaxCmds REG_DWORD 32768 The default is 15. This parameter limits the number of outstanding requests on a session. Increasing the value can use more memory, but can improve performance by enabling deeper request pipelining. Increasing the value in conjunction with MaxMpxCt can also eliminate errors encountered due to large numbers of outstanding long-term file requests, such as FindFirstChangeNotification calls. This parameter does not affect connections with SMB 2 servers.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *