$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
31 Aug // php the_time('Y') ?>
As you might know Windows 2003 Server accepts at most 2 concurrent Terminal Server sessions (and 1 console session) in Remote Administration mode (which is the default). Of course if you switch to Application Mode you can have an unlimited number of sessions but this requires licenses and a license server.
When Terminal Server creates a new session it checks if the new session is either a console session or a help assistant session and if not it allocates a license. The function that performs this check is called CRAPolicy::Logon
.text:7656B494
.text:7656B494 ; =============== S U B R O U T I N E =======================================
.text:7656B494
.text:7656B494 ; Attributes: bp-based frame
.text:7656B494
.text:7656B494 ; public: virtual long __thiscall CRAPolicy::Logon(class CSession &)
.text:7656B494 ?Logon@CRAPolicy@@UAEJAAVCSession@@@Z proc near ; DATA XREF: .text:76545B04o
.text:7656B494
.text:7656B494 arg_0 = dword ptr 8
.text:7656B494
.text:7656B494 mov edi, edi
.text:7656B496 push ebp
.text:7656B497 mov ebp, esp
.text:7656B499 push esi
.text:7656B49A mov esi, [ebp+arg_0]
.text:7656B49D push edi
.text:7656B49E mov edi, ecx
.text:7656B4A0 mov ecx, esi
.text:7656B4A2 call ?IsSessionZero@CSession@@QBEEXZ ; CSession::IsSessionZero(void)
.text:7656B4A7 test al, al
.text:7656B4A9 jnz short loc_7656B4C2
.text:7656B4AB push 0
.text:7656B4AD push dword ptr [esi]
.text:7656B4AF call _TSIsSessionHelpSession@8 ; TSIsSessionHelpSession(x,x)
.text:7656B4B4 test eax, eax
.text:7656B4B6 jnz short loc_7656B4C2
.text:7656B4B8 push esi
.text:7656B4B9 mov ecx, edi
.text:7656B4BB call ?UseLicense@CRAPolicy@@AAEJAAVCSession@@@Z ; CRAPolicy::UseLicense(CSession &)
.text:7656B4C0 jmp short loc_7656B4C4
.text:7656B4C2 ; —————————————————————————
.text:7656B4C2
.text:7656B4C2 loc_7656B4C2: ; CODE XREF: CRAPolicy::Logon(CSession &)+15j
.text:7656B4C2 ; CRAPolicy::Logon(CSession &)+22j
.text:7656B4C2 xor eax, eax
.text:7656B4C4
.text:7656B4C4 loc_7656B4C4: ; CODE XREF: CRAPolicy::Logon(CSession &)+2Cj
.text:7656B4C4 pop edi
.text:7656B4C5 pop esi
.text:7656B4C6 pop ebp
.text:7656B4C7 retn 4
.text:7656B4C7 ?Logon@CRAPolicy@@UAEJAAVCSession@@@Z endp
So if we want to bypass this license allocation we simple change it to:
.text:7656B494 ; public: virtual long __thiscall CRAPolicy::Logon(class CSession &)
.text:7656B494 ?Logon@CRAPolicy@@UAEJAAVCSession@@@Z proc near ; DATA XREF: .text:76545B04o
.text:7656B494 xor eax, eax
.text:7656B496 retn 4
.text:7656B496 ?Logon@CRAPolicy@@UAEJAAVCSession@@@Z endp
the binary diff is:
0002A894: 8B 31
0002A895: FF C0
0002A896: 55 C2
0002A897: 8B 04
0002A898: EC 00
If you are going to replace termsrv.dll please note that it’s protected by Windows File Protection so you need to replace it in the following order:
VPatch file: Windows Server 2003 VPatch file (50578 downloads) (of termsrv.dll build 5.2.3790.3959 English language)
180 Responses for "Patch Windows 2003 Terminal Server to allow more than 2 concurrent sessions"
So great to see your win2003 terminal server patch. Does it work on win2003 R2 SP2 as well? Thanks again.
@ghost2k: There aren’t any functional differences between 2003 and 2003 R2 as far as Terminal Services is concerned. What build number of termsrv.dll does your r2 have?
You are right. R2 is the same build no. Tested with positive result. Btw, will you work on windows 2008 as well? Thanks again.
This is the greatest patch in a long time – Thank you!
I need it just for 1 person – Sometimes I log in on multiple machines and don’t want to constantly have to log out to keep my balance at 2 or less.
The only thing missing is a Server 2008 patch, but I know not everyone has upgraded yet (including us).
@2008 patch: I have begun looking at this, unfortunately the structure of 2008 Terminal Server is really different so I need to find where the check is done.
I’ve tried to patch the termsrv.dll with your patchdata.pat using vpatchprompt.exe, and the new termsrv.dll dated at march 2008, (old termsrv is feb 07). Copied to dllcache, rebooted and checked that the patched file with new date still intact in system32 folder. i still restricted to 2 connection.. may i have your pacthed termsrv.dll? thx..
it worked, apparently when copying the patched file, we must login on safe mode. thank you very much..
Excuse my ignorance, but how do i patch the file with vPatch?
Thanks
Hi Same question,
In order to use the patch file, I have to rename from “PatchData.pat” to “termsrv.dll” ?
or I have to do somthing else?
Do yo think it works in spanish version
Hi same question…
How do I use the .pat file?
thanks in advance…
How to use the pat file:
1) install v-patch
2) from the vpatch directory launch vpatchprompt.exe
3) vpatchprompt will ask you for the following files:
– Patch file (the .pat file).
– Source file (termsrv.dll).
– Destination file (the patched termsrv.dll).
4) now replace termsrv.dll as instructed in the post & reboot
hey loyz could you send me the new dll…
my email is… edgar.pajuelo@gmail.com
tks…
Hey Remko… i got the message “No suitable patches were found” I follow all the instructions carefuly…
PLEASE could you send me the patched .dll…
i would appreciate it.
edgar.pajuelo@gmail.com
Thanks in advance.
Edgar
Edgar, I just retested and it works nicely for me. Are you using another build of termsrv.dll of perhaps another language (then English)?
Remko, the version is 5.2.3790.3959 and the language is Spanish std edt. 2003 R2.
I tried with english and work fine!!!
Can I repleace my new patched english version intead of my original spanich version to work it out?… or just install the server in english..
I’ve used this patch succesfully on a Server2003 x86. It’s working great! Thank you for that!
I also planned to use this patch on a server 2003 x64, but it won’t work out on x64? Keeps saying “No suitable patches were found”
Version of termsrv.dll: 5.2.3790.3959
Windows Server 2003 R2 SP2 x64
Does anyone have a link to “termsrv.dll” build 5.2.3790.3959
i am running 5.2.3790.0 and the patch is not working.
Thanks
Hi, tried to follow the directions to install this patch. I’m a little lost and it did not work on my 2003 server. Please verify if I followed your directions correctly:
How to use the pat file:
1) install v-patch VPatch.exe and the
[I download both the VPatch.exe and vpatch32.zip file from your Vpatch link at the top, and the PatchData.pat file]. I executed the VPatch.exe
2) from the vpatch directory launch vpatchprompt.exe
[From the Vpatch folder created by the vpatch32.zip, I executed vpatchprompt.exe]
3) vpatchprompt will ask you for the following files:
– Patch file (the .pat file).
[I pointed it to the PatchData.pat file]
– Source file (termsrv.dll).
[I pointed it to this file which I found in c:\windows\system32]
– Destination file (the patched termsrv.dll).
[I entered termsrv.dll and saved it on my desktop.
4) now replace termsrv.dll as instructed in the post & reboot
[I renamed the original termsrv.dll in the system32 folder to oldtermsrv.dll, then I copied over the termsrv.dll file from my desktop into the system32 folder.
It doesnt work. Im sure Im missing something here. I couldnt really couldn’t understand these directions:
Replace termsrv.dll in c:\windows\system32\dllcache
If you have the installation cd/dvd (i386) folder copied to your harddrive replace (use the compress command) or remove it there as well
Now rename the original file in your system32 folder and place the patched version
Reboot
Please provide a bit more detail to the procedure. Im sure Im pretty close and I really need to have this patch installed.
Thanks,
Octavious
Never mind… I guess I just needed to read the entire thread and found that all I had to do was login in SAFE MODE and replace the file. IT NOW WORKS!
Thanks so much!
Octavious
[…] https://www.remkoweijnen.nl/blog/2008/08/31/patch-windows-2003-terminal-server-to-allow-more-than-2-concurre... […]
A patch for server 2008 can be found here: https://www.remkoweijnen.nl/blog/2008/10/21/patch-windows-2008-terminal-server-to-allow-more-than-2-concurrent-sessions/
Remko,
I love this patch and have tried it and it works great!
I was wondering if you could help me with a problem I’m having with terminal services. I have a windows Xp pro client trying to connect to a windows 2000 terminal server. i get the following error…
The remote computer disconnected the session because of an error inthe licensing protocol. Please try connecting to the remote computer again or contact you server administrator.
I have tried the following…
1) deleted HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing. (http://support.microsoft.com/kb/187614/en-us).
2)http://support.microsoft.com/kb/921045/en-us
3)http://support.microsoft.com/kb/315277/en-us
My license server is windows 2003 and the terminal servers are windows 2000.
on my windows xp pro i was missing the license000 HHKLM\Software\MicrosoftMslicensing\Store\license000
I added the key and it still did not work.
here are the event logs from the windows 2000 terminal server…
Event Type: Information
Event Source: TermService
Event Category: None
Event ID: 1003
Date: 10/27/2008
Time: 3:05:11 PM
User: N/A
Computer: PINKTSERVER1
Description:
The terminal service client ‘NETADMIN’ has provided an invalid license.
Event Type: Warning
Event Source: TermService
Event Category: None
Event ID: 1004
Date: 10/27/2008
Time: 3:05:10 PM
User: N/A
Computer: PINKTSERVER1
Description:
The terminal server cannot issue a client license.
I would be grateful for any help you can give.
Thanks
You can also use Replacer to bypass Windows File Protection:
http://www3.telus.net/_/replacer/
Simply drag and drop the old file with the new file. I had to use this because restarting in safe mode was not an option for me due to the server being remotely hosted (which also hosted a remote KVM).
Terminal serves on windows 2003 server is kind of a pain in the butt, because it looks more complicated then it actually is. I got it working by just installing the services in the add windows components. Then selected the terminal services under administrative tools. Then activated the server, then installed CALS. Basically it was a hunt and peck affair. Dont give up. Tampa Computer Repair
Please. Anybody help me with the patch for the Spanish version????
Thanks so much! I installed this onto SBS 2003 (with SP2) and it worked a treat. (as I was rather annoyed the way they changed the remote desktop model between SBS 2000 and 2003 and removed application server mode…)
I had a couple of issues initially as there were some other termsrv.dll files floating around so I created a small batch file for future use (run it from the same folder as your patched termsrv.dll)
copy termsrv.dll %systemroot%\ServicePackFiles\i386 /y
copy termsrv.dll %systemroot%\system32\dllcache /y
ren %systemroot%\system32\termsrv.dll termsrv.dll.orig
copy termsrv.dll %systemroot%\system32 /y
Hey Remko…
i still got the message “No suitable patches were found” I follow all the instructions carefuly and did it on safe mode
the version original termsrv.dll 5.2.3790.1830
PLEASE could you send me the patched .dll…
hwisnu@gmail.com
Thx.
Wisnu
@wisnu: you have the wrong version of the dll, you need to update with latest 2003 service pack.
If you do want to patch this version you can try this:
Open in in a hex editor and look for these hex byte sequence:
8bff558bec568b7508578bf98bcee831feffff
and replace with this:
31c0c2040068b7508578bf98bcee831feffff
I tried to edit and replace the hex byte, but i got this message “Hex String Invalid”
Is there missing number on replacement hex byte ?
Thx,
WSN
hello Remko
I’m trying with no avail to get this patch working. i keep getting the “No suitable patches were found” when i run the patch. Do i have the wrong version of the patch file?
Any help would be hugely appreciated. Thank you.
@shannon: same as the other guys with problems: you are trying to patch a dll of another version/build or language. VPatch checks the MD5 hash of the file and refuses to patch if it’s not the same.
You should either update or see if you can replace the hex bytes with hex editor (see comments above and diff in post)
Remko,
I followed your instructions , Installed Service Pack 2 on my Server 2003 and patched the DLL.
Current termsrv.dll version 5.2.3790.3959
It’s Works.
Thx so much,
WSN
thank so much,
Thanks ever so much. It appears to be working perfectly. Great work Remko!
Remko,
First of all, I’d like to appreciate what you have already done with Terminal Services!
Now I’m looking forward for windows x64 patch or dll. And if you don’t have enough time to make it, would you be pleased to explain how to modify the dll?
I tried to find similar subroutine in disassembled x64 dll, but I failed. I used IDA program to do the task. It was my first attempt to do smth. about disassembling.
Instead of rebooting, can you just stop the “Terminal Services” service before updating the file and then restart the service afterwards — like with the patch for Server 2008?
hi friend
i try patch my file and dosn´t work, everytime say “No suitable patches were found”
please how to patch the file correctly o somebody have a patched termsrv.dll?
please write me o send me a file or help
hernan@hrd.com.ar
thanks
@Hernan: No suitable patches were found simply means you are trying to patch another build or language than mine. Try to replace the hex bytes with a hex editor.
@Rick: You really need to reboot on 2003!
@Pol@r1s: I have already done the X64 patch and it’s working. It will be published soon.
Remko. Hello, yes it’s true, my windows 2003 is in spanish… Can i use the dll file for a windows in english?
thanks people !!!
@Renko, yes, though I think that’s only because the TS service is one of the few marked as “NOT_STOPPABLE.”
It is killable, however, since it is in its own svchost.exe.
You can find its PID with this:
tasklist /m term*
You can kill it (stop the service) with this:
taskkill /pid xxxx /f
(Where you substitute the PID number for xxxx)
Then upon starting the service back up, I would think it would read the patched version of the DLL.
Thanks for figuring out the patch, btw, since this is the only place I could find how to do it.
Did you have to use a debugger to find it (which I assume is what the code above is from)?
Please, somebody help me, realy need this dll patched. If your termsrv.dll patches is working, send me it for mail.
hernan@hrd.com.ar
Thanks for ever !
Dear Remko! You wrote on November 29th to Pol@r1s
“I have already done the X64 patch and it’s working. It will be published soon.”
Could you please put it to download section. I think it will make your site super popular! Because it is really helpful stuff for Windows XP x64 users who wanted concurrent sessions in it. And many people are waiting for it since Windows XP x64 was released. Thank you in advance dear friend!
Dear Remko!
I’m so glad that you have done the patch for x64 versions! I can’t wait for downloading it! 🙂
Thanks a lot for your works!
Dear Remko! We’re all hoping that you will place it to your download section! Thank you in advance!
Windows 2003 X64 patch is online here: https://www.remkoweijnen.nl/blog/2008/12/09/windows-2003-x64-terminal-server-patch/
btw: there is a Paypal Donate button in the top right corner if anyone wishes to donate something…
I’ve SBS 2003.
With the original termsrv.dll, the first two clients connected successfully, the third connected but when hit enter after have typed username and password, the max connection error appeared.
I’ve applied the patch: now two connections are working well like before, but the third client has a connection refused.
Do you have any ideas?
[…] while ago I published a patch for Windows 2003 Terminal Server that allows more than 2 concurrent sessions in Remote Administration […]
@Logan: please check this registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server, value UserSessionLimit. What is it’s value?
Also check if you have a MaxInstanceCount value.
Dear Remko,
I just wanted to confirm that there are really many people who are awating for Windows XP SP2 x64 patch, and that I am amongst them. Thanks a lot for what you are doing, and look forward to seeing (and getting!) your work done regarding XP x64 as soon as possible.
How can this be done under Windows 2000 Server?
Thanx for the hard work.
I’ve read all the comments and can’t wait get it going, however
– my termsrv.dll is old 5.2.3790.0 and I couldn’t find the mentioned hex-string in my dll (allthough there was some partial occurrence)
? is there another way for me to patch (a hex string for my version), without an update, or can I just replace mine with a newer version without updating the whole system – will that work ?
(maybe this might help – I found an occurance of 08578bf98bcee8 at 21fb9, part of the code starting at 21f90 is: B813000AC05EC20400568BF1C7061853
1375E82AFAFFFFF644240801740756E8
96ECFFFF598BC65EC20400568B742408
578BF98BCEE86BFEFFFF84C075176A00
FF36E840E8FFFF85C0750A568BCFE87F)
Thanx in advance!
@salalex: I don’t think you can just replace termsrv.dll with a newer version. There are other (dependant) files like winsta.dll and so. I would advise to update to service pack 2. Regarding this specific build I well sent you a personal msg.
Remko,
thank you VERY MUCH for the 5.2.3790.0 patch !!!
@Remko & salalex
How u patched this ver 5.2.3790.0 please?
Regards
Please send me patch for this this ver 5.2.3790.0
to my mail
mostafa_mandrake@yahoo.com
Regards
Thaxxxx,
I installed SP2 and apply patch then
Successfully
Thaxx
Regards
Does this patch also works for Remote Desktop or it’s only suitable for the Terminal Services role?
Cathing up on some old comments (been busy):
The patch for 5.2.3790.0 is on request, I might publish it but I think one should upgrade to sp2 anyway 😉
@trendy: The patch is for Remote Administration mode (the default) and not for Application Mode/Terminal Services role
Please Do No Forget to Assign Password to Administrator User.
I spent alot of time to test but finally just found out that I was using Blank Password for Administrator. As it was saying “Unable to connect due to user restrictions…”
I hope it will be useful advice for experts.
Please, can anybody send the patched termsrv.dll for Windows Server 2003 to my e-mail address: flopezf@jccm.es?
Thanks a lot.
Dear Remko,
I have windows 2003 server sp2 & version of termsrv is 5.2.3790.2825 after updating its still the same version of termsrv so above patch not suitable for this version I hope if you had a plenty of time to help me…many thanks
hi
Has anyone actually got this working on Server 2003 Enterprise Edition. We can’t seem to get this patch working?
Cheers
Was able to patch successfully the italian termserv.dll version 5.2.3790.3959 using an hex editor to replace the binary diff at 0002A894, thank you a lot.
It works like a charm!! Thank you so much for this. Now I only hope we can find a way to get it to work on Windows2008
hi there
i want to patch windows 2003 terminal, because i only have 2 allowed connections for remote, i have use the vpatch and the pat file, but i don’t have the patched termsrv.dll file, can somebodi tell me where to find it, or if somebody can send it on my mail.
thank u so much
Please send me, the patched dll ticzi01@freemail.hu
My 2003 Server is Hungarian version and I’m paching this than going the error message No suitable patches
Please help me
It’ OK!
I’m get one original file after than I patched and work
Sorry,
I would to know if I can use this patch for 2003 SBS.
Thanks.
It was Greate Remko
Thanks
Can someone explain how to use the hex editor, e need to patch a portuguese version.
Thanks.
please is this patch can make me make unlimited
connection to remote desktop windows server 2003 (64)
If yes i try it but still not working
@Meko: https://www.remkoweijnen.nl/blog/2008/12/09/windows-2003-x64-terminal-server-patch/
@ The Big Boss Remko
I try it but still the maximum 2 users
I Sure from do everything
1- make the patch 2003X64TSPatch.exe
2- Copy the file termserv.dll from C:\WINDOWS\system32\
and paste it with 2003X64TSPatch.exe in the same folder
3- click patch and take the termserv.dll to paste it to
C:\WINDOWS\system32\dllcache\
4-Local Computer Policy | Computer Configuration | Administrative Templates | Windows Components | Terminal services
5-Restrict Terminal Services users to a single remote session -> DISABLED
6-Limit number of connections -> ENABLES | TS Maximum Connections allowed 999999
7-reboot my server
I make all this where is the problem ??
please give me patch of 5.2.3790.0 (Can not run upgrade SP2 it tell ivalid key)
Best Regards
krittikorn@yahoo.com
Please send me the patch for termsvr.dll 5.2.3790.2825 and termsvr.dll 5.2.3790.0 to tekliang@yahoo.co.id
Thanks.
I change windows 2003 CD-Key to
G2GVH-BCD8X-CT3PG-3H3C6-DFTBB
It can update SP2 now and i test remote work properly 3 connections.
And have RDC 5.2.3790.3959 now
But After I patch it, Can not remote any more.
Any one found this error like me.
I try again slowly., It work now!.
Thank you so much
krittikorn
Remko,
You are a god among men! 🙂
Stu
Thank you man,
It works like a charm on win 2003 server enterprise.
You returned my fate in programmers 🙂
Please send me the patch for termsvr.dll 5.2.3790.3959 for chinese and termsvr.dll 5.2.3790.0 to lxjinfo@gmail.com
Thank you man! Will you send me the patch for termsvr.dll 5.2.3790.3959 for chinese and termsvr.dll 5.2.3790.0 to 5767348@qq.com
Can you please send the termserv.dll file to me… I can not patch mine…
Thank you…
It´s Work perfectly!
Thanks!
Just locate the ASCII and EDIT with Ultra Edit 32!
Search all files termsrv.dll, then replace ALL files with hacked version!
Go to Windows\system32, rename termserv.dll using F2 then paste hacked version!
Restart PC… then…
Terminal Server HACKED! =D
Terminal Server RDP Windows 2003 Server HACK CRACK CRACKED!! (USED FOR EASY FIND IN WEB SEARCH)
8B FF 55 8B EC -> 31 C0 C2 04 00
———————-
0002A894: 8B 31
0002A895: FF C0
0002A896: 55 C2
0002A897: 8B 04
0002A898: EC 00
———————-
Didn’t work for RUS version of w2k3. V-patch can’t patch it. And can’t find the needed string in Ultra Edit 32. Need help.
termsrv.dll version is 5.2.3790.3959
Replacament string should be
31c0c20400568b7508578bf98bcee831feffff
It’s easy to figure 🙂 But hopefully wil save some time to others who will find this page.
And thank you for the great patch!
Dear
can anybody please send me cracked dll or patch for win2k3 enterprise termsrv.dll version is 5.2.3790.2845. i can’t patch it. i tried replacing the string but still no success.
Thanks in advance. aptublcel@yahoo.com
Hi
I’ve a french version of termsrv.dll (5.2.3790.3959). I can patch it cause it told me “Not suitable patch found”
How can i patch it?
Thank you
I have Windows 2003 Server in Spanish, I use Ultraedit to make de modification to the file termsvr.dll and it working very well the unlimited conections
thanks. xbores
xavier yo tambien tengo windows 2003 en español me podrias decir k tengo k cambiar con el ultraedit? o si puedes enviame el dll a mi mail: leonardomr@hotmail.com
muchas gracias de antemano…
Great thx!
SBS 2003 Rus Sp1 has patched successfully!
diffs are:
termsrv.dll.orig & TERMSRV.DLL.PATCHED
0002A652: 8B 31
0002A653: FF C0
0002A654: 55 C2
0002A655: 8B 04
0002A656: EC 00
I’ve replaced hex codes:
original: 8b ff 55 8b ec 56 8b 75 08 57 8b f9 8b ce e8 31 fe ff ff
no-limit: 31 c0 c2 04 00 56 8b 75 08 57 8b f9 8b ce e8 31 fe ff ff
Por favor Xavier, tendo windows 2003 server en español, y no consigo modificar el termsrv.dll, a ti te funciono por lo que comentas, por favor envialo a mi correo para poder trabajar en mi maquina, gracias de antemano. richard_herrera1980@hotmail.com
Hello,can anyone send the termsrv.dll to me,i got “Not suitable patch found” too.Thank you very much!e-mail: jerryviva9@technergy.com.hk
please send me the termsvr.dll, mine i can patch, but wont work…my email: applebrasil@gmail.com
thx in advance
Hola Richard, te ayudó Xavier con lo de la modificación para Server 2003 en español
Hi I need The patch for 5.2.3790.0 (Win2003 Enterprise
English WITHOUTH SPs) to dataman101@hotmail.com
Thanks in advance and keep the excellent work.
AK.
please could you send termsvr.dll, Iwould like to test with Win2003R2 SBS Eng.
I,ve tried to use vpatch ver3.2 without succes. There’s only graphical interface and I sure I’m doing something wrong with it.
Thanks
I am tring to crack it but it says “Not suitable patch found” I am using 2003 English Enterprise edition please help .
Is there anyone who has succesfully patch the tscc.dll on Windows 2003 Std X64 R2?
Or how can this be done?
Thanx
I cannot download the file…when I click on the hyperlink I get the following info:
“404 – Not Found
Sorry, no posts matched your criteria”
Could you email the file to me please?
thank you very much,
JBM
I downloaded it…thank you for fixing the link.
Now I just need to see if I can get it to work. I’ll let you know.
Hi to all.
Thanks to author – this trick works great on 2003 Datacenter R2 ENG 🙂
But now I’ve got another problem 🙁 It not working, if the server is in domain 🙁 Is there any trick to get it working?
Thanks in advance.
Look here, it is probably for all versions:
http://deepxw.blogspot.com/2009/04/universal-termsrvdll-patch.html
Hi I need The patch for 5.2.3790.0 (Win2003 Enterprise
English WITHOUTH SPs) to jpg2081@gmail.com
Thanks in advance and keep the excellent work.
I have the same problem, i can’t move that server to domain due to non-working TS after it. Any ideas?
Remko,
I am having issue with the patch. Can you email the patched dll to browensby@hotmail.com?
I would much appreciate it.
Remko,
I’ve try the steps, no error message but no output files can find, will I miss anything or the Vpatch 3.2 not working?
Thank you very much.. This worked perfectly on SBS 2003 R2 Standard.
omg! its woking. thx dude. you made my life so much easier, unlike m$. 🙂
i already patch the termsvr.dll, also copy to dllcatch and system32 folder. after restart my 2003 server. it still allow 2 concurrent user only. Did i miss any setting on my 2003 server. Please give me all the step. thank you very much.
Hey Remko,
Could you send me the patch for 5.2.3790.0?
wwwsphinxwww@gmail.com
Greatly appreciated!
Please send patch for .0 ver:
svedenborg@bk.ru
will praise your name 4eva 🙂
Hi I need The patch for 5.2.3790.0
Thanks in advance and keep the excellent work.
lpp71@abv.bg
Hi,
I’ve patched a Windows 2003 R2 sbs (FR).
The problem is after I’ve replaced the dll files, The remote desktop seems to not work.
It says that the client can not join the remote server…
Anyone already had this issue ?
Thanks.
Ok,
In fact I’ve copied the dll first in system32 directory then in the dll cache repository.
You have to respect the copy order => dllcache => system32
Now it works 🙂
Thanks
Hi! now work!!!! 😀
who as me, have different language, edit file whit an hex editor and search:
8BFF558BEC568B7508578BF98BCEE831FEFFFF
and replace with:
31C0C20400568B7508578BF98BCEE831FEFFFF
now for me work graet with italian language!!! 😀
Hi,
I have sbs 2003 with only 25 user limit. Is there any way to increase without purchasing another pack of 20 cals.
Thanks
Hi dear Remko! i’m from brazil and my win 2003 version is PT-BR i install the sp2 and update my S.O in microsoft update now my dll version is disparate of yours i have the 5.2.3790.3959 termsrv.dll, like everyone said i need edit my dll with a hex decimal editor, so i try do it but i do not find that 8bff… String. i’m thinking about my PT-BR version will works with english dll, maybe you have that dll in english pacthed (our not pacthed) for send me our a solution for my case.
Thx my friend for all hard work, i’know your site at 4 mounts and you help-me so much!
muriloheavymetal@gmail.com
Hello, ALL!
Can anybody help me with this Patch? It not work for me 🙁 I tray everthing..
Please writte me skype: gelezas
or email: dizmantas@gmail.com
Thank you!
hello,
could you please send me the patched dll?
I’m using win 2003 R2, hungarian version.
Can’t solve the Ts-problem.
Thanks in advance!
Cheers,
jon
it doesnt work on 2003 standar edition.
I try all metode.
Dear Remko, I have the Italian version 5.2.3790.3959 dated 17/02/2007 termserv.dll when I do the procedure I get this errorte “No Suitable patches were found” what should I do to unlock ….. not that you could help me, maybe posted the file.
Thank you in advance.
I also read the post 115 (David) would like to know how to resolve
after I patched termsrv.dll, I can’t access shared folder. Is anyone having similar problem?
hello,
can anyone send me a patched dll using sbs2003 in english SP2
termrv.dll version 5.2.3790.3959
klaas.pieters1@telenet.be
thx!!!
@Remko
i would yo ask u something
is ur patch make my terminal service unlimited
so i don’t need to buy license ??
if this what ur patch do……really u r nice man …
thax any way my friend!!!
I have the same question as abd, does the patch basically crack the concurrent connections?
Cause what I am experiencing is that the server is asking to connect it to a terminal license server in the next 80 days.
I guess this doesnt crack the CALS.
This was tested on a windows 2003 enterprise r2 server.
Could anybody help me with patched dll using sbs2003 in spanish SP2 termrv.dll version 5.2.3790.3959?
androco@hotmail.com
Please hep me!!!
Nice Work, perfect solution for my Sun Ray thin clients and windows connector
Thank You very much!!!
Hello I have a server with TS and this expired the 120 days, this patch can solve this problem?
This patch is not for Application Mode but for Remote Administrator mode.
So either switch mode or buy licenses.
is there a sbs 2008 64 bit patch likely to come in the future?
THanks
what version vpatch need to use 3.0? I think the newer vpatch doesn’t work with Windows Server 2003 VPatch file (11839)
[…] Terminal Server to allow more Concurrent Sessions: 2003, Windows XP X64, 2003 X64, 2008, […]
A have got windows 2003 sbs sp2 hungarian version, I got a message: No suitable patches were found. I have tried to modify termsrv.dll in hexeditor but it didn’t succeed. What is wrong?
Ohh. It works great. I have modified the dll but in wrog place, I have corrected my fault and now I have an unlimited rdp connection. Thx
Hi
I tried to patch my termsrv.dll file in my 2003 server. After I patched the new termsrv.dll file, I cannot connect to the server through remote desktop.
Can any one help me
Thank you
Hi Remko,
Please ignore previous message. It’s ok now. Just one question: Can it be used with thin-client?
Regards,
Vy
Hi Remko, I´ve just updated the windows 2003 server in spanish to service pack 2, tried to patch and it doesn´t work because the language. I´ve copied to my desktop the termsrv.dll file from a windows server 2003 in English with the file version 5.2.3790.3959 (srv03_sp2_rtm.070216-1710) and when I try to pactch it same error “No suitable patches……..”
Do you know what´s the problem?
Can I replace in my Server the termsrv.dll “spanish” to the version in English ? Both same versions different language.
Greetings. Abraham.
Dear Sir,
Please give me the patch of termsrv.dll i dont understand to use it, could you give one click solution ? 🙂 thank you very much Mr. Remko. GBU
Not working for me … jet …. :s
on 2003 R2 SP2
tested on 2 win2003 R2 SP2 …… and it works like a charm ….. tnx dude 🙂
i keep trying to patch and it just wont work. i did the patch and overwrite in safe mode. still limited to 2. not sure what im doing wrong?
it worked on windows sbs 2003 sp2.
You sir, are a boss. Exactly what I needed, and with these instructions I was able to do it in 20mins! 😀
Worked first time around 🙂
Dear remko,
I really great of you to come up with these patches they are really helpful. I am running a server 2003 and require to use more than 3 RDP. Therefore i would like to use your patch. As a novice with these kind of thing could you break it down for me. I have download the .pat and the vpatch program as u said. Could you now explain how to go about the program. Which is the new file, the target file and so on.
Also a step by step procedure to replace this file and how to backup in case this didnt work.
I really appreciate your work and am waiting for your reply to apply these setting.
Thanks & Regards
Hallo
Ik heb nu win 2003r2 ned geheel geupdate van deze tijd
draaien en zou graag gebruik maken van je patch .
Kan jij me uitleg geven hierover .
Alvast bedankt
bert
Dear, Thank you so much, it work like a charm in server2003 SP2..
I could not get it to work, do I just want to replace the termserv.dll in windows/system32 with the file you gave a link to below?
https://www.remkoweijnen.nl/blog/download/2003tspatch.zip
i have been use this patch for more than 6 months and i only use less than 70 sessions… now i want to use more than 70 sessions but it won’t let me log in.
I really appreciate for your respond.
Thanks & Regards
I wanted to say thanks for this workaround. I recently had to reconfigure a network for a client. My bosses told me to buy a 5 pack of Terminal Services (now called Remote Desktop) licenses for Small Business Server 2003 for our client. After buying them which was $449.50, I added them. I was able to add them with no problems, but SBS 2003 will not hand out the licenses to users. I found out a few hours later that SBS 2003 does not support Terminal Services/RDP Application mode.
Basically it was a real pain in the as*. I remoted into the server over the weekend and emailed myself the termsrv.dll file. Used your instructions to patch it. Then went to the client’s office early Monday morning and patched the server. It worked the first time. If I knew this beforehand I would not have bought the licenses, but at the same time if MS were to ever say anything about the patched server, we could always say “Well we bought the licenses that your (Microsoft) told us to buy and they are still installed on the server” I contacted MS before buying the licenses and CLEARLY told them I was buying them for Small Business Server 2003, they referred me to CDW who I also told that I was using SBS 2003. Neither company said anything about SBS 2003 not being compatible with Terminal Services Application mode.
Basically both companies just wanted my $500 bucks. I thought it was strange when I received a .iso CD image of MS Virtualization Server and another updated setup of MS Virtualization Server, but did not get my licenses until the next day. I read that you can somehow use virtualization server to setup a virtual terminal server. We were almost over budget and I did not have the time to learn that process.
Your patch saved me ALOT of pain and agony. I appreciate it and will make a donation asap.
Thank you dearly.
Damian you have to use that TS2003 zip file (.pat file) to patch your termsrv.dll file from your server.
Remko gave clear directions:
How to use the pat file:
1) install v-patch
2) from the vpatch directory launch vpatchprompt.exe
3) vpatchprompt will ask you for the following files:
– Patch file (the .pat file).
– Source file (termsrv.dll).
– Destination file (the patched termsrv.dll).
4) now replace termsrv.dll as instructed in the post & reboot
You need to copy termsrv.dll from your server and patch it using v-patch. Then copy it back to the server (in safe mode) in the order given here:
If you are going to replace termsrv.dll please note that it’s protected by Windows File Protection so you need to replace it in the following order:
1. Replace termsrv.dll in c:\windows\system32\dllcache
2. If you have the installation cd/dvd (i386) folder copied to your harddrive replace (use the compress command) or remove it there as well
3. Now rename the original file in your system32 folder and place the patched version
4. Reboot
I did not have an i386 folder on my c:\ drive so I was able to skip that step.
Hi I need the patch for 5.2.3790.0 & 5.2.3790.2845.To chatifbashair@yahoo.com
Thanks in advance and keep the excellent work.
Respect, Remko !
Works on a virtual WS 2k3 R2 EE.
Because of the impossibility to boot is safe mode, I used Rob’s method above.
Two days, and still no prooblem.
I cannot get the zip file to extract. Keeps saying file is corrupted. Am I doing something wrong?
Thanks!
Nice … Nice … Real Nice!
PLZ Help me i need it.
why when i want patch the file, vpatchprompt.exe give me error that patch its not suitable. PLZ help me, it is very vital for me
This is great, Thank u very very much
I have a SBS 03 server and i followed the instructions but recieve “No suitable patches were found”
Has anyone done this with SBS? Is it a version problem or something?
Any Ideas?
Hi Remco,
can u pls send e the patch file for below veriosn
5.2.3790.3959
shashi.kumar7@wipro.com
I see someone had success on sbs 2008, anyone try sbs 2011 yet?
Nice one buddy, worked a treat.
thanks man it’s really work for me
what i m missing any one help me plz
its says no suitable patch any solution plz describe any one plz sir
exactly i want the patch file for 5.2.3790.0 & 5.2.3790.2845. any one plz help me out
Here is a general patch command line.
If you have linux or “sed” and “cat” utility, you can do a patch for your localized termserv.dll (2003 server) :
cat termsrv.dll | sed -e ‘s/\x8B\xFF\x55\x8B\xEC\x56\x8B\x75\x08\x57\x8B\xF9\x8B\xCE\xE8\x31\xFE\xFF\xFF/\x31\xC0\xC2\x04\x00\x56\x8B\x75\x08\x57\x8B\xF9\x8B\xCE\xE8\x31\xFE\xFF\xFF/g’ > termsrv-new.dll
Can anybody help me with the dll file? I don’t see it anywhere here. My 2003 Server is in spanish if it makes a difference at all.
Thanks
Can anybody help me with the dll file? I don’t see it anywhere here. My 2003 Server is in spanish if it makes a difference at all.
Thanks
I forgot to write my email: rguifa@yahoo.com sorry for the double post
Hello! I hvae ENG version 2003 SBS SP2. I tried by instructions (using vpatchprompt.exe):
– 2003tspatch (without extension) as patch file
– termsrv.dll (5.2.3790.3959) as source
– termsrv_.dll as output.
Always got message: Patch data is invalid or corupt.
PLEASE HELP! THANKS.
hood1971@live.com
help..the destination pop-up does not appear..only two pop-ups..patch file and source file…
those who completely patched for verson 5.2.3790.3959 server 2003 sp2..please send me the patched file
lemo_reymelito@yahoo.com
thanks..
Is anyone using Altiris Deployment Console with this patch? It seems like since I applied the new dll over top of the old one and rebooted, I have been having issue after issue with Altiris. Sometimes clients won’t report to the server (occasionally NONE will report), sometimes jobs won’t run, sometimes I can’t remote into machines. Its usually at least one of these occurring at any given time. I have had a couple of these issues intermittently before the patch, but never close to this often. A reboot seems to fix one problem, but often brings a different one. Anyone have suggestions?
@Tony K: Seems highly unlikely to me since I don’t see any relationship between Terminal Services and Altiris…
@ Remko: Hmmm, I wonder if it has something to do with the fact that multiple people are logging in and using the Altiris Deployment Console at the same time (Although we were able to have 2(+ the console login) using the deployment server without the patch. I removed the patch and I haven’t been having the issues (at least that I’ve noticed. I might try patching it again and see if the issues come back.
Oh boy! That’s a hell of a patch. Thanks!
vpatchprompt.exe seems to read all the files, but it never generates me a new file. I tried making a random new file, and having the patcher save over that, but as soon as it does windows deletes it. I have tried in normal mode and safe mode on both my w2k3 server and my win 7 desktop.
Remko,
Nice job. Keep up the good work. It worked well. I will make a donation.
Thanks
hi Remko
Many thanks for your great job, this what i’ve been looking for so long
Hi Remko
Could you give me patch for my termsvr.dll 5.2.3790.0, please , I already tried every way that posible but failed always, omg.
Many Thanks
Jojon
Can you send me the dill file please for the the 2003 i have the hard drive hooked up to me lap top and can just delt the outher one and copy past the new one in ,if that would work
it is going in to windows home server Thank you
all so my i ask you if you know where the file for port setings is on the cp i want to redirect port 80 to 9191 by defalt. port 80 is blocked by my isp for seving thre has to be a way around this if you know one wifiboot@msn.com as i do not know if cpanel will block the file never tryed brittany@wifiboot.com
I have installed vpatch32.exe and upon executing the vpatchprompt.exe from cmd line, I get the error “Unable to open source file” when I select the PatchData.pat file.
This is where I am stuck at right now.
My server is a W2K3 Enterprise Edition SP2.
The version of my termsrv.dll is 5.2.3790.3959 which resides in c:\windows\system32 folder.
Please help as I need to run more than 2 TS sessions.
Thanks in advance.
Candai
Leave a reply