Enable Multiple Concurrent Remote Desktop Connections or Sessions in Windows XP

Windows XP Professional and Windows XP Media Center Edition (MCE) has Remote Desktop (RDP) service that allows the computer to be remotely connected, accessed and controlled from another computer or host. However, Windows XP machine only allows one concurrent remote desktop connection from a single user been connected to it with no multiple remote desktop sessions or connections support.

Whenever there is a remote user who user Remote Desktop Connection (RDC) client to connect to a Windows XP host, the local user is disconnected with the local console screen locked, with or without his or her permission. Remote Desktop, unlike Terminal Server Services in Windows 2000, Server 2003 and Server 2008, is designed for single user use only, no matter it’s local or remote user.

Here’s a hack to unlock the single user limitation and enable multiple concurrent remote desktop connection sessions support in Windows XP Professional and Media Center Edition, using a either a patched termserv.dll or old patched cracked termserv.dll build version version 5.1.2600.2055, so that unlimited users can simultaneously connect to a computer via Remote Desktop.

  1. Download a copy of patched termsrv.dll (in ZIP file) which has the Remote Desktop connection limitation deactivated for your version of Windows XP:

    Windows XP RTM, SP1 and SP2: termsrv.dll (version 5.1.2600.2055)
    Windows XP SP2: termsrv.dll (version 5.1.2600.2180)
    Windows XP SP3: termsrv.dll (version 5.1.2600.5512)

    For information, the termsrv.dll patch normally has the following HEX code bits overwritten with following value:

    00022A17: 74 75
    00022A69: 7F 90
    00022A6A: 16 90

  2. Restart the computer and boot info Safe Mode by pressing F8 during initial boot up and select Safe Mode. This step is only required if you’re currently running Windows Terminal Services or Remote Desktop service, and System File Protection has to be skipped and bypassed, else it will prompt the following error message to restore the original termsrv.dll.

    Windows File Protection

  3. Go to %windir%\System32 and make a backup copy (or rename) the termsrv.dll.
  4. Rename or delete the termserv.dll in the %windir%\System32\dllcache folder.
  5. Copy the downloaded termsrv.dll into %windir%\System32, %windir%\ServicePackFiles\i386 (if exist) and %windir%\System32\dllcache.
  6. Then download and run the ts_multiple_sessions.bat (in ZIP file) to merge the registry value into registery, or you can run Registry Editor to manually add the following registry value:

    [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

  7. Click on Start Menu -> Run command and type gpedit.msc, follow by Enter to open up the Group Policy Editor.
  8. Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services.
  9. Enable Limit Number of Connections and set the number of connections to 3 (or more). The setting allows more than one users to use the computer and logged on at the same time.
  10. Ensure the Remote Desktop is enabled in System Properties’ Remote tab by selecting the radio button for Allow users to connect remotely to this computer.
  11. Enable and turn on Fast User Switching in Control Panel -> User Accounts -> Change the way users log on or off.
  12. Restart the computer normally.

Note that if you cannot replace or overwrite termserv.dll with access denied or file in use error, turn off the “Termine Services” in “Services” control panel of “Administrator Tools”. Besides, each connecting physical connections must have their own user account in the target host, and must authenticate with corresponding own user name and password credential.

To uninstall and revert back to original termsrv.dll, simply delete the patched version, and rename the backup copy back to “termsrv.dll”. You probably have to do it in Safe Mode if the Terminal Services is enabled and running.

If the Windows XP computer is connected to a domain on local networks, Windows will set the value of the regkey “AllowMultipleTSSessions” to “0″ every time the computer is restarted. To ensure that multiple or unlimited Remote Desktop connection sessions is allowed in AD domain environment, the value data for “AllowMultipleTSSessions” has to be set to “1″ on each system startup. To change the value, simply rerun the ts_multiple_sessions.bat every time the computer is started. Alternatively, put the ts_multiple_sessions.bat at C:\Documents and Settings\All Users\Start Menu\Programs\Startup folder so that it will be automatically run on first user with administrative privileges that logs on to the desktop. Another workaround is to install additional service or define a sub-key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry branch that run the registry batch file automatically on boot up, and this is useful if the computer won’t be logged on by anybody, but still requires the hack to allow unlimited Remote Desktop users to work.

Another issue is that if user closes the remote connection instead of logging off, when he or she tries to log back in, an error message related to TCP/IP event ID 4226 may occur. To resolve the issue, download and apply the Windows XP TCP/IP connection limit and Event ID 4226 patch, and set the connections to at least 50.

32 Responses to “Enable Multiple Concurrent Remote Desktop Connections or Sessions in Windows XP”

Pages: 1 2

  1. altapulta
    January 6th, 2010 21:23
    32

    If ya think hacking termsrv.dll is someway illegal, juz copy the new termsrv.dll as termsrvx.dll in the system dir. search the registry and change the value of ServiceDll wherever found to termsrvx.dll…

    and use all those registry tricks provided to enable multi login.

  2. Richard
    December 20th, 2009 23:13
    31

    I was able to do an in-place replacement with Unlocker but svchost crashed right after adding the keys and I’m unable to use services/gpedit until I reboot.

  3. Bozz
    December 13th, 2009 04:06
    30

    Saying this is illegal is like saying,

    ‘Now I’ve sold you a pair of shoes, you can only wear them with socks you buy from us to’.

    or

    ‘Now you’ve bought a house from us, you’re not allowed to decorate the rooms the way you like, you have to use the colors we’ve chosen.’

    The EULA probably says all sorts of things like… Now we own your soul, or congratulations you have now become a slave of the Microsoft empire.

    ‘Hacking’ terminal server to make it so it is’nt quite so shit is hardly a criminal offence along the lines of drunk driving, murder or rape now is it.

    I think we use common human intelligence and just ignore the opinions of Microsoft in this case.

    I think I’ll set up an EULA every time I sell someone a cup of tea and when they are in breach of the EULA I can evict them from their home and send them to jail for 70 years – sounds fair…… NOT!

  4. Captain Zilog
    December 11th, 2009 08:51
    29

    @ Nate :

    How is this illegal?

    Hacking the termsrv.dll is, at most, a breach of the EULA.

    This is as illegal as changing from Autolite to Champion spark plugs….

  5. Nate
    October 17th, 2009 07:33
    28

    This is illegal, BTW.

  6. Chris
    October 17th, 2009 06:53
    27

    I followed the steps.. I can logon remotely just cant control the keyboard and mouse???

    can anyone help?

  7. Oregon John
    June 30th, 2009 12:15
    26

    Thanks. Other techniques worked on one of my computers but other computers wouldn’t take those fixes. Yours worked great (just had to go over the steps again).

    By the way, none of my computers had

    Computer Configuration -> Administrative Templates -> Windows Components -> Terminal Services

    All XP Pro, but didn’t have that gpedit.msc component installed. Worked anyway.

    Thanks again!

Pages: 1 2

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to My Digital Life Comments RSS feed to receive notification of latest comments posted.

New Articles

Incoming Search Terms for the Article

remote desktop multiple users - termsrv.dll - multiple remote desktop connections xp sp3 - unlimited remote desktop connections - Allow multiple remote desktop connections - multiple remote desktop connections - termsrv.dll sp3 - termsrv.dll download - remote desktop multiple connections - concurrent remote desktop sessions in windows xp sp3 - multiple rdp sessions xp sp3 - windows xp remote desktop multiple sessions - remote desktop connection multiple users - xp remote desktop multiple users - allowmultipletssessions - multiple users remote desktop - xp multiple remote desktop sessions - remote desktop multi session - windows xp multiple remote connections - windows xp multiple remote desktop - tersrv.dll sp3 - all - windows xp concurrent remote desktop - how to allow same user to have multiple connections using remote desktop - multiple rdp connections - enable multiple concurrent remote desktop connections or sessions in windows xp - multiple remote desktop connections windows 7 - multiple sessions remote desktop - windows xp multiple rdp sp3 - xp multiple remote desktop - rdp multiple users - remote desktop multi - enable multiple remote desktop xp - how to allow multiple remote desktop connections - multi remote desktop xp - multi session remote desktop - concurrent rdp in xp - concurrent session remote desktop - termsrv.dll 5.1.2600.2055 download - xp remote desktop multi user - server 2003 "unlimited users" - TerminalServer\LicensingCore/EnableConcurrentSessions - multiple connections in xp sp3 - windows xp multiple concurrent remote - remote desktop connection limit - remote desktop xp multiple users - windows 2008 remote desktop multiple sessions - enable multiple concurrent remote desktop - formation rdp multisession - multiple remote desktop sessions - windows xp sp3 multiple rdp - enable multiple connections xp - multiple remote desktop - multiple RDP - multi session remote winxp - windows 7 remote desktop multiple users - allow multiple RDP connections - multiple rdp sessions - rdp multiple - windows 7 multiple remote desktop - How to setup Remote Desktop on Windows 7 - windows xp multiple remote desktop connections - remote desktop connection sessions - windows xp sp3 termsrv.dll domain - xp sp3 multiple remote desktop - multiple user connected to one remote desktop - multiple xp remote desktop - multiple logon, termsrv.dll, download - multiple remote session on windows xp - remote desktop concurrent sessions - TERMSERV.DLL download - Win xp RDP multiple connection - multiple concurrent remote desktop connections xp - SP3 termsrv.dll - xp professional multiple logins -