You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug
WSL stores information about distros in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\{your-distro-uuid}; however, wsl --import and wsl --export do not save/restore these keys. Can move-wsl preserve this information?
to quickly copy the Alpine distro, the new registry entry for the Alpine1 copy has only a minimal set of keys and its DefaultUid has been changed to 0 (root):
The original Alpine distro has more details including a KernelCommandLine and DefaultEnvironment as well as DefaultUid=dword:000003e8 (1000) (regular user):
Bug
WSL stores information about distros in the registry under
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\{your-distro-uuid}
; however,wsl --import
andwsl --export
do not save/restore these keys. Canmove-wsl
preserve this information?Example
After running the command line
to quickly copy the
Alpine
distro, the new registry entry for theAlpine1
copy has only a minimal set of keys and itsDefaultUid
has been changed to0
(root):The original
Alpine
distro has more details including aKernelCommandLine
andDefaultEnvironment
as well asDefaultUid=dword:000003e8 (1000)
(regular user):Issue #3974 from the microsoft/WSL repository has more details about how to workaround this issue in Powershell.
Script version:
Edit: How to find values
These commands provide values for
DefaultUid
,KernelCommandLine
, andDefaultEnvironment
:The text was updated successfully, but these errors were encountered: