WSL cannot read local profile with FSLogix
Windows Version
10.0.26100.3775
WSL Version
2.4.13.0
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
5.151674
Distro Version
24.04
Other Software
Linux cannot read metadata of files in a profile redirected by FSLogix, causing the enrollment of Ubuntu to fail. This may be related to the new 'GetFileInformationByName' functionality in Windows 11 24H2, Python 3.12+ has the same issue (https://github.com/python/cpython/issues/133965).
This also means that wsl incorrectly sees these files as non-existent.
Repro Steps
- Set up an AVD with FSlogix as profile management solution.
- Log in as user with FSlogix managed profile
- Install any linux distro
- Start linux distro with '-e /bin/bash' option
- When at '/mnt/c/Users/
': - ls -lAh
- output:
Expected Behavior
A certain amount of metadata is displayed:
Actual Behavior
See steps
Diagnostic Logs
No response
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
/emailed-logs
Diagnostic information
Found '/emailed-logs', adding tag 'emailed-logs'
FSLogix might have had a regression here. We investigated logs in another related issue and found that it wasn't due to changes in WSL and recommended filing an issue with FSLogix.
Linking the issue here incase it's the same report: https://github.com/microsoft/WSL/issues/12899
Closing since this isn't a WSL issue
Any update on this? Im facing the same issue
@Kosaln
The following is a workaround that works on my end:
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\frxdrvvt
- Backup key (optional)
- Modify value for SupportedFeatures and set it to B Hexadecimal
- Reboot the machine
@smitpascal This works. Thanks!
@smitpascal thank you that works, can you please explain how you came up with it and what this regkey does exactly