Thursday, June 11, 2009

Guide: How to Enable Concurrent RDP Sessions in Vista

Scenario: I RDP into my home machine which is running Vista Ultimate. My wife has her own user account, but everytime I RDP in, I have to kick her off. Seems Concurrent Sessions just doesn't exist out of the box for the O/S Vista like it does for Windows Server.

This is not my hack so Thank you to "Sunmorgus" on this forum thread for making this possible: TheGreenButton

------------------------------------------------------------------------------------------------------------------------------

Some things to check. Make sure your version of Vista SUPPORTS Remote Desktop connection to begin with. OnlyVista BUSINESS & Vista ULTIMATE. If you have Vista HOME PREMIUM you have to use another hacked Termsrv.dll

Here are the steps for Vista BUSINESS & Vista ULTIMATE Instructions::

  1. Download Sunmorgus' hacked Termsrv.dll file (see links below) 
    1. EDIT 7/24: Thanks to Sunmorgus, here is the new location for the files:
For the 32bit:
http://dl.jtstroup.net/termsrv/termsrv_new.dll
for the 64bit:
http://dl.jtstroup.net/termsrv/termsrv64.dll
For Vista HOME PREMIUM: (Instructions are located within the zip)
http://dl.jtstroup.net/termsrv/termsrvHomePremium.zip

  1. We need to modify termsrv.dll to enable us to swap out the hacked assembly. termsrv.dll is located at C:\Windows\System32;
  2. Click Start, then type "cmd" in the search box & hit enter. This will launch the Command prompt
  3. Type the following & hit enter: takeown /f C:\Windows\System32\termsrv.dll
  4. Then type this & hit enter (NOTE: Replace USERNAME with YOUR USERNAME!! If your name has a space in it, enclose it with quotes, like "Richard Rahl"): cacls C:\Windows\System32\termsrv.dll /G USERNAME:F
  5. Then go to your Windows Explorer, and go to C:\Windows\System32
  6. It is always a good idea to rename any original files you want to replace and store them for safe keeping so we can always return to the original state if something was to go wrong. I suggest renaming Termsrv.dll to something like "termsrvOriginal.dll" or "termsrv.dll.Original"
  7. *NOTE* If you are unable to do the above, try rebooting into SAFE MODE
  8. Then copy & paste the Hacked DLL you downloaded in Step 1 into the C:\Windows\System32 folder
  9. You should now have concurrent sessions.

*MS Updates* if any Microsoft patches come out which may replace the "termsrv.dll" then you will need to reapply the patch. I've never had a problem on Vista ULTIMATE, but have read that some Vista HOME PREMIUM users have needed to reapply their patch.

P.S. 

Some people have had some issues with the termsrv.dll not working on their machines or their services is unable to register the new termsrv file and then run the service. if that is the case you can download a program called "UniversalTermsrvPatch" here: http://deepxw.blogspot.com/2009/04/universal-termsrvdll-patch.html

use your ORIGINAL termsrv.dll and run the program. It will then restart your computer and you will be back to normal with Terminal Services working.

No comments:

Post a Comment