Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Remote Desktop Logs off on Disconnect

08 Sep 2009   #1

Window 7
Remote Desktop Logs off on Disconnect

I have searched for this but never found an answer.
I have used Remote Desktop for years with XP and Vista and was always able to work in visual studio(or any other program) stop work go home RD to my work computer and keep working. Then Disconnect and the next morning come back to my work computer and continue right were I left off. But in Windows 7 when ever I disconnect from a Remote Desktop It logs me off closing all my open programs. Anyone know how to have the same behavior as RDP for Vista or XP where I can continue working back and forth from work to home without logging off?

My System SpecsSystem Spec
16 Sep 2009   #2

Windows 7

I have the same problem - did you ever find a resolution?
My System SpecsSystem Spec
16 Sep 2009   #3


I am running win7 on my laptop and when i close my rdp session it does not log off the remote computer, it locks the session just like it should.
My System SpecsSystem Spec

17 Sep 2009   #4

Window 7
Rtm vs rc

I am using Windows 7 RC are you using the RTM?
My System SpecsSystem Spec
17 Sep 2009   #5

Windows 7

I am using RTM and have not had this problem but something I have noticed is when I sit down in front of my w7 machine after disconnecting it is not locked. There is no indication that my session is still running and any user can logon. If I logon my session and programs are still up and running. fast user switching...
My System SpecsSystem Spec
17 Sep 2009   #6

Window 7

Perhaps the RC did not include fast User Switching and that is my problem. I will wait to purchase the RTM in Oct so I dont have to do a reinstall this month and another next month
My System SpecsSystem Spec
18 Sep 2009   #7


I can give this a try - running Windows 7 RTM 32bit on my laptop and w7 RTM 64bit on my desktop.

I have been searching for a way to force W7 to wake up / stay awake during morning hours and only sleep at night - I finally found SetPower (see my newest thread in this forum) and hopefully that will solve all sorts of issues that I was having....

Grabbing my laptop now to verify if it is locking / logging off. I'll try it both ways (from 32 to 64 bit and from 64 to 32 bit) to see if it makes a difference.
My System SpecsSystem Spec
18 Sep 2009   #8


Confirmed. RTM is handling disconnects correctly - whether you go to the start orb --> > --> Disconnect or you simply click the X on the RD bar at the top.

In fact, it even tells you this:

Remote Desktop Logs off on Disconnect-rdp-disconnect.png

Since this is solved in the RTM, I am marking this thread solved as well.

My System SpecsSystem Spec
16 Oct 2009   #9

XP, 2003, Server Win 7, linux, take your pick

For my money I reckon UltraPlanet has the right answer. I came across this thread because I have the exact same issue with my work box on win XP - and the thing in common? No fast user switching enabled.

MiddleTommy what happens if you disconnect and then reconnect in 5 - 10 mins? I can reconnect in this time and still log into the same session. If I wait over an hour my old session is gone and I'm logging into a new session.

Turning on fast user switching is not an option because the XP box is on a domain...

I will keep searching...


Ps. JohnGalt yeah I get the "This will disconnect ...your programs will continue to run..." dialog in XP too but it still darn destroys the session just the same...
My System SpecsSystem Spec
16 Oct 2009   #10

Windows XP


I don't know if this help
But when i connect by RDP i make a run: mstsc / v: ip /admin ( admin log you on console, like you logon locally) i hope this help
My System SpecsSystem Spec

 Remote Desktop Logs off on Disconnect

Thread Tools

Similar help and support threads
Thread Forum
Remote Desktop Connection defaults (Disconnect confirmation)
Windows 7 Professional. All the latest updates, etc. I use Remote desktop Connection(s) to connect to 6 headless 2008 R2 servers. Recently, when I clicked on the "X" to disconnect, I made the mistake of ticking the block that said "Do not ask again" for the disconnect CONFIRMATION. Now when I...
Network & Sharing
How to find Device Disconnect event in Win7 logs?
Hello! I have a PC I assembled last June. After I loaded it up with my applications and connected my devices I began getting device disconnect sounds as well as a few device connect sounds. I've been troubleshooting by disconnecting all devices then adding devices back one at a time to try to find...
Hardware & Devices
Disconnect from remote desktop session via Live Mesh without locking?
Whenever I use Live Mesh, it locks the computerand quits Windows Media Center. Is there anyway of setting it so that I can log out with WMC running and the computer unlocked? Thanks.
Network & Sharing
Remote Desktop Automatically Logs Me Out Each Time I Connect
I'm encountering a very frustrating problem connecting to my office PC (which is Windows 7 Professional). No matter what client I use (Windows 7 built in remote desktop from a W7HP machine, Remote Desktop Client on Android, etc.) when I log on to the host machine it re-logs me on. Basically it...
Network & Sharing
Remote desktop connection - one logs off
I have two computers one laptop one desktop. Just connected to the laptop via RDC. The laptop logs off on my laptop, I can view the RDC on my desktop. Is it possible to stop the laptop from logging off?
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:13.
Twitter Facebook Google+