bash: /mnt/c/Windows/System32/notepad.exe: cannot execute binary file: Exec format error

According to the Windows Linux Subsystem docs, users should be able to execute Windows applications out of the box in WLS bash. However, when I follow the same steps on my machine, I get an error.

$ /mnt/c/Windows/System32/notepad.exe
bash: /mnt/c/Windows/System32/notepad.exe: cannot execute binary file: Exec format error

I'm using Microsoft Windows 10 Pro (10.0.14393 Build 14393) with Windows Linux Subsystem enabled, on a 13" mid-2013 MacBook Air.

Bash configuration, e.g. .bashrc, .bash_profile, and a few aliases in .bashrc.d:

1 Answer

This capability was not added until build 14951

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like