Friday, October 3, 2008

Concurrent remote desktop on XP

Step-by-Step Guide
  1. First of all, you must delete, or rename, an existing dynamic link library (termsrv.dll) that is a daemon program serving the remote desktop request. The library may exists in several directories such as
    • $windir\system32\dllcache\
    • $windir\system32\
    where $windir must be substituted with Windows system directory.
  2. Copy a new termsrv.dll to $windir\system32
  3. Change registry either using regedit program or by double-clicking ts_concurrent_session_path.reg
    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core]
    "EnableConcurrentSessions"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "EnableConcurrentSessions"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "AllowMultipleTSSessions"=dword:00000001

  4. Open the Group Policy Editor by running Start Menu > Run > 'gpedit.msc'. Navigate to Computer Configuration > Administrative Templates > Windows Components > Terminal Services. Enable 'Limit Number of Connections' and set the number of connections to 3 (or more).
  5. Restart the computer.