Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Resets the password for the default LXSS / WSL bash user
- $lxssUsername = (Get-ItemProperty HKCU:SOFTWAREMicrosoftWindowsCurrentVersionLxss).DefaultUsername
- lxrun /setdefaultuser root
- bash -c "passwd $lxssUsername"
- lxrun /setdefaultuser $lxssUsername
- lxrun /uninstall /full
- lxrun /install
Add Comment
Please, Sign In to add comment