A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
Hi Stuart,
interesting case. From what you described, I’d probably treat these as three separate issues rather than assuming they all have the same root cause.
The first thing that stands out to me is that a newly provisioned host gets the expected settings, while some of the existing hosts still show the old 30-minute values. That makes me suspect the effective policy state on those machines rather than the Nerdio configuration itself.
I’d compare one affected host directly with the newly provisioned one, especially gpresult, the MDM diagnostic report and the values under:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
including MaxDisconnectionTime and MaxIdleTime.
Removing the old Intune policy is one thing, but I’d want to confirm that the setting is actually gone from the affected hosts and isn’t still being applied from another policy source.
For the unexpected disconnect/reconnect events, I’d look at that separately. If the client stays awake and the session suddenly reconnects, I’d correlate the exact timestamp with the AVD connection diagnostics and check which transport was being used. RDP Shortpath / UDP versus the TCP reverse-connect path would be interesting here, as would any Shortpath-related events in WVDCheckpoints.
The sessions that remain disconnected for days are another topic again. These are particularly worth cleaning up because AVD autoscale also considers disconnected sessions when calculating capacity. Microsoft recommends using Set time limit for disconnected sessions if those sessions should eventually be signed out.
For your requirement to keep unattended processes running for at least two hours, I personally wouldn’t simply set every timeout to two hours. I’d first define how long an idle but still connected session should be allowed to run, and separately how long a session should survive once it is actually disconnected.
So my next test would probably be:
affected existing host → newly provisioned host → compare effective policy/registry state → correlate an actual disconnect with AVD connection telemetry
That should at least help narrow down whether you have a policy issue, a transport issue, or a combination of both.
Kind regards
Marcus