Forum Discussion

ML-nl's avatar
ML-nl
Copper Contributor
Dec 20, 2023

ScreenSaver / Lock Screen

We want to lock the screen in a Azure Virtual Desktop session after x minutes.  
AVD is used mainly from other than work devices, so you don't know the local lock screen settings.

 

But if the screen is being locked, the session looks like it's being disconnected (remains active in the background, untill active session timeout occurs).
The Remote Desktop client gives the folowing message: You were disconnected from SessionDesktop because your session was locked.

But how can we configure this to just activate a screensaver so the user only has to enter their credentials to get an active session again ?

5 Replies

  • RinoPROITS's avatar
    RinoPROITS
    Copper Contributor

    Are you using SSO to sign-into the session hosts?

    If so that is a technical limitation.

     

    Check out this link:
    https://learn.microsoft.com/en-us/azure/virtual-desktop/configure-single-sign-on#disconnection-when-the-session-is-locked 

  • YoojongJeon's avatar
    YoojongJeon
    Copper Contributor
    If the screen is locked on the local desktop, doesn't it go into sleep mode and lose network connectivity?
    • ML-nl's avatar
      ML-nl
      Copper Contributor
      I will just test this, but I don't have control to the end users device, it's mainly used to work from home. If there is no local lock screen, the AVD session won't be locked.
  • ML-nl 

     

    For AVD, I believe authentication is required to unlock a machine's screen during idle time

    • ML-nl's avatar
      ML-nl
      Copper Contributor
      That's fine, but for the end user it just looks like the session is being disconnected.
      Why isn't MS just activating the lock screen with a password prompt ?

Resources