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.


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

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

    This is illegal, BTW.

  2. 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?

  3. 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!

  4. ulas ulas
    June 17th, 2009 15:36
    25

    How about the limit in Windows 2003 Server? Should I use the SP3 patch?

  5. Attivare connessioni multiple del desktop remoto di Windows XP « Un caprone che fa bau
    May 4th, 2009 05:08
    24

    [...] si trova qui. Tag: rdp, remote desktop, terminal [...]

  6. C.
    April 5th, 2009 09:22
    23

    what is this? get this hacked crap off the net. we all get security problems but you should do a little maintenance now and then.

  7. marekyarbrough
    April 4th, 2009 01:38
    22

    your website is still hacked per Graham’s posting and is delivering “Spyware Protect 2009″ – a WinAntiVirus variant from the ziddu.com

  8. dragoon
    March 26th, 2009 20:57
    21

    hi

    i somehow can’t start GPMC

    it is not installed on my system and i cant install it
    i have xp pro sp3

  9. donz
    March 25th, 2009 02:56
    20

    hi…
    does it work in win xp pro 64 bit?
    many thx

  10. Ali
    January 26th, 2009 05:00
    19

    Dear friend,
    Many thanks in advanced for your all explaination and advising. I have the following problem which about 2 month I could’nt find any solution for that.
    1- I have done your instruction in a computer with Win XP-SP2 already
    2- Everything is OK
    3- When a client with any Windows connects to the server, its connection will disconnect after some times(1,2,3 or 4 hours) and after disconnecting its not possible to connect again untill we restart the server.

    Please advise me a solution.
    Thanks and regards,
    Ali

  11. Reeuenta
    December 18th, 2008 16:57
    18

    Dear Sir,
    Bravo~
    I have opened over 3 remote desktop connections and running well here.
    Thanks a lot~

  12. hsc
    November 22nd, 2008 18:53
    17

    hola
    tengo un xp home transformado a profesional para poder usar escritorio remoto como servidor, lo he sacado de la misma pagina ( mydigitallife ), el escrito remoto me funciona perfectamente pero lo de los usuarios concurrentes no.
    por que puede ser?

  13. Phill
    October 28th, 2008 00:53
    16

    thank’s anyway, I found another link to same patch:
    http://www.isralet.com/files/termsrv_sp3_patch.rar

  14. admin
    October 28th, 2008 00:22
    15

    The link is still working.

  15. Phill
    October 27th, 2008 21:20
    14

    Hi, the link to Windows XP SP3: termsrv.dll (version 5.1.2600.5512) is off, could you upload it again?

  16. hackemaier
    October 17th, 2008 19:27
    13

    Following your guide, i got some problems to enable fast user switching.

    So if you are not able to start this service, use this command: svchost.exe -k netsvcs

    Without fast user switching it is not possible to have multiple remote sessions.

  17. Aaron
    October 3rd, 2008 14:45
    12

    I did this and had it working perfectly for several months now. Thanks a lot, it’s definitely been very useful.

    However, I just restarted my computer and realized I couldn’t connect to it using Remote Desktop. After looking into the problem, I saw AVG apparently picked up the termsrv.dll as being a trojan (Trojan horse Generic11.AGPO). Any ideas what’s up with this? Is it a false detection or something? AVG scans every night so I’m guessing it’s something relatively new to their definitions.

  18. sweetsinse
    September 16th, 2008 22:20
    11

    —WORKS WITH DOMAIN—

    Done with WinXP SP2. not sure results on others.

    I recommend reading the whole post before beginning.

    A user can only log in once, i.e. same user cannot have multiple sessions.

    I have pulled information from 3 sites, including this one to make this possible. Much info was taken from user responses and i will try to document where I can.

    —LINK 1—(mostly informative only)
    http://www.mydigitallife.info/2008/06/13/enable-multiple-concurrent-remote-desktop-connections-or-sessions-in-windows-xp/

    —LINK 2—(how to work in domain/REG file)
    http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/#comment-56153

    —LINK 3—(the DLL file I used)
    http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/#comment-57567

    —LINK 4—(informative, info about gpedit.msc)
    http://www.golod.com/2005/10/enabling-multiple-remote-desktop-sessions-in-windows-xp-professional-and-media-center-edition-2005/

    If you have problems refer to those sites (specifically those posts in the the link) and don’t be afraid to read. There may be another procedure that works but this is how i got it going. I had 5+ people logged in concurrently thru a domain. bomb.

    DIRECTIONS

    1) In windows explorer go to Tools > Folder Options > View…
    —–CHECK show hidden files and folders
    —–UNCHECK hide extensions of known files
    —–UNCHECK hide protected op. sys. files
    NOTE: those of you that CAN’T see a ‘dllcache’ folder (later) DO NOT have the op .sys. files viewable. there are about 200 things in that folder.

    NOTE: i did the whole thing in one step by killing all ’svchost.exe’ thru task manager. sometime a few will respawn but as long as they have no ‘User Name’, especially your own, this should work. after doing this however, some aspects of the WIN OS do not behave correctly, i.e drag/drop + copy/paste. if your not comfortable with that, try the safe mode approach in the original post.

    2) go to start > run and type ‘cmd’ without quotes to open a terminal/command prompt. then open task manager and go to processes. sort the processes by name and start killing svchost.exe everywhere. (i have read you only need to kill the ones with your user name, i.e. NOT local system OR network service, but i waxed them all :) )

    this will begin a forced shutdown. go to the terminal and type ’shutdown -a’ without quotes to abort the running shutdown. kill the remaining ’svchost.exe’ if necessary and abort the shutdown as necessary.

    3) get the DLL from LINK 3 or:

    (May not always be available so mirror!!)
    http://tony.brokerbin.com:8008/LINKED/termsrv.dll

    backup termsrv.dll in ‘c:/windows/system32′ AND ‘c:/windows/system32/dllcache’. place your new copy in both folders.

    4) download this registry file i’ve wrote (auto-adds necessary keys)

    (mirror this!!!)
    http://tony.brokerbin.com:8008/LINKED/multiTS.reg

    save the file as a ‘.reg’ (without quotes of course…). when you double click this file it should ask to ‘merge’ with the registry. click yes. if you like refer to LINK 2 and LINK 1 for manual directions.

    NOTE: at this point you should be good to go for NON-DOMAIN uses. *simply* reboot and test (if it doesnt work try the steps involving gpedit.msc in the original post, not sure if its necessary, then reboot again) domain access requires a few more steps, refer to LINK 2 and LINK 1 for the reason.

    5) create a folder – ‘c:/termsrv’ – and put the multiTS.reg file from earlier in there.

    6) download this from MS resource kit (instsrv.exe AND srvany.exe) they allow running apps as a boot service:

    http://tony.brokerbin.com:8008/LINKED/srvany.zip

    that zip has both files, else find them elsewhere. put both files in ‘c:/termsrv’

    7) open a terminal and run:

    c:\termsrv\instsrv.exe XP3RDC c:\termsrv\srvany.exe

    that will install a service and setup the registry key. all that remains is to configure that key/service….

    8) this could probably be done with a REG file, refer to the other one for syntax. open start > run and run ‘regedit’ (no quotes…)

    navigate to ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XP3RDC’

    Add a KEY (folder) with the following:
    Key Name: Parameters

    Select this newly created Parameters key and add the following STRING value:
    Value Name: Application

  19. Vikram
    September 9th, 2008 01:23
    10

    Hi,

    For all the guys out there who couldn’t get this to work. Trust me I understand , suffered through it too. Have detailed it out here what finally worked for me …

    http://piglings.blogspot.com/2008/08/multiple-remote-desktop-connections-rdc.html

    All the best !!

  20. Meerdere gelijktijdige verbindingen via Remote Desktop Connection « Mendel’s Weblog
    August 4th, 2008 04:31
    9

    [...] URL [...]

  21. Install and Enable Remote Desktop in Windows XP Home Edition 於傻仔仔
    July 16th, 2008 23:18
    8

    [...] it may be useful to patch termsrv.dll with a cracked version which allows multiple RDC sessions and users to fix some problems such as disconnection issue. It’s also good for testing by allowing connect [...]

  22. Mike M
    July 10th, 2008 01:47
    7

    Check out the following post for instructions on how to create the service that allows it to work on a domain. Also see my July 9th post on same site for additional tips.

    http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/#comment-56153

    Josh: I have tried it with 5 RDP users. I’m sure I can connect more but my test PC is low on RAM.

  23. Josh
    July 9th, 2008 08:55
    6

    You can only connect 3 users to a computer running windows XP. It’s not unlimited as the article states.

  24. yd
    July 1st, 2008 21:57
    5

    Thanks – this worked perfectly.

  25. admin
    June 27th, 2008 15:40
    4

    Hi Graham, what you mean?

  26. Graham
    June 27th, 2008 15:16
    3

    Changed my mind.
    You use dodgy 3rd party sites.
    Please delete my email address from your database.

    (I observe the pigs are fed and ready for take off)

  27. Graham
    June 27th, 2008 15:12
    2

    Your website has been hacked.
    All the download links take you to http://www.ziddu.com.
    I would like to download the termsrv.dll versions.

    PS: Be careful with my email address!

  28. News Zone » Blog Archive » Install and Enable Remote Desktop in Windows XP Home Edition
    June 15th, 2008 15:24
    1

    [...] it may be useful to patch termsrv.dll with a cracked version which allows multiple RDC sessions and users to fix some problems such as disconnection issue. It’s also good for testing by allowing connect [...]

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 comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

