I forgot the password for the Ubuntu bash on windows. I tried to reset it by following the instructions https://www.top-password.com/blog/forgot-linux-bash-password-in-windows-10/ but the windows cmd threw the following:
'ubuntu' is not recognized as an internal or external command, operable program or batch file.
I tried with both, ubuntu and ubuntu1806/04. I also tried passwd root
but it says "you may not view or modify password".
I have tried wsl -u root
but it says wsl is not installed. If I try to install it, I need to input the password.
I also tried to uninstall the ubuntu bash, when I click uninstall on the task bar, it redirects me to the control panel option for uninstalling programs, but it is not shown on the list to uninstall it. How can I reset the password?