Access Windows Subsystem for Linux files from Windows

less than 1 minute read

Windows Subsystem for Linux in Fall 2017 Creators Update places files for each WSL image (could be Ubuntu, Arch Linux, etc.) uniquely named under:

WSL Windows
~  %LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows*\LocalState\rootfs\home
/  %LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows*\LocalState\rootfs

Do not create/edit files from Windows in these directories as it will corrupt the WSL filesystem.

Microsoft also says don’t edit/write WSL files from Windows.

OBSOLETE Beta WSL

The obsolete beta Windows Subsystem for Linux filesystem was formerly accessible from Windows at:

WSL Windows
~  %LOCALAPPDATA%\lxss\home
/  %LOCALAPPDATA%\lxss\rootfs\

Leave a comment