Enabling Multiple Remote Desktop Sessions in Windows XP Professional and Media Center Edition 2005
NOTE: You will have to have knowledge of the Windows operating system and more specifically the Windows Registry. If you have no experience with the registry, then I would recommend you find someone who does or leave these alone. I do not make any kind of warranty that this will work for you or your friends. This is provided for entertainment purposes only. Don’t call me if your computer stops working. Got it?
- Print these directions so that you have them to work from.
- Restart your computer in Safe Mode - Follow this link to learn how to restart Windows XP in Safe Mode
- Turn off/disable Remote Desktop Connection (RDC) and Terminal Services
- Right click My Computer
- Select Properties
- Click on the Remote tab at the top of the window
- UNCHECK the box next to, “Allow users to connect remotely to this computer“
- Click OK
- Go to Start -> Control Panel -> Administrative Tools -> Services
- Find Terminal Services in the list
- Right click on Terminal Services and click Properties
- In the Startup Type box, select Disabled
- Click OK to close the window
- Here is a copy of the Terminal Services DLL - Save it to your Desktop or other suitable location
- Using a file manager like Windows Explorer open C:\Windows\system32\dllcache
- Rename the file termsrv.dll to termsrv_dll.bak or whatever you would like.
- Copy the downloaded termsrv.dll file (the one you just downloaded from the web) to C:\Windows\system32\dllcache
- Open the C:\Windows\system32 folder
- Delete the file termsrv.dll in C:\Windows\system32
You should be good to go.
Concurrent Remote Desktop Sessions in Windows XP SP2
By vishnuI mentioned before that Windows XP does not allow concurrent sessions for its Remote Desktop feature. What this means is that if a user is logged on at the local console, a remote user has to kick him off (and ironically, this can be done even without his permission) before starting work on the box. This is irritating and removes much of the productivity that Remote Desktop brings to Windows. Read on to learn how to remove that limitation in Windows XP SP2
A much touted feature in SP2 (Service Pack 2) since then removed was the ability to do just this, have a user logged on locally while another connects to the terminal remotely. Microsoft however removed the feature in the final build. The reason probably is that the EULA (End User License Agreement) allows only a single user to use a computer at a time. This is (IMHO) a silly reason to curtail Remote Desktop's functionality, so we'll have a workaround.
Microsoft did try out the feature in earlier builds of Service Pack 2 and it is this that we're going to exploit here. We're going to replace termserv.dll (The Terminal Server) with one from an earlier build (2055).
To get Concurrent Sessions in Remote Desktop working, follow the steps below exactly:
- Download the termserv.zip file below and extract it somewhere. (You have to be registered to see the file)
- Reboot into Safe Mode. This is necessary to remove Windows File Protection.
- Copy the termserv.dll in the zip to %windir%\System32 and %windir%\ServicePackFiles\i386. If the second folder doesn't exist, don't copy it there. Delete termserv.dll from the dllcache folder: %windir%\system32\dllcache
- Merge the contents of Concurrent Sessions SP2.reg file into the registry.
- Make sure Fast User Switching is turned on. Go Control Panel -> User Accounts -> Change the way users log on or off and turn on Fast User Switching.
- Open up the Group Policy Editor: 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). This enables you to have more than one person remotely logged on.
- Now reboot back into normal Windows and try out whether Concurrent Sessions in Remote Desktop works. It should!
If anything goes wrong, the termserv_sp2.dll is the original file you replaced. Just rename it to termserv.dll, reboot into safe mode and copy it back.
The termserv.dl_ file is provided in the zip is for you slipstreamers out there. Just replace that file with the corresponding file in the Windows installation disks.
I've added in extra information from the comments below... thanks for all who researched! :-)
Other links of interest:
- MSFN Board, termserv.dll
- Another related MSFN thread.
- Another similar HOWTO
- An installer for the above
Please note that I haven't tried out any of the links above. YMMV.


