A way to force close Azure Files virtual disk while locked?

Copper Contributor

We are using Azure File FSLogix on Share Pools.  We run into an issue from time to time when a host freezes and kicks users off.  When they try to log back on, AVD see's the host is frozen and "Unavailable" and tries to log them one one of the other hosts in the pool.  The issue is that their profile disks are still locked by the frozen host and the error logs looks like it cant gracefully dismount the drives.

arptgco_0-1675180788672.pngarptgco_1-1675180797443.pngarptgco_2-1675180855411.png


If i log onto the Azure Files I can force the connection closed which allows the users to log back on, but is there an automated way to fix this.  So when the drive is locked, it will force close it to allow users to log on?

0 Replies