Windows Bash won't open in 10 Anniversary Update

For some reason it wasn't opening. But while I was writing this question I was able to find the answer so I decided to share it here if someone else had the same issue.

I decided to just start a shell prompt and type bash in it. The error message was about the "legacy mode enabled". To change it:

  • right click on the cmd promt window.
  • In option tab, uncheck the "Use legacy console"
  • Apply the changes and restart cmd.exe
  • type bash.

Installation will starts.

Enjoy!


Had the same issue as above, solution worked, but also need to have developer mode enabled, go to settings>update and security, go to developers, and check developer mode checkbox. May require a restart after windows downloads and installs the package. Then run cmd again and execute bash, as per steps above, bash.exe will download and install.