Guide: How to Enable Concurrent Sessions in Windows 7 RTM

75 posts / 0 new
Last post
Offline
Joined: 3 Aug 2010

thebasa wrote:

SP1 beta is out and this fix doesn't work at least for x64 7601. Can someone provide a new patch or it would also be helpful if someone could provide a guide on what to look for and change in a hex editor and if it remains the same or changes each time so I could manually patch termsrv and not have to wait for a new download to show up.

same as what he said... ASAP PLEASE : ]

mikinho's picture
Offline
Joined: 19 Mar 2007

See http://www.missingremote.com/index.php?option=com_content&task=view&id=5048&Itemid=232

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 3 Aug 2010

oops i guess my prob was the opposite, i dont have sp1 beta. how do i find the download link for build 7600

mikinho's picture
Offline
Joined: 19 Mar 2007

jwagman1 wrote:

oops i guess my prob was the opposite, i dont have sp1 beta. how do i find the download link for build 7600

I've updated the guide, we inadvertently updated the link.

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 3 Aug 2010

Thanks!!

Offline
Joined: 21 Jul 2010

There is no termsrv.dll in either system32 or sysWOW64. Any suggestions? I need this to work.

Offline
Joined: 30 Aug 2010

Hi! I have a strange thing here going on.. I use Win7 7600 and ... if I use the patch for that version.. I cannot log on from an other PC without having to lock the console session. I regularly install win updates so I thought maybe using the patch for 7601 would do the trick. after editing the install.cmd to skip version checking and successfully have done the dll patching.. it STILL works the old way! i can not operate the console session if an other user logs on thru RDP. what could be the problem?

Offline
Joined: 21 Jul 2010

kataleen wrote:

There is no termsrv.dll in either system32 or sysWOW64. Any suggestions? I need this to work.

Found it in WinSXS. It actually makes sense.

Offline
Joined: 9 Sep 2010

How do I disable this on my computer after I have installed it ?
pls help...

Offline
Joined: 26 Oct 2010

worksperfect

there is anyway i can see how many users connected  ?
someone can be in my pc without me know about it .

mikinho's picture
Offline
Joined: 19 Mar 2007

Use Task Manager and the Users tab

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 26 Oct 2010

thx and what about doing shadow remote  ? i mean using same mouse ..

Offline
Joined: 28 Oct 2010

Hi Everyone!

Could you help me?
I used this hack for very long type with my Win7 Ultimate x32. Yesterday I reinstall the system to Win7 Ultimate x64. RDC works great. But I can't get concurrent users on the same computer.

I have tree users at one computer. And if I login under one of the users I can't login remotely with another user without kicking off the first logged user.

I've tried to install this hack and the hack for Win7 SP1 (with modifying the cmd file to remove check for 7601). I did installation several times. I manually put the dlls to System32 and sysWOW64. I've compared the dlls with fc /b. Nothing helped.

I always get the same request to kick off currently logined user. What should I do?

My current version is Microsoft Windows [Version 6.1.7600] with all updates.

It seems that in my installation the required dll is hidden in some other place - not in system32 or sysWOW64.

Mike Garcen's picture
Offline
Joined: 1 Oct 2006

and your sure u ran the script using the "multi" command?

Mike Garcen (shadymg) MissingRemote Editor-in-Chief Windows Entertainment and Connected Home MVP (formerly Media Center MVP) Twitter @mikegarcen MissingRemote on Facebook

Offline
Joined: 28 Oct 2010

shadymg wrote:

and your sure u ran the script using the "multi" command?

Yes, it doesn't help. As I understand this multi adds a possibility to enter several times with the same login.
I've just run 'install multi' with all Admins credentials. It didn't help.

The result of the script is the following:
Source Folder is C:\Win7RDP\

Taking ownership of C:\Windows\System32\termsrv.dll

SUCCESS: The file (or folder): "C:\Windows\System32\termsrv.dll" now owned by th
e administrators group.
Granting Administrators rights
Administrators: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files
Stopping Remote Desktop Services
The following services are dependent on the Remote Desktop Services service.
Stopping the Remote Desktop Services service will also stop these services.

  Remote Desktop Services UserMode Port Redirector

The Remote Desktop Services UserMode Port Redirector service is stopping..
The Remote Desktop Services UserMode Port Redirector service was stopped success
fully.

The Remote Desktop Services service is stopping.
The Remote Desktop Services service was stopped successfully.

######################################
# Patched Already ,Config Editing... #
######################################
Enabling RDP
The operation completed successfully.
Setting fSingleSessionPerUser to 0
The operation completed successfully.
Setting LimitBlankPasswordUser to 1
The operation completed successfully.
Configuring Remote Desktop in Windows Firewall

Updated 1 rule(Drunk.
Ok.

Starting Remote Desktop Services
The Remote Desktop Services service is starting.
The Remote Desktop Services service was started successfully.

Pausing 5 seconds to give service time to start listening
Checking if Service is listening on port 3389
  TCP    0.0.0.0:3389          C2DUO:0                LISTENING
  TCP    [::]:3389              C2DUO:0                LISTENING
Service is listening
Done

It fails to change the file I think. But it was changed by me manually before:
Comparing files C:\WINDOWS\SYSTEM32\termsrv.dll and C:\WIN7RDP\64_TERMSRV.DLL
FC: no differences encountered

Offline
Joined: 28 Oct 2010

Any ideas?

elf
Offline
Joined: 7 Nov 2010

I am having the same problem. Did you ever figure out how to fix this?

Offline
Joined: 28 Oct 2010

elf wrote:

I am having the same problem. Did you ever figure out how to fix this?

Absolutely not.

mikinho's picture
Offline
Joined: 19 Mar 2007

Can you rename %SystemRoot%\System32\termsrv.dll.bak to something else, maybe %SystemRoot%\System32\termsrv.dll.bak1 and try running the script again?

Please save the output and cut\paste if it doesn't work.

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 28 Oct 2010

Mikinho wrote:

Can you rename %SystemRoot%\System32\termsrv.dll.bak to something else, maybe %SystemRoot%\System32\termsrv.dll.bak1 and try running the script again?

Please save the output and cut\paste if it doesn't work.

What is the purpose of re-running of the script if I compared binary two files termsrv and the same file from the distributive? They are identical. Also all the lines are in the registry.

mikinho's picture
Offline
Joined: 19 Mar 2007

SuperBoss wrote:

What is the purpose of re-running of the script if I compared binary two files termsrv and the same file from the distributive? They are identical. Also all the lines are in the registry.

You've mentioned that you also applied the SP1 patch and tried copying the file to other areas.  I'm suggesting you revert to a "clean" state and rerun to make potential troubleshooting easier.

Also, make sure to delete any extras you've copied to SysWOW64.  If you run the below command from %SystemRoot% you should only get two results.  1 from system32 and another from a hotfix.

dir termsrv.dll /s /a

i.e.

Quote:
C:\Windows>dir termsrv.dll /s /a /b
C:\Windows\System32\termsrv.dll
C:\Windows\winsxs\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e3
5_6.1.7600.16385_none_ea94336f6df51e09\termsrv.dll

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 28 Oct 2010

Mikinho wrote:

SuperBoss wrote:

What is the purpose of re-running of the script if I compared binary two files termsrv and the same file from the distributive? They are identical. Also all the lines are in the registry.

You've mentioned that you also applied the SP1 patch and tried copying the file to other areas.  I'm suggesting you revert to a "clean" state and rerun to make potential troubleshooting easier.

Also, make sure to delete any extras you've copied to SysWOW64.  If you run the below command from %SystemRoot% you should only get two results.  1 from system32 and another from a hotfix.

dir termsrv.dll /s /a

i.e.

Quote:
C:\Windows>dir termsrv.dll /s /a /b
C:\Windows\System32\termsrv.dll
C:\Windows\winsxs\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e3
5_6.1.7600.16385_none_ea94336f6df51e09\termsrv.dll

Done:
---
Source Folder is C:\Win7RDP\

Taking ownership of C:\Windows\System32\termsrv.dll
ERROR: The system cannot find the file specified.
Granting Administrators rights
Administrators: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files
Stopping Remote Desktop Services
The following services are dependent on the Remote Desktop Services service.
Stopping the Remote Desktop Services service will also stop these services.

   Remote Desktop Services UserMode Port Redirector

The Remote Desktop Services UserMode Port Redirector service is stopping..
The Remote Desktop Services UserMode Port Redirector service was stopped success
fully.

The Remote Desktop Services service is stopping.
The Remote Desktop Services service was stopped successfully.

The system cannot find the file specified.
Copying "C:\Win7RDP\64_termsrv.dll" to "C:\Windows\System32\termsrv.dll"
        1 file(Drunk copied.
Enabling RDP
The operation completed successfully.
Setting fSingleSessionPerUser to 0
The operation completed successfully.
Setting LimitBlankPasswordUser to 1
The operation completed successfully.
Configuring Remote Desktop in Windows Firewall

Updated 1 rule(Drunk.
Ok.

Starting Remote Desktop Services
The Remote Desktop Services service is starting.
The Remote Desktop Services service was started successfully.

Pausing 5 seconds to give service time to start listening
Checking if Service is listening on port 3389
  TCP    0.0.0.0:3389           C2DUO:0                LISTENING
  TCP    [::]:3389              C2DUO:0                LISTENING
Service is listening
Done
---

DLLs (and their baks) in system32 and WOW64 were deleted prior to script execution, after the script we can see:
---
Directory of C:\Windows\System32

22.07.2009  09:28           706 560 termsrv.dll
               1 File(s)        706 560 bytes

Directory of C:\Windows\SysWOW64

22.07.2009  09:28           706 560 termsrv.dll
               1 File(s)        706 560 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-t..teconnectionmanager_3
1bf3856ad364e35_6.1.7600.16385_none_ea94336f6df51e09

14.07.2009  04:41           706 560 termsrv.dll
               1 File(s)        706 560 bytes

     Total Files Listed:
               3 File(s)      2 119 680 bytes
               0 Dir(s)  525 286 764 544 bytes free
---

It seems that the script (or windows itself) copies the modified DLL to both of these places (both the DLLs are binary identical). But anyway the result is negative - I can't login via RDC when someone works at the computer without kicking off this person.

Offline
Joined: 3 Dec 2010

thx for those great informations !!!

Offline
Joined: 30 May 2012

How to have Remote Desktop Concurrent Session on Windows 7 Build 7600

Login or register to post comments
Website design by Yammm Software
Powered by Drupal