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…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...

WizTree

Just downloaded WizTree (not a sponsor) from https://wiztreefree.com/ It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...