Skip to content

WSL - Issues Gen

Reset the password in Ubuntu / Linux Bash in Windows


  1. Edit this file (in notepad or notepad++):


  2. Find your normal user, for example:


    and simply remove the hash part (below part)


    you will see a different hash - I hope :) so it should look like:


  3. Save the file

    Start Bash again with root privileges and set your password

    sudo bash
    passwd <your-user-name>

  4. You can now set a new password without having to enter the previous one.