Great work guys! ![Smile [:)]](/emoticons/emotion-1.gif)
Did anyone applied the new patching instructions yet (below) ?
Here is an enhanced version of the patch that adds one more byte:
C:\Windows\System32>fc /b termsrv_patched.dll termsrv_rtm.dll
Comparing files termsrv_patched.dll and TERMSRV_RTM.DLL
000150D8: BA 3B
000150D9: 00 91
000150DA: 01 20
000150DB: 00 03
000150DD: 90 00
000150DF: 89 0F
000150E0: 91 84
000150E1: 20 0C
000150E2: 03 CA
000154BF: 90 43
C:\Windows\System32>
with this additional byte terminal services will check the registry HKLM\System\CurrentControlSet\Control\Terminal Server\fSingleSessionPerUser and if will reconnect to the existing user sessions if this is 1 or create a new session if this is 0.
To patch the file you need to use some kind of hex editor. Make sure that original version and patched version differ in exactly this locations by verifying with fc. Also to overwrite termsrv.dll you need to change the file’s owner and permissions as by default the ACL allow write only for TrustedInstaller.
Did anyone try it on a 64-bit version yet? I looked in the termsrv dll and it looked different from the 32-bits file. So I guess the patching should also be different?