Windows Version
Microsoft Windows [Version 10.0.26200.8328]
WSL Version
2.7.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.114.1-1 (Used custom kernel: 7.0.5)
Distro Version
Ubuntu 26.04
Other Software
Scoop
Repro Steps
- Install custom kernel module using
Scoop (When installing via Scoop, it is downloaded to the following path: C:\Users\User\scoop\apps\<app_name>\<version>\<module vhdx>).
- Use WSL Settings to set the custom kernel module path to the downloaded location.
- Boot WSL distribution.
Expected Behavior
The WSL2 distribution should start and run correctly without any errors.
Actual Behavior
An error occurs (Access Denied):
Wsl/Service/CreateInstance/CreateVm/HCS/E_ACCESSDENIED
For further verification, if I copy the vhdx file to the C:\ root directory, update the path, and boot WSL, it boots correctly.
Upon further investigation, it only fails to work in the User directory (C:\Users\<Username>).
Diagnostic Logs
N/A
Windows Version
Microsoft Windows [Version 10.0.26200.8328]
WSL Version
2.7.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.114.1-1 (Used custom kernel: 7.0.5)
Distro Version
Ubuntu 26.04
Other Software
Scoop
Repro Steps
Scoop(When installing viaScoop, it is downloaded to the following path:C:\Users\User\scoop\apps\<app_name>\<version>\<module vhdx>).Expected Behavior
The WSL2 distribution should start and run correctly without any errors.
Actual Behavior
An error occurs (Access Denied):
Wsl/Service/CreateInstance/CreateVm/HCS/E_ACCESSDENIEDFor further verification, if I copy the vhdx file to the
C:\root directory, update the path, and boot WSL, it boots correctly.Upon further investigation, it only fails to work in the User directory (
C:\Users\<Username>).Diagnostic Logs
N/A