Scenario:
I am at work. I want to remote desktop into my machine at home. Problem is, my 5-year-old daughter is playing games on Starfall.com (or something similar) on her (non-admin) account. When I attempt to connect I see this message:
Another user is currently logged on to this computer. If you continue, this user has to disconnect from this computer. Do you want to continue?
I click Yes and then see
Please wait for 'UserName' to respond
This presents my daughter with an Allow/Disallow dialog on whether to let me connect. She clicks Disallow (or No or whatever it says) and then I see
'UserName' has denied your request
Question:
How can I force my account to log in and disconnect her session?
Additional Info:
My account is an administrator account. My daughter's account is a non-administrator account. Home machine is Windows 7 Pro with fast user switching enabled.
NoteIn my case, turning off fast user switching is not an option. Kyle pointed out in his answer that turning it off would allow the admin to force another user off. I'm accepting his answer and it identifies the issue, even though it doesn't solve my exact problem. I need to keep fast user switching's ability to change accounts without closing the previous account's session over being able to force myself to connect.
05 Answers
Turn off fast user switching, it causes the prompt box to appear for the other user regardless of their group memberships.
EDIT: I could not find anything in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal Server Client (or HKCU) that will disable this behavior.
Additional Info: Here's an article from MS on the how RDP acts with and without Fast User Switching enabled, for various user scenarios. It's for XP, but the rules still apply.
5Try the /admin switch:
Computer: brettbox /admin
(or, on Start - Run:
mstsc /v:brettbox /admin)
3You could try using Concurrent RDP Patcher. Here's a blog post about it:
There is a tool called Concurrent RDP Patcher which is meant to enable concurrent remote desktop connections, which means multiple logons per user. When you log in using the Remote Desktop Connection, the computer that is being controlled will show a message saying “Logged on remotely from COMPUTERNAME”. If you click on the user icon to login, the remote connection will be terminated with the popup:
Here's the original announcement referenced in the blog post. You should probably use some caution, as with all software with unknown origin that patches system files.
LogMeIn has a free version of their product that works quite nicely for stuff like this. When you login to your account and then your computer, if someone is on it (i.e. your daughter), you will just share the session.
Not RemoteDesktop per se, but a good workaround to the issue you describe with no registry hacks necessary. Although, you will need to setup an account and install a plugin on the target computer.
I know this is a 2-year old topic, but I have a solution for it: Use Chrome Remote Desktop. You are able to take control of your remote machine and switch accounts without having to use RDP. It is secure and works wonderfully. An added bonus is that you actually see what is going on while you are trying to login, whether it is your daughter or your wife using it, and whether it might be prudent to wait.