Warning: Undefined variable $file in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php on line 14 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/rest-api/class-wp-rest-server.php on line 1637 {"id":1038,"date":"2021-02-01T20:13:15","date_gmt":"2021-02-01T19:13:15","guid":{"rendered":"https:\/\/www.tunecom.be\/stg_ba12f\/?p=1038"},"modified":"2021-02-01T20:13:16","modified_gmt":"2021-02-01T19:13:16","slug":"how-to-retrieve-lingering-fslogix-profiles-on-windows-virtual-desktop-mounted-from-an-azure-file-share","status":"publish","type":"post","link":"https:\/\/www.tunecom.be\/stg_ba12f\/?p=1038","title":{"rendered":"How to retrieve lingering FSLogix profiles on Windows Virtual Desktop, mounted from an Azure File share"},"content":{"rendered":"\n

In the last couple of months, we’ve seen the following strange behavior coming from an FSLogix profile, mounted on a Windows Virtual Desktop host with an Azure File share as an underlying storage provider.<\/p>\n\n\n\n

The issue<\/h4>\n\n\n\n

In some very particular cases it happens that when a user logs off its session from a WVD (Windows Virtual Desktop) host, the corresponding FSLogix profile is not dismounted from the host. <\/p>\n\n\n\n

When the user tries to login again to the environment, this results in the following error.<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

Status : 0x0000000B : Cannot open virtual disk
Reason : 0x00000000 : The container is attached
Error code : 0x00000020 : The process cannot access the file because it is being used by another process<\/p>\n\n\n\n

Normal behavior<\/h4>\n\n\n\n

During normal behavior of the login and log off process to Windows Virtual Desktop in combination with an FSLogix profile, the profile is mounted from the underlying storage provider and correctly dismounted upon successful log off of the Windows Virtual Desktop host.<\/p>\n\n\n\n

Root cause<\/h4>\n\n\n\n

The root cause of why the profile container is not dismounted from the host is hard to find, in most cases, an update of the FSLogix <\/a>components is required, please make sure to read through the latest FSLogix<\/a> release notes.<\/p>\n\n\n\n

Looking for the lingering VHD(X) container<\/h4>\n\n\n\n

During the days that we had our profile shares\/data hosted on a traditional IaaS fileserver, we would just open up an MMC console and look for any open files or sessions. <\/p>\n\n\n\n

Since our profiles are now being hosted on an Azure File share, this process is slightly different. I’ve written a small PowerShell script for you to use and\/or alter to your needs.<\/p>\n\n\n\n

What it does or can do<\/h5>\n\n\n\n

The input variables are pretty straightforward : <\/p>\n\n\n\n