| Component | Path (Windows) | |--------------------|--------------------------------------------------------------------------------| | WSL2 virtual disk | %LOCALAPPDATA%\Packages\<DistroPackage>\LocalState\ext4.vhdx | | WSL1 files | %LOCALAPPDATA%\lxss\rootfs (older) or same package path for newer WSL1 distros | | User Linux files | \\wsl$\<DistroName>\home\<username> (network path, not real Windows location) |
If you are looking for the actual file that stores your entire Linux installation (usually for the purpose of moving it to another drive or reclaiming disk space), it is stored as a virtual hard disk file called ext4.vhdx . where is wsl files in windows