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

17 Nov 2009   #11

Window 7
Found My Problem

I just installed the RTM of windows 7 and used the remote desktop for the first time last night. This morning my computer was logged off and all my programs closed. I did a quick search and found
Remote Desktop Logs Off User After Disconnect

"I had similar issues when I upgraded to Windows 7. Check your active directory for user properties, under sessions make sure End a disconnected session, Active session limit, and Idle session limit are all set to never."

Sure enough my User in Active Directory at work was set to log off after 2 hours when I Disconnect.

I sure hope this solves the issue. Perhaps this was never a windows 7 issue? I think this was a server 2008 issue where the defaults are different from server 2003

My System SpecsSystem Spec
02 Oct 2011   #12

Windows 7 32 Bit

I had this same issue, had nothing to do with AD settings. Steps to resolve - you will need admin rights to the machine you are RDPing to

  1. Open gpedit.msc
  2. Browse to Computer Configuration --> Administrative Templates --> Windows Components --> Remote Desktop Services --> Remote Desktop Session Host --> Session Time Limits.
  3. Enable the "Set time limit for disconnected sessions" and set it to Never
My System SpecsSystem Spec
11 May 2012   #13

Windows 7 Ultimate

I know this fix for me. Ensure that only the original client can reconnect, edit the following registry key: HKLM:Software\Policies\Microsoft\Windows NT\Terminal Services\fReconnectSame = 1
My System SpecsSystem Spec

30 Jul 2012   #14

win 7
The Answer via microsoft

How can I disconnect from a Remote Desktop session?
To disconnect without ending your Remote Desktop session
  • You can temporarily disconnect from a session by clicking the Close button on the connection bar (the horizontal bar at the top of your screen). This leaves your programs running so that, next time you connect, you can continue where you left off.
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 15:30.
Twitter Facebook Google+