Bash on Windows 10 Anniversary Update

Posted: August 7, 2016 in General, Uncategorized

I just got the Anniversary Update for Windows 10, and it took me a while to track down all the steps to actually enable this.. I had to hit several web pages, and some guesses, so I wanted to put a slightly more concise set of instructions on how to do this.

  1. Go into Add/Remove Programs in the Control Panel
    1. This can be opened with a quick command at the command line – appwiz.cpl
      appwiz
  2. Select Turn Windows features on or off
    TurnOnWindowsFeatures
  3. Select Windows Subsystem for Linux (beta)
    EnableLinux
  4. The installation will take a little time, and will probably require a reboot.
  5. After the reboot, log back in and click the Start button
  6. Type in “developer” and select the For developer settings
    DeveloperSettings
  7. Select Developer mode
    SelectDeveloperMode
  8. You can optionally select some other settings and click Apply in each section
    1. [Windows Explorer] Change policy to show Run as different user in Start
    2. [Remote Desktop] Change settings to allow remote connections to this computer
  9. Open up the command prompt, right click on the top left icon and select Properties
    CMDProperties
  10. Remove the checkbox for Use legacy console (requires relaunch)
    DisableLegacyMode
  11. Click OK, close the command prompt and relaunch it.
  12. Type in bash and hit enter.  You will be prompted to install the subsystem (it will take a few minutes.  I’ll update the screenshot for this later.

At this point, you’ll have bash available, and the system drive will be mounted under /mnt/c with full access to your filesystem.

David F.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s