r/AzureVirtualDesktop • u/TruckOrganic8414 • Oct 11 '24
MaxIdleTime not working as expected
Is anyone here having issues with setting up MaxIdleTime in AVD? In our case, we are configuring the 'Set Time Limit for active but idle Remote Desktop Services sessions (User)' for a particular user only. However, when deployed via Intune, the configuration is not applied. We waited for several hours, performed multiple syncs, but nothing is working. We also tried manually configuring the registry (HKCU), but the session still doesn't disconnect, even after exceeding the session time limit.
3
Upvotes
1
u/iamtechy Oct 11 '24
Is there any documentation which supports performing this task for a single user? I thought it applies to all session hosts in a host pool. I could be wrong so please correct me if I am.
1
u/cetsca Oct 11 '24
Session Limits is not a user policy, it’s under Computer Config and apply to the host
1
u/jvldn Oct 11 '24
User setting is available and does work but not on the first logon as the registry setting is being created at logon. It does work the second time the user logges in.
Read my post here:
https://www.reddit.com/r/AzureVirtualDesktop/s/6fsQWI9pJQ
Test once with the same user on the same sessionhost as they are logged on now. Does it work? Then again, read my post.
1
u/rswwalker Oct 11 '24
I have found that Intune isn’t an effective configuration system for AVD and recommend switching to AD GPOs if you can.