How to Enable Concurrent Sessions in Windows 7 Service Pack 1 RTM

Feb 25 2011

Please Read

The script has been updated. The following now works properly:

  1. multi cmd line switch
  2. Home Premium
  3. Non-English Operating Systems, no need to change the script

Sorry for any inconvenience caused.

If you've been following MissingRemote for a while, you know one of our most popular series of guides is Enabling Concurrent Remote Desktop sessions. Continuing that trend we have an updated process below working with the RTM (Official Release to Manufacturing) version of Windows7 Ultimate, Professional, Home Premium and Enterprise Editions, x86 & x64 build 7601, Service Pack Build 1130.

One of the most popular articles ever at MissingRemote.com has been our guide on how to enable Concurrent Sessions for Windows Vista. For those unaware of what it is, enabling Concurrent Sessions allows you to Remote Desktop into a system that someone else is on, under a different user account, and access the system without kicking the user off. I, for example, use the feature to have MCE running on my Television, and then I remote into my main user account to access all my files without interrupting my MCE session. Special thanks to Mikinho for compiling the package below and making this all possible.

userscreensmall.jpg

***DISCLAIMER***

The following files and instructions are provided to you at your OWN RISK!! Understand that it is replacing important files, and as always, anything can happen. That being said, if you do have a problem, we have a fantastic community here to help you
rdp1

INSTALLATION INSTRUCTIONS (READ CAREFULLY)

