Remote Desktop Logs Off User After Disconnect

Proposed Remote Desktop Logs Off User After Disconnect

  • Monday, October 05, 2009 9:17 PM
     
     
    Hey guys,

    Just installed Windows 7 Enterprise on the desktop at work. In the past I have been accustomed to simply locking my session when I leave, then connecting to my session via remote desktop on my laptop. The first time I connect, all of my programs are running just like I left them. However, after I disconnect my remote desktop session (either by simply closing the session, or clicking Orb > Disconnect), it appears that I am logged off.

    It appears that the log off takes a while to happen; that is, if I disconnect from my remote desktop session, then immediately reconnect, everything appears normal. However, if I wait a period of time, say an hour, then when I reconnect, I'm starting with a fresh log on to my user profile. Same thing if I disconnect from my remote desktop then come to the office the next morning - I have been logged off of the Windows 7 machine.

    I have checked the Event Log and it does not appear that the machine is rebooting; simply logging off. I have also checked the local policy settings related to remote desktop - all are set to "Not Configured". The way I read the help, that should be fine for my desired results.

    The policies I have looked at are:

    Local Computer Policy | Computer Config | Admin Templates | Windows Components | Remote Desktop Services
    Local Computer Policy | User Config | Admin Templates | Windows Components | Remote Desktop Services

    This is particularly annoying. I have been a long time XP user that would work, go home and work some more, then come back to my machine still logged on and ready to go.

    Any ideas?

    Thanks,

    gl

All Replies

  • Tuesday, October 06, 2009 9:30 PM
     
     
    I tried to reproduce this but it isn't happening to me.  Is disconnecting, wait 30 minutes, reconnect long enough to trigger this behavior for you?
  • Wednesday, October 07, 2009 7:16 AM
     
     
    Hi Razorback72764,

    I also cannot repro the issue on my side.

    Are you using a RTM version? I noticed someone who had similar issue in RC version and do not have it on RTM version.

    Thanks.
  • Friday, October 16, 2009 8:38 PM
     
     

    Hi folks,

    I found this thread because I'm having the exact same issue with win XP.

     

    I can leave my machine logged in but locked at work and go back next morning enter my password to unlock the console and everything is as I left it.

    I can RDC in from home in the morning to check something and again everything would be how I left it the night before, but now, when I disconnect, by the time I get to work and log in, my apps have been closed and I'm logging into a new session.

    Really annoying because I can't leave a long running process going from a RDC connect because disconnecting will destroy the session.

    And Just like Razorback72764 says, if i disconnect and reconnect in 5 mins then everything is good. For me I recon the session is destroyed around an hour of being disconnected but I don't know what is doing it.

    Thanks,

    A.

  • Monday, November 09, 2009 8:18 PM
     
     Proposed
    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.
    • Proposed As Answer by kirchnerd Friday, March 26, 2010 4:15 PM
    •  
  • Friday, February 05, 2010 10:04 AM
     
     
    I am having this issue with Win7 pro. I connect via VPN and my desktop is still as it was from say 12 hrs previously but after logging on actual at the pc it is though it had restarted.
    For example, i logged on at 8am this morning via VPN and when i got to my desk roughly 9:15 the screen and logged on it was as though i hadn't been logged on at all and had in fact just started my pc  up.
  • Saturday, February 06, 2010 6:22 PM
     
     Proposed

    The same thing is occurring with Vista Business SP1. I did not do an upgrade from XP Pro. I did a reformat & clean install. I have checked Active Directory settings and the above mentions attibutes are all set to Never. My admin checked the logs and does see the Logoff on my box.

    Has anyone had any luck with this? Sorry I am not adding any new information other than it occurs on Vista Business as well as 7.

    • Proposed As Answer by Marek Kurty Wednesday, April 18, 2012 11:04 AM
    •  
  • Sunday, February 21, 2010 1:58 AM
     
     

    may i know what account you are using to log in remotely?

  • Sunday, March 14, 2010 11:41 PM
     
     Proposed
    Do you have ssd hard disk on computer with this issue?
    • Proposed As Answer by kirchnerd Friday, March 26, 2010 4:04 PM
    •  
  • Friday, March 26, 2010 4:07 PM
     
     

    Sorry.  I did not intend to proposeDonMucios' post as an answer.  Please Change this back.

    I believe Nader2020 is on the right track. However, in my case it was on Windows Home Server and the options were under the "Sessions" Tab of User Properties.

    I hope this helps and sorry for the screw up.

  • Monday, July 05, 2010 11:22 PM
     
     
    I am experiencing this same problem with Windows 7 Enterprise x64 (just in the past couple of weeks).  All session options were set to never.  I have set them to two days to check whether it fixes the problem (and will change them back again if that works).  Has anyone else found an answer on this?
  • Thursday, October 14, 2010 10:55 PM
     
     Proposed

    Hi, I had exactly the same problem also on Windows 7 Enterprise x64.  I found that if I change the Local Security Policy under Local Policies->Security Options->"Interactive logon: Do not require CTRL+ALT+Del" to Enabled, the problem dissapears.

    • Proposed As Answer by Larrynjr Monday, July 25, 2011 9:31 PM
    •  
  • Thursday, January 06, 2011 5:57 PM
     
     

    I had/have the same problem. Did the fix on both 7-Ent and XP (sp3). Worked on Windows 7 machine, not on XP.

    It didn't used to do this months ago (maybe May 2010), then I believe some "update" changed this.

    Any help on the XP one?

  • Thursday, March 17, 2011 7:28 PM
     
     

    I'm having this same exact issue.  My desktop is windows 7 and my laptop is windows xp.  Remote desktop from my laptop to my desktop PC works fine.  Then I disconnect my RDP session, and say try to log in later in the evening/or the next day and it doesnt work.  get back to my desktop to see that it has logged me off and all my programs are closed... I can't change the "Interactive logon: Do not require CTRL+ALT+Del" to Enabled, because it is greyed out ... is this really the only fix?  Anyone still having this issue?

     

    Please help...

  • Thursday, March 24, 2011 4:17 PM
     
     

    What account do you use to connect fron Windows 7 computer and from Windows XP computer

    Is it the same account?


    Best Regards, Ilya
  • Monday, July 25, 2011 9:32 PM
     
     
    I have been having this trouble from my Win7 Pro computer to a Windows 2003 server.  Enabling CAD for Interactive logon fixed this for me.
  • Friday, May 11, 2012 12:48 PM
     
     

    Here what worked for me finally.  

    To ensure that only the original client can reconnect, edit the fillowing registry key:

    HKLM:software\policies\microsoft\windows NT\Terminal Services\fReconnectSame = 1

  • Thursday, June 14, 2012 11:53 AM
     
     
    i am having same issue with MAC RDP client....