FSLogix does not unmount vhdx when you log out.

Rafał Studnicki 21 Reputation points
2021-03-18T11:02:20.247+00:00

The user has logged out of the WVD session host, but FSLogix still has the vhdx profile attached. How can I detach this vhdx disk from session host? When I use Detach VHD option in Disk Management, disk coming back.

79198-vhd.jpg

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,439 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rafał Studnicki 21 Reputation points
    2021-03-18T12:09:23.5+00:00

    Probably found the solution. Have to set kay CleanupInvalidSessions =1 in HKLM: software/fslogix/app

    https://www.reddit.com/r/sysadmin/comments/lh3bqv/found_a_solution_for_some_wvd_windows_virtual/