FSLogix causes Python 3.12 and WSL to incorrectly report files and folders as non-existent / missing metadata

Pascal Smit 5 Reputation points
2025-05-22T11:24:23.02+00:00

In an AVD environment for a customer we need both Python 3.12+ and WSL. QGIS, for example, depends on Python 3.12+. It seems that at least the 'GetFileInformationByName' syscall returns incorrect information on paths within an FSLogix managed profile, causing all files and folders in the user's profile to be seen as non-existent by Python, breaking the application. WSL does not seem to use this specific syscall, but related ones, but seems to have the same issue. The issue exists with 25.02 and 25.04. Does anyone have a workaround or solution?

https://github.com/python/cpython/issues/133965
https://github.com/microsoft/WSL/issues/12939

Windows for business | Windows Client for IT Pros | User experience | FSLogix
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-05-26T03:10:30.1+00:00

    Hello,

    Thank you for posting the question on Microsoft Windows forum!

    You can follow the below step to check.

    Check if you are using the latest version of FSLogix,

    currently the latest version of FSLogix is FSLogix 25.04, please update FSLogix to the latest version to check if the problem still occurs.

    https://learn.microsoft.com/en-us/fslogix/overview-release-notes#fslogix-2504

    Temporarily disable FSLogix to test if the problem reoccurs

    1. Disable FSLogix via Group Policy:
      • Open the Group Policy Editor (gpedit.msc).
      • Navigate to Computer Configuration > Administrative Templates > FSLogix.
      • Locate the relevant FSLogix settings and disable them.
    2. Modify Registry Settings:
      • Open Registry Editor (regedit).
      • Go to HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Profiles.
      • Look for the setting Enabled and set its value to 0 (default) to disable FSLogix.

    If the problem disappears after shutting down FSLogix, it is recommended that you contact the Python and WSL. QGIS technical teams, as it may be related to compatibility between the software, and if necessary a technical support ticket can be opened with the Microsoft FSLogix team at the same time to further investigate the issue together.

    Hope the above information is helpful!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.