![]() ![]() ![]() I had a few false starts that, if they worked, would have been an easy way to get back up and running quickly. ![]() Make a copy of this VHDX file in case it gets corrupted while you're repairing! Getting your data back! Traversing your profile to the same path listed above should lead you to your VHDX file. You can find your old user profile under c:\windows.old\users. Or, more appriately, and thankfully, just moved. Unfortunately, Microsoft seems to consider the Packages folder something only for applications, so this data is removed. When your system is reset, your files are preserved while applications are removed. Windows knows where all of your WSL data is from: HKCU\Software\Microsoft\Windows\CurrentVersion\Lxss\. Don't bother trying to mount this file with Disk Manager or using diskpart, it's ext4 which Windows won't natively read (outside of WSL). Once in that folder, open LocalState and you'll find your VHDX file. For my Ubuntu install, the folder was CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc. Where's my WSL Data?ĭata stored in WSL v2 distros are kept in a VHDX file and is located in %LocalAppData%\Packages\ under a subfolder specific to the distribution. The process promises to preserve all of your files, but should probably be asterisked to note that data stored in WSL won't stick around (although technically is not deleted). After a recent complete failure of my Windows 11 insider build, I was forced to do a Windows reset. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |