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 *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Clear HSTS Settings in CHrome

Open chrome://net-internals/#hsts enter the domain in the query field and click Query to confirm it has HSTS settings...

Ubuntu on Hyper-v

It boils town to installing linux-azure # as root or sudo apt-get update apt-get install linux-azure...