How to find the Windows Subsystem for Linux Home Directory for the Current User

Written by James McDonald

August 13, 2020

I’m currently use a Windows 10 Pro VMWare Virtual Machine on my Fedora 32 installed workstation but getting it’s getting recursive as I’ve installed Ubuntu in the VM. This is how to locate the home directory of the linux user

cd %LOCALAPPDATA%
:: C:\Users\rupert\AppData\Local

:: From there navigate down to the following path 
:: Note that the CanonicalGroupLimited.UbuntuonWindows_* path is probably unique
:: so could be different on your machine
cd Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\%username%

:: Full path example
C:\Users\rupert\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\rupert

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

How to Research a CPU Upgrade

How to Research a CPU Upgrade

Upgrade Time! Doing a lot of VMWare Workstation virtualization to create labs for self-study and training. Finding...