Wsl Distro Location

This deletes the distro registration from Windows and removes the old VHDX from your C: drive. Do not skip the backup step above, or your data will be lost.

# Find the block device df -h /

Create a folder on your target drive, e.g., D:\WSL\Ubuntu . wsl distro location

The actual directory name may vary depending on the distribution and its version. This deletes the distro registration from Windows and

(Note: Replace "Ubuntu" with the actual name of your distro from wsl --list .) wsl distro location