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

Pradeep BR 25 Reputation points
2023-11-20T13:42:09.53+00:00

Hello,

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,513 questions
{count} votes

Accepted answer
  1. kobulloc-MSFT 26,241 Reputation points Microsoft Employee
    2023-12-02T00:36:45.1466667+00:00

    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:

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/group-policy/use-resultant-set-of-policy-logging

    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
    2023-11-30T09:03:06.55+00:00

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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.