Linux – Windows Bash won’t open in 10 Anniversary Update

bashcommand linewindows 10windows-10-v1607windows-subsystem-for-linux

After I installed the Windows 10 Anniversary Update, I was eager to try the new Bash command prompt. But when launched from the start menu (Win+R -> bash.exe), the bash window closes automatically.

Best Answer

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!