Prevent user to disconect already loggen in user while loggin to Win 7 via RDP
Good day ! Please help!! An example: I have one Win7 ent x64 desktop that service several users for various tastings. They are connecting to it via RDP. All Users are belongs to Remote desktop users local group only. And a problem is when one user has logged in to machine another user can kick him off while trying to log in to the same station via RDP. Of course he got and alerts that another user currently logged in to this station but he has ability to kick him of. Previously on Windows XP Users who were belongs to Remote Desktop Users local group doesn’t has such ability and only saw message that some user are already logged in. I've tried to search over the WEB but beside disable fast user switching (haven’t helped) I haven't find any useful info. Any Information would be appreciated Thanks a lot In advance!!!Alex Kaganovsky
March 2nd, 2011 10:02am

Hi, Do you mean you do not want another user has the "kick of" permission? Or you want the two users can use the remote desktop at the same time? Only an administrator can kick off another user, in addition, a standard user can kick off another logon session belonging to the same standard user. This is by design. Refer to:http://technet.microsoft.com/en-us/library/cc505913.aspx If you want to enable multi user access, please check this: Concurrent User Sessions for Remote Desktop on Windows 7 Regards, Miya Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information. This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2011 3:42am

Hi Miya! Thanks a lot for your reply. That's a point that I do not want another user has the "kick of" permission. In My example i have 2 users that only belongs to Remote Desktop local group on Win 7 machine and when lets say USER1 logging in to this machine via remote desktop and working on it USER2 doesn't know that and tries to log in to the same Win 7 machine. He see the message that say's that USER1 already logged in and If "...you'll continue this user has to disconnect from his session. Do you want to continue?" Then I got 2 buttons Yes and No, And if click on yes The USER1 disconnects from his session and USER2 logging in - That's i want to prevent. On WinXP if both Users were belong to Remote Desktop Users local machine group and if one of them were already logged in and second one tried to log in to via Remote desktop he only got a warnnig message that oner User is currently logged in and he cannot continue. That's what I want to achieve in Win 7 situation. I've tried to disable Fast user switching but it doesn't help Thanks a lot! AlexAlex Kaganovsky
March 6th, 2011 3:05am

Hi Alex, I find a mothod that the second user cannot "kick of" the first user. Do you only want one user access the remote destop at one time? If so, you can set the Group Policy to limit the number of the connections. Open the Group Policy Editor, Locate to: Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections On the right pane, double-click Limite number of connections, click Enable, set the RD Maximus Connections allowed to 1. In this way, the group policy restricts the second user to log on the remote desktop if someone is using the remote desktop. If you want to allow more than one users to logon without permissions, follow my last reply to enable multi users logon. Regards, MiyaThis posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 7th, 2011 4:43am

Hi Miya Yes you’re right that I can prevent login more that1 by GPO But doing that brings another unwanted issue. If I’ll enable this setting and USER1 will be logged in to machine via RDESKTOP when the USER2 will attempt to log in to the same machine he will get an error look like message that says that “This computer can’t connect to the remote computer….”, And this message usually appears when target machine is down or some DNS name resolution problems or has network connectivity problems. Try to imagine for example You and I using same Win 7 machine remotely just to make some long tests and you are logging to this machine and perform some test that you know it should run for 30 min. Then you leave this machine after starting the test. Me from other side didn’t know that you’re actually logged in to and trying to login. I have got the ability to kick you of, in the first example, or if the our local SYSADMIN has set an GPO which limits number of Remote desktop access to 1 I’ll got the error message that looks like the remote machine has some networking problems. And now try to imagine that you are the SYSADMIN and you have 15 Win stations and around 100-150 users who using this machines remotely. Can you imagine how much call you’ll receive if someone will forget to log out remotely from Win 7 But the worst is as I understand it’s by Microsoft design L Thanks a lot for your help!!! Alex Kaganovsky
March 7th, 2011 7:54am

Hi Alex, Glad the GPO could help you prevent the issue. Since it's a design feature, if there's any udpate about this situation, I will update to you as soon as I know. Regards, MiyaThis posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2011 1:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics