We kindly request any customer on Windows 2016 to upgrade to Windows 2019 by 31st January 2025.

How to get more than 140 connections into Reality on Windows – Updated

Depending on the release of Windows you may need to use the Registry Editor to update its Session Manager settings.

WARNING: 
This procedure involves the use of Windows Registry Editor which, if you use incorrectly, may cause serious problems that may require you to reinstall your operating system. NPS cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. It is therefore suggested that a backup of the registry is taken before attempting modification. Use Registry Editor at your own risk.

NPS recommends reviewing Microsoft’s Client Access Licensing Overview, refer to
“A Guide to Assessing Windows Server Licensing”. Their prevailing licensing policy should be used to determine what is required for end user deployment for user processes connecting into Reality on a Windows System.


In order to effectively maintain more than 140 connections into Reality it is advisable to modify the following Windows Registry Key.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

The default data for this registry value will look something like the following (all on one line):
   %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows
   SharedSection=1024,3072,512 Windows=On SubSystemType=Windows
   ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3
   ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off
   MaxRequestThreads=16
    
The numeric values following "SharedSection=" control how desktop heap is allocated. These SharedSection values are specified in kilobytes. There are separate settings for desktops associated with interactive and noninteractive window stations.

NOTE:
If the SharedSection values in the registry are modified, the system must be restarted before the changes take effect
The value '512' which controls the size of the desktop heap for each Reality connection (telnet) should be modified using the following formulae.

3.5 * No. of Connections + 10%

e.g. for a system with 250 connections the value as calculated below would be '962'
3.5 * 250 + 10% = 962

Back to articles