multiple remote desktop connections - termsrv.dll - remote desktop multiple users - allow multiple remote desktop connections - Concurrent Remote Desktop Sessions in Windows XP SP3 - termsrv.dll sp3 - windows xp remote desktop multiple sessions - multiple remote desktop connections xp sp3 - multiple sessions remote desktop - "Windows XP RTM, SP1 and SP2: termsrv.dll (version 5.1.2600.2055)" - xp remote desktop multiple users - enable multiple remote desktop xp - enable multiple concurrent remote desktop connections or sessions in windows xp - multiple remote desktop - multiple rdp sessions - remote desktop multiple sessions - xp multiple remote desktop sessions - concurrent remote desktop - multiple rdp sessions xp sp3 - allowmultipletssessions - how to allow multiple remote desktop connections - termsrv.dll multiple users - windows xp multiple remote desktop connections - windows 7 multiple remote desktop - remote desktop multiple connections - allowing multiple remote desktop connections - multiple rdp connections - windows 7 remote desktop multiple connections - remote desktop connection multiple users - multiple remote desktop sessions - simultaneous remote desktop connections - xp multiple RDP - enable concurrent RDC - Windows SP3 Remote desktop patch - enabling multiple remote desktop sessions in windows xp - multiple users remote desktop - rdp multiple users - remote desktop concurrent users - termserv.dll - unlimited Remote Desktop Connections - multi session remote desktop - Concurrent Remote Desktop Sessions in Windows XP SP2 - rdp concurrent xp sp3 - remote desktop termsrv dll - termsrv.dll - remote desktop allow multiple users - multiple terminal sessions in windows XP - termsrv.dll xp sp3 - windows xp multiple sessions - multi remote desktop XP -