Multiple Remote Desktop Sessions On Vista SP2 x86 & x64
I have a home brew home theater PC running Windows Vista Ultimate x64. It’s connected to my 40″ Samsung in the living room and pretty much runs Windows Media Center all the time.
Every now and then, I have the need to remote into this box from another computer in the house or from a computer remotely when traveling. I like to do so without disrupting those who may be watching TV at the time. I had been using a fix that I found here. However, when I installed service pack 2, my little multiple remote desktop session patch stopped working. I dug around and found this site, which claimed to have the fix but didn’t work. After reading a bit, I replaced the termsrv.dll from AndrewBlock.net and replaced it with the termsrv.dll from RapidShare. I ran the script and VOILA!
This is working for me on Vista x64 with SP2. Hope this comes in handy for another.

Not working for me. Vista x64 SP2 Ultimate.
Still getting message:
Another user is currently logged on to this computer. If you continue, …
@Mario13
I forgot to mention one thing. Even if you’re logged in with an administrator account, you need to right click on the batch file and click “Run as Administrator”. Please let me know if this helps.
Applied to Windows Vista Ultimate SP2 x86 and works perfectly (when runas Administrator). Thanks!
Great! Thanks for the feedback!
hey there. i am on vista ultimate sp2 but this broke my box. i can’t login in remotely now and whenever i log in i get a “dns client has stopped working” error. any idea on how to UNDO this?
thanks
Have you tried restoring the original termsrv.dll? Have you Googled “dns client has stopped working”?
Hi Gurus ^^
Thank you for your details and corrections on patches you have successfully applied to your machine. It is very much appreciated. Unfortunately, I have no luck in make it working though. I used your RDP Vista x86 SP2 patch for my Vista Home Ultimate SP2 built 6002. Once ran PREMIUM batch as admin (in safe mode), it successfully got through and had the port listening successfully (in normal mode).
I also managed to apply “termonpremium.reg” but it failed with error msg “Cannot import …\termonpremium.reg: Not all data was successfully written to the registry. SOme keys are open by the system or other processes.” I then tried to connect to this machine but it was a failure. I guess it might bt the registry that was not applied properly causing this failure.
Your kind help on this will be highly appreciated. I have been struggling trying to juggle between andrew blog suggestions and others. Now I am totally confused and lost. Please kindly help me out ^.^
Thank you very much in advance ^,^
Milky
Hi Milky,
If you ran the batch file first and it was successful, then you should be good to go. Have you tried it out yet?
~MJ
@MJ Hufford
Hi MJ,
I really appreciate your prompt reply mate ^.^
Well, I had a go with this on campus several times but all failed. I tried to connect to my Vista home premium laptop (after installing your patches) using a desktop computer on campus. It failed to connect. I check out my laptop by using “netstat-a” command and found port 3389 in “listening” state. This totally confuses me. I made sure my firewall with port 3389 has also been enabled. So this should not be the case, I am afraid.
Another thing I doubt is a remote settings menu(right click on computer and get into Properties). My dialog box contains only “remote assistance” the same way before the patch was installed (http://www-staff.lboro.ac.uk/~mmtp/files/weblog/remote%20settings-milky.jpg). Please refer to the given link for what I meant to explain. This is why I suspect the patch did not work out. Am I supposed to have extra options for remote desktop like this (http://www.vistaclues.com/wp-content/uploads/2006/12/click-select-users.png).
Please kindly help me out. Thank you very much in advance ^,^
Cheers,
Milky
SOrry MJ
The link should not contain ). It may lead to “page not found” error.
Cheers,
I tried this on Vista Ultimate SP2 x64 and now Remote Desktop doesn’t work at all. I just get the generic client error that you would see if you were trying to connect to a computer that was turned off.
@Choreboy
I backed up the .dll and registry settings, but I was not able to restore it to the previous 1-session RDP. I ran the x64 SP2 .bat from andrewblock.net. I’m not sure if that had an updated .dll or not, but it restored me back to 1-session RDP (still can’t do multiple).
@Choreboy
I tried this again and I was wrong, it was not as simple as using the andrewblock.net hack to fix my problem. Let me go in to detail so I don’t give false hope to anyone else with this problem.
I use Total Uninstall v5. It takes a snapshot of your file system and registry, then you install something, then it takes another snapshot and compares the differences. When you want to uninstall something, it deletes all files that were created and resets all registry entries that were altered.
So here’s what I did step by step:
1. “uninstalled” the hack by reverting with Total Uninstall (this will not revert files that were changed, just deletes files that were added and reverts registry entries)
2. used a live XP PE disc called Hawk PE (any PE disc should do) to replace the original .dll that I had backed up (because I could not replace it while Vista was running… permission problem?)
3. restarted in to Vista, ran andrewblock.net hack
Only the 2nd time around did I realize it was not as simple as just running the andrewblock hack. I’m not sure why I can’t get this to work, but hopefully someone else can learn from my mistakes.
Also, I highly recommend Total Uninstall.
@Choreboy
***UPDATE!***
Sorry for all the multiple posts, but I found a solution that works! It’s for any 32 or 64 bit versions from XP to Windows 7. I scanned it with the latest Nod32 signature and it’s clean.
http://deepxw.blogspot.com/2009/04/universal-termsrvdll-patch.html
@Choreboy – thanks for sharing! One thing I failed to mention in the article is that you have run the batch file as an administrator – ***Even if you are logged on as an administrator with UAC turned off***
Anyhow, I’m glad you found a solution and thanks for sharing it!
Just wanted to say that the re-fix worked perfectly. I have the same scenario. TV/beefy machine. Thanks for saving me the trouble of remembering how to fix this again!
Works like a charm on x86 Ultimate SP2
coooooool Thanx a lot ya man , working gr8