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…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...