Apps How To Windows 10

Add bash to the right click context menu in Windows 10

2016 proved to be a very productive year for Microsoft. They committed to merging Windows 10 and (a part of) Linux into one. They delivered on their promise with the Anniversary Update by allowing you to run bash – an essential for advanced Linux users.

Bash is an advanced console that allows for Linux users to carry out powerful commands. Earlier this year, Microsoft committed to making Windows 10 a more developer-friendly OS by integrating the important features of Linux into the OS without making users having to choose between the two.

As per feedback from the community, Microsoft has impressed even the most dedicated Linux users with features offered on Windows 10. These allow them to make Windows 10 their new OS of choice for programming and carrying out their Linux-related functions with ease.

NOTE: A prerequisite to doing the below is following this guide [MSDN

If you are a frequent user of the Bash command and wish to add it to your context menu (right-click on the desktop), you need only to follow the steps below by making a registry file. You can visit our comprehensive guide to find out how to make a registry file with ease, otherwise, you are free to use the ready-made registry file at the end of this article too.

Read More: How To Create Registry Files For Implementing Tweaks In Windows 10

To begin, right-click anywhere on your desktop and select “New“, from the box choose “Text Document“.

Making a text document.

When you have opened the new text document, enter the following body of text:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\WSL] @=”Bash” “Icon”=”%USERPROFILE%\\AppData\\Local\\lxss\\bash.ico”

[HKEY_CLASSES_ROOT\Directory\Background\shell\WSL\command] @=hex(2):22,00,25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,\ 53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,62,00,61,00,73,00,68,\ 00,2e,00,65,00,78,00,65,00,22,00,00,00

Entering the registry command.

When you have done so, navigate to the toolbar and choose “File” and choose “Save as“. Make sure under file type you choose “All Files“.

Saving your registry file.

Save the file as you wish, but make sure you save it as a .reg file. e.g. Bashforwindows10.reg.

When you have done so, double-click the registry file in the location you saved it in. You will get 2 dialog boxes, click on Yes, followed by OK.

When you right-click on an empty region of your desktop now, you will see a new addition to the context menu.

Bash added in the context menu.

If you wish to download a ready-made registry file, you can download it from the following link [Jumpshare].

Do keep in mind that Bash is an advanced program that is meant for advanced audiences. As such, we would only encourage our readers who know what they are doing with bash to add it or enable it as an option. Bash is capable of doing as much as evil as it is capable of doing good if in the wrong hands.

If you are among the frequent users of Linux on Windows 10, let us know your thoughts and feelings about whether you are satisfied with how Microsoft is handling Linux and Windows 10 and what features are you highly anticipating?