Windows Version
Microsoft Windows [Version 10.0.26220.8544]
WSL Version
2.7.7.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.18.26.1-1
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
Move the distro to a new location:
wsl --manage ubuntu-wp --move 'C:/wsl/ubuntu-wp'
Expected Behavior
The move operation succeeds and the distro is moved.
Actual Behavior
The move operation fails with the following message:
Access is denied.
Error code: Wsl/Service/MoveDistro/E_ACCESSDENIED
The distro's VHD is moved successfully, but the operation fails and the BasePath in Registry still points to the old location. Manually updating the BasePath makes the distro work from the new location.
Diagnostic Logs
No response
Windows Version
Microsoft Windows [Version 10.0.26220.8544]
WSL Version
2.7.7.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.18.26.1-1
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
Move the distro to a new location:
wsl --manage ubuntu-wp --move 'C:/wsl/ubuntu-wp'Expected Behavior
The move operation succeeds and the distro is moved.
Actual Behavior
The move operation fails with the following message:
The distro's VHD is moved successfully, but the operation fails and the
BasePathin Registry still points to the old location. Manually updating theBasePathmakes the distro work from the new location.Diagnostic Logs
No response