Issue with session locking after 5 mins while on a Teams Call and watching YouTube Video

Pradeep BR 25 Reputation points


I'm encountering an issue in my AVD environment where the idle session locks after 15 mins of inactivity. Although the GPO setting is functional, the session is getting locked after only 5 mins while on a Teams Call and watching a YouTube video. Has anyone else encountered this issue, and if so, can you please assist me?

Please let me know if you require additional details.

OS Build: 22H2 (OS Build 22621.2715) OS: Windows 11 Ent Multi-Session, Version 22H2

Regards, Pradeep B R

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,245 questions
{count} votes

Accepted answer
  1. kobulloc-MSFT 19,126 Reputation points Microsoft Employee

    Hello, @Pradeep BR !

    What should I do if my Azure Virtual Desktop session is timing out early when watching a video?

    While new scaling plans have support for controlling disconnects, this is something you would likely be aware of configuring.

    The recommendation from the Azure Virtual Desktop team is to run Resultant Set of Policy (RSoP) on the impacted VM as well as the user to see if it's either a user or machine based policy that is enforcing a different policy than expected. If it's only impacting your VM, let us know so we can investigate.

    Can please share more details on How to Run RSoP.

    Certainly! This is how you would use Resultant Set of Policy logging to gather computer policy information:

    1. Click Start, click Run, type mmc in the Open box, and then click OK.
    2. Click File, click Add/Remove Snapin, and then click Add in the Add/Remove dialog box.
    3. Click Resultant Set of Policy, click Add, and then click Close in the Add/Remove Standalone Snapin dialog box.
    4. Click OK in the Add/Remove dialog box. The Resultant Set of Policy snapin is displayed in the MMC.
    5. Click Generate RSOP data on the Action menu.
    6. Click Next, click Logging Mode, and then click Next.
    7. Click either This Computer or Another Computer, and then type the computer name.
    8. Click Select a specific user, and then click the blank space that is below the listed users. This has the same effect as clicking Do not display user policy settings in the results.
    9. Click Next, and then click Next. Only computer-specific settings are displayed.

    User's image

    If you run into any issues, please let us know in the comments so we can continue to troubleshoot this with you.

    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Pradeep BR 25 Reputation points

    Can please share more details on How to Run RSoP. The Impact is with Multiple Users.

    0 comments No comments