1. First, Download the file attached below (you will need to be registered and logged in.

2. Once downloaded, extract the files into a directory (for the purposes of this guide, it will be assumed that the files have been extracted to the folder C:\Win7RDP )

3. Open Windows Explorer to the above folder

4. Right Click on "install.cmd" and select "Run as Administrator"

5. Wait for the script to run entirely. At the end, you should see something similar to the below...

rdp.png
 If you executed the command successfully, you should see this screen.

EXTRA ABILITIES

For 99.9% of folks, the above steps will be exactly what they are looking for. However, if you want to customize the abilities a bit, there are certain command strings you can run in addition. To do so,you will need to open a Command Prompt with Administrator Privileges(Start > Run > CMD > Right Click "Run As Administrator"). The other available options are: 

-? Show this help
help Save as -?
multi Enable multiple sessions per user
blank Enable remote log on for user accounts that are not password protected

For example, if you wanted to Enable multiple sessions per user, you would follow these steps:

1. Launch a Command Prompt with Administrator priveleges (Start > CMD > Right Click > Run as Administrator)

2. At the C:\Windows\System32 prompt type "cd\Win7RDP"

3. You should now be at the prompt C:\Win7RDP>

4. At the prompt, type: install multi

We hope you have enjoyed this guide from MissingRemote.com! If you have any questions, comments, concerns feel free to post in our forums link below.

Related Articles

Comments

darn,

i wonder why it isn't working on y dutch Win7 Ultimate (x64),

after  i updated to SP1.

seems the only option for me is to re-install my HTPC Sad

and don't install SP1

thank you.

it works perfectly.

 

I have the same exit problem when trying to connect to the Win7Home Premium machine since the SP1 install. I've tried all the patches and suggestions, but it still doesn't work.

I have the same exit problem when trying to connect to the Win7Home Premium machine since the SP1 install. I've tried all the patches and suggestions, but it still doesn't work.

Can confirm it doesn't work for me either Sad  I'm running Win 7 Home Premium 32 bit English (UK) with SP1 installed earlier today.

 

Greetings,

Patched worked a treat until now. I have Windows 7 Pro, SP 1 V 6.1.7600 and upon running the install with multi switch I get:

 

Your operating system is not supported

Only for Windows 7 Build 7601

Press any key to continue . . .

 

Loved your fix, thanks for all your efforts. Any ideas on the new issue?

Cheers,

Paul

Can you launch winver and let me know what it says there for your version.

From your post it doesn't sound like SP1 applied properly.

Not sure why you need this patch for Win 7 Professional?  RDP works out of the box... Undecided

Sorry Michael,

Too many hours looking at displays and using RDP. I was running on my desktop, not the true target. Got the systems confused. I will be testing on Windows 7 Home Premium this coming week and will advise.

Cheers,

Paul

Sorry it took me so long, I was over complicating something.

It is fixed now.  The below now works:

1- multi cmd line switch

2- Home Premium

3- Non-English Operating Systems, no need to change the script

You do NOT need to remove any previous backups.  Backups are per build now.  Please let me know if you have any issues.

i can not confirm this.

still the same issue (w7 hp ger sp1 x86).

and the usergroup, servicename and firewallrules in the script just matching english os.

should the download from page 1 be up2d8t ?

any way many thanx for doing the patch.

It should be depending on what you last downloaded you may have gotten it from your browser cache.  Can you re-download?  I've renamed the filename to prevent any caching.

Working with Win7 Home Premium x64 SP1 German:

- Run an administrative command line

- cd into the directory where you've extracted the archive

- run "install multi blank" for maximum pleasure

I'm still having issues.  When I launch the client RDP I get prompted for a username/password then when I hit enter it just disappears.

I'm on Win 7 Home Premium SP1 32bit English UK.  In the Event Viewer on the machine I'm trying to connect to I can see a Logon and an immediate Logoff.

I've dropped all the firewalls down so that's definitely not the problem.... Help!

A lot of thx.

Working on Win 7 Ultimate x64 SP1 language spanish, you save my life Laughing

Thx

Wanting to throw out another confirmation that this worked great for me - Win7 Home Premium with the service pack (downloaded thru WinUpdates).  I never understood the point of leaving this out of Home Premium, thanks for making it possible!

I copied the file to C:\something and ran install.cmd from the command promt - as administrator. Home Premium , swedish edition.

And it worked ! At least I was able to connect - I will check the rest of the functionality tomorrow.

 

Many thanks, great job !

I had the problem on Home Premium where RDP exited from the client as soon as I connected.

 

Issue Resolved!! Thanks Mike

This patch is simply awesome... can't thank you enough!!!  I can't imagine not having this capability now that I have been hooked on it for years!

I did have one very minor edit to get the install script to pass the EditionID check on one of my machines with Windows Ultimate N.

Thanks for the feeback Jeff.  I'll add that.

I can confirm the patch now works with german version of Windows 7 Ultimate. However, there is still one bug in the script where globalization does not work.

There is no group "Administrators" on german versions of Windows 7, that group is called "Administratoren". While this is no show-stopper, I'd just like to inform that this little bug still exists.

Great work anyway, thumbs up! The only thing missing that would make this patch perfect is to allow Aero Glass Remoting regardless of operating system used for establishing the connection.

I know but I thought it was an acceptable error Smile

What I did was first grant ownership to the current user and then Administators (for English locale).  The ICACLS command supports WellKnownSids but the Administrator group SID is unique, it is built from a RID; ICACLS does not support RIDS.  I could write an application that does it (I've got a few I've written already that does that) but I didn't want to add an executable to the application.

Has anyone gotten aero glass in home premium SP1 to work?

All I saw in this post was people complaining.  I didn't even see what the solution was.

tried the V2,

still getting screen where it tells me there's another user and he needs to be kicked off.

it's like the .dll isn't working somehow.

going to re-install and make a image of my system before updating to SP1 and hope it will work then.

As said before connection worked just fine after using your last version of the script......(Win 7 HP SP1 , swedish). But....  shared clipboard dont work and also no local drives visible together with host drives - I have checked them in the client before connecting.Might of course be something else in the setup? Security things blocking ??

Any Ideas ?

(I am "remoting in" from XP machine. When taking it the other way (from win 7 to XP host) everything works.)

Can you verify that rdpclip.exe exists in %SystemRoot%\system32 and if you go to the file Properties - Details tab - File version is 6.1.7601.17514?

Thanks for the update!

 

I'm still new to this but i read that someone managed to get vnc like experience with this patch. As in user a remotely connected to user b and whatever user a does remotely can be seen on user b's monitor. How can i achieve this affect?

 

I followed the instructions as well as the "install multi" command but it seems i now i have 2 seperate sessions. User b doesn't get booted off now, but user a has a new session than the existing session on user b.

okay i think i found out but it keeps giving me bsod's Sad.

From user a you go into cmd and type "shadow 1", then on user b you will be asked if you authorize this request and you click "yes". At this time i click yes and the computer stalls. Such a bummer, i really like the way remote desktop connection handles the resolution on the laptop because trying it on a vnc program only deals with the native resolution of the remote computer (which is 2560x1200) which makes scrolling around the remote screen a nightmare!

Quote:
From user a you go into cmd and type "shadow 1", then on user b you will be asked if you authorize this request and you click "yes". At this time i click yes and the computer stalls.

Are you sure it stalls?  Next time you try, hit either Alt-Tab or Alt-PageUp.  If Media Center, or any fullscreen exclusive DirectX application, is running in the foreground then you will see a black screen.

Note: It is also "easier" to use shadow console rather than the session id.  It used to be that console was always sessions 0 but that is no longer true.

What is your end goal in using it this way?  I may be able to suggest a better alternative.

Quote:
asked if you authorize this request and you click "yes".

If you don't want to be prompt you can disable that via a registry setting (you can also set it via a Group Policy)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

"Shadow"=dword:00000002

You can use the follow settings for "Shadow":

0: No remote control allowed

1: Full Control with user's permission

2: Full Control without user's permission

3: View session with user's permission

4: View session without user's permission

Re: Post #122

Hey Michael, when i say it stalls, it gives me a BSOD on the patched rdp pc (win7 x64 ultimate) as soon as i click yes. I tried it a few times and each bsod gives me a slightly different message or error code. I'm not running any media centre's or anything special, it's a very basic setup. My aim is to get vnc-like abilities to control the pc with my laptop so that the remote session from my laptop is mirroring or cloning my mouse gestures to the pc monitor. I like this over vnc programs since the scaling works really well on rdc. EG. my laptop has max resolution of 1600x900 whereas my pc monitor's (native) resolution is 2560x1600.

I also would like to know if it's possible to do the reverse and show whatever i'm doing on my laptop and have my laptop's screen come up on my pc's monitor?

 

I input this as a key and as a string, and I input it at that location with in the directory.  I am still getting the permission request.  It is in proper syntax, and I have selected the 00000002 - for full control without permission.

can you give me just a bit more detail in how to make this registry setting work?

As always I appreciate the knowledge and time

Got it, redundant with the group policy and the registry edit.  it is all working wonderfully. Had to install a cracked update for 7 Ultimate but it all worked out. 

 

Michael- big thanks man, very helpful place- good on ya

Is there a way to see if someone else is logged in on the PC?

Worked for me, Win 7 Pro SP1 Smile

 

Yes but you'll need to allow RPC access first.  So on the system you want to control, the HOSTPC, set the below registry key.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]

"AllowRemoteRPC"=dword:00000001

As the name suggests, this allows Terminal Services (aka Remote Desktop Services) to listen and accept RPC commands.

After doing that you you can use qwinsta.exe from a command prompt to see who is connected. i.e.

qwinsta /SERVER:HOSTPC

Let me know if that helps.

i just bring up task manager and click the Users tab...

 

Was working for me using UniversalTermsrvPatch_20090425 but SP1 nuked that.

Have installed this using install multi in an elevated prompt and it's not working. If I RDC in as my main user I take over the console session. If I RDC in as a new user I'm told I need to log the existing user off.

Win 7 Ultimate x64 UK English.

I sometimes wonder if Microsoft employees use the products they write. It would surely take only one member of the MCE team using this product at home to know that they need to allow 2 logins on MCE machines, one for watching TV and one for doing remote maintenance!

Service Pack 1 knocked out my RDP server capability, so this is much appreciated. I'll try it out as soon as I can get some hands-on time on that machine.

Hi Michael,

Thnks for the V2 patch! Works fine here with Win 7 x64 Home Premium Dutch after installing SP1.

To be sure I renamed termserv.dll.bak before executing the patch.

So far it works as it did before SP1!

Thnks again!

 

yepp, v2 works now for me too (w7 hp sp1 ger. x86 )

many thanx, excellent work.

hmm,

re-installed my HTPC because it didn't work after SP1.

so after re-install and all updates except SP1 it still doesn't work.

i woder if some other of the latest patches broke something

What exactly isn't work and I'll go from there troubleshooting.

Are you using two different accounts or a single w/ multi switch?

I have not yet installed this on a Home Premium version and have seen various posts relating to remote aero glass, remote audio, etc but it is not clear to me what is the current capability.

After installing this patch, does Home Premium have the full RDP capabilities of Ultimate?  If no, what are the differences/limitations?

No, I don't have Aero Glass or Remote Audio for Home Premium enabled.

I have Aero Glass disabled on my HTPCs so I didn't look into.

For Remote Audio, I know the bits to adjust but haven't yet.

well don't know what happend,
but i got it working on Win7-Ult.-RTM X64-DUTCH(No SP1),

i'm using 2 accounts.
so that my wife and daughter can watch stuff,
while i'm doing some background task like copying stuff or something.
and sometimes i need to remote control on the main account.

next thing i'm going to try.

make a diskimage of my OS and put SP1 on it.
and see if the patch works.

oh btw i also needed to apply the following,
because when doing a remote control it asked the main account if it should allow it,
and i don't have a keyboard on my HTPC.

1. Type 'gpedit.msc' into the Start Search bar.
2. Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
3. Double click on "Set rules for remote control of terminal services user sessions", set to Enabled.
4. On the section below under Options, choose "Full control without users permissions".
5. Reboot (or run gpupdate /force at a Command Prompt.
6. Now log into the HTPC with your separate account as before.
7. When logged in, open a command prompt with admin priviledges and type "shadow console".
8. After a few seconds you should be connected to the same session as the main user.

 

 

Worked on 4) Win7 Ult x64 SP1 PCs for me - THANKS

Also, to add something I use but haven't seen mentioned, you can run taskmanager as admin (otherwise it fails sometimes) and then go to users tab and right click on the other user and select remote control and both of you can look at and control the same screen at the same time.

I do this with my parents for tech support and do it on my kids to see what they are up to in real time Smile

Responding to # 119. Shared clipboard started to work  after rebooting again.

The rdpclip.exe is there and the same version as you mention.

But still the  local drives from the client PC will not show at the remote even though ticked in the box in the client RDP window   ( They are visible if I connect to other XP machines using the same client).I have tried with other XP machines connecting to the win 7 machine with the same result -  connects, clipboard working, but local drives not visible. Is there some settings in win 7 to make them visible ?

And again, thank You for all your work - it is really appreciated.

When i say it stalls, it gives me a bsod on the patched rdp pc (win7 x64 ultimate) as soon as i click yes. I tried it a few times and each bsod gives me a slightly different message. Last message was "BAD_POOL_HEADER". I'm not running any media centre's or anything special, it's a very basic setup. My aim is to get vnc-like abilities to control the pc with my laptop so that the remote session from my laptop is mirroring or cloning my mouse gestures to the pc monitor. I like this over vnc programs since the scaling works really well on rdc. EG. my laptop has max resolution of 1600x900 whereas my pc monitor's (native) resolution is 2560x1600.

I also would like to know if it's possible to do the reverse and show whatever i'm doing on my laptop and have my laptop's screen come up on my pc's monitor?

 

Thank you for putting in the time to develop these scripts and patches. It works great and I appreciate it.

Thanks alot !!! Latest version fixed the issue. RDP now working on Windows 7 x64 Home Premium SP1 RTM English !!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Website design by Yammm Software
Powered by Drupal