question

Roundtree-1554 avatar image
0 Votes"
Roundtree-1554 asked Prrudram-MSFT commented

Azure Session Host always displays a disconnected WVD

when a user disconnects from a wvd the session host pool continually shows the wvd as disconnected, the host never removes the disconnected wvd

azure-dedicated-host
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Roundtree-1554,

Thank you for bringing this issue to Microsoft Q&A platform.
How does the user disconnect from wvd? Is it a proper log-off or the WVD session is left to go to a sleep mode? Has it always been this way or you noticing this after any recent changes ?
Have you tried any troubleshooting like trying to log off a user session or remove WVD session? If not, can you try the steps from here


0 Votes 0 ·

Hi Prrudram,

The host is a recent build. We have 4 others built sometime ago & no issues with them. The users are trained to disconnect by clicking the windows icon / power button / disconnect. On the other host after a min or so, you can see the session disappear from the host but this host keeps the session in a disconnected state until the user tries to log back in & then they automatically routed to the same host. I put the other 4 host drain feature on & I logged into my wvd to route directly into that host & I experienced the same as the users. I am not sure if its a GP issue, but I did try to find a setting to no avail. The other host did not have a GP where I thought to look.

0 Votes 0 ·

1 Answer

Prrudram-MSFT avatar image
0 Votes"
Prrudram-MSFT answered

Hello @Roundtree-1554,

Thanks for confirming that the problem has been solved. Adding the answer for the benefit of community here. Please 164751-image.png and upvote 164659-image.png

The behavior is controlled by GPOs (time limit for disconnected sessions) Reference : gpsearch.azurewebsites.net, you have confirmed that the gpo on the DC was the issue. The config was not set correctly for the new host.


(If the response was helpful please don't forget to upvote and/or accept as answer, thank you)


image.png (4.1 KiB)
image.png (2.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.