Forum Discussion

KEmam's avatar
KEmam
Copper Contributor
Oct 17, 2022

Windows Remote Desktop Client - You were disconnected because your session was locked

Good day,

I see a behavior with Remote Desktop client that once the machine inactivity timeout is passed , the remote session will be disconnection with a message " You were disconnected because your session was locked . Reconnect by launching your resource again " . The normal behavior is to lock the user's screen and ask for password instead of disconnecting the session .

any idea what is causing such behavior  ?

  • Suthakar700's avatar
    Suthakar700
    Copper Contributor

    Hi - Facing the same issue. Started facing the issue couple of days before

    • Suthakar700's avatar
      Suthakar700
      Copper Contributor

      mikhailf Thanks for the reply.

      I have checked the CA Session control policies and nothing is coming from there. we have not enabled the session control policy. 

  • KEmam I have an AVD lab setup that i'm testing with and this behaviro started for me out of the blue late last week.  I have the sessions set to lock after 15 minutes, disconnect after 2 hours, and log off after 4 hours of disconneced but for some reason this started.   As far as the other comment around conditional access I do require MFA after 1 hour but that only happens with the Remote Desktop App and only when connecting again after one horue is never prompts during a session.  

     

    In the end somethign has changed in the last few days as best I can tell

  • BernardVB's avatar
    BernardVB
    Copper Contributor
    Experienced the same behavior. Is there a control/setting where we can configure this?
    • Kobyahsi's avatar
      Kobyahsi
      Copper Contributor

      BernardVB we have the same issue. Whenever the screen gets locked, either after a time or manually by pressing Ctrl-Alt-End->lock. The session gets disconnected. Does anyone know how to prevent the connection from being disconnected? 

    • KEmam's avatar
      KEmam
      Copper Contributor

      BernardVB I have an open case with Microsoft but I still didn't get any solution . I will keep you all posted once I get an update .

Share