I accidentally deregistered the legacy wsl1 install at %APPDATA%\local\lxss (back at the time when wsl was called bash on Ubuntu on Windows and there could be only 1 rootfs which had to be installed by bash.exe).
Fortunately for the important data, the file system was untouched.
So I installed a new wsl1 using the modern method in the hope I could recover the data by moving the lxss directory into the relevant %APPDATA%\LocalPackage. But unfortunately, %APPDATA%\local\lxss is using a different mapping nearer Interix where symlinks target are stored inside file data instead of extended attributes in newer wsl1 installs also supported by ntfs-3g.
So the best option looks like to convert the relevant extended attributes to their newer equivalents but I have no ideas on how to access them on Windows and the various methods listed under Linux returns nothing through ntfs-3g including on unrelated Windows system files which normally contains some of them.
Or as an alternative, what registry keys I should use in order to reregister the legacy install again?