Nov 19 2019 09:23 AM - edited Mar 13 2020 12:20 PM
Some Windows Virtual Desktop customers are recently affected by non-responsive Windows 10 Enterprise multi-session hosts. We have identified two issues, one related to a deadlock within FSLogix and one where a weekly BiSrv cleanup task exhausts system resources.
In both scenarios Windows Virtual Desktop diagnostics show VMs in a "NoHeartBeat" state.
We recommend to take the following actions:
This can be done by either:
schtasks /change /tn "\Microsoft\Windows\BrokerInfrastructure\BgTaskRegistrationMaintenanceTask" /disable
Update: a fix for the BiSrv issue is made available as part of the latest cumulative update. This will also re-enable the scheduled task if the workaround was applied.
Nov 19 2019 10:41 AM
Nov 20 2019 11:59 AM
@sbuntun The BgTaskRegistrationMaintenanceTask scheduled task runs every 7 days and cleans up cached data that a service called BiSrv has for each user profile that was deleted.
If you have "enough" user profiles deleted within those 7 days, the system might run out of worker threads resulting in the WVD agent to be impacted.
Anything that deletes user profiles after user logoff will accelerate this, including FSLogix which by default deletes the profile during logoff. I don't have data yet to provide more details on how many profiles would qualify as "enough".
Hope this information helps you understand which scenarios this issue would surface in.
Nov 30 2019 06:50 PM - edited Nov 30 2019 06:51 PM
This happened to my hosts. I upgraded FSLogix from FSLogix_Apps_2.9.7205.27375 to FSLogix_Apps_2.9.7237.48865 and it seemed to have fixed it. I am going to implement the next fix per this post. Thank goodness I found this discussion. My hosts are production and got real users.
Dec 01 2019 07:49 PM
Dec 05 2019 05:45 PM
Does this need to be fixed if your environment is very small, or not many profiles being deleted?
Dec 06 2019 09:28 AM
@Travis_78 Probably not. If you experience non-responsive (hanging) hosts, please consider implementing the workaround.
Jan 30 2020 09:48 AM
Is there any update when the fix will be in Windows Update for the BiSrv issue?
Jan 30 2020 03:41 PM