How to add the Open Powershell Here option to the context menu on Windows

To open and use Powershell faster and simpler when needed, you can add the 'open Powershell here' option to the context menu - the menu when you right-click. In the following article, Network Administrator will show you how to add the 'open Powershell here' option to the context menu on the Windows operating system.

Microsoft introduced Powershell on Windows XP and has been "welcomed" by many users. Windows Powershell is the most powerful 'automatic' Windows tool that Microsoft provides, and it's not as boring as the Command Prompt.

To open and use Powershell faster and easier when needed, you can add the 'open Powershell here' option to the context menu - when you right-click. In the following article, Network Administrator will show you how to add the 'open Powershell here' option to the context menu on the Windows operating system.

How to add the Open Powershell Here option to the context menu on Windows Picture 1How to add the Open Powershell Here option to the context menu on Windows Picture 1

Add the Open Powershell Here option to the context menu on Windows

To add the Open Powershell Here option to the context menu on Windows, follow the steps below:

1. To add the "open Powershell here" option to the context menu, you must edit the Windows Registry Editor.

To do this, first press the Windows + R key combination to open the Run command window, then enter "regedit" there and press Enter to open the Windows Registry Editor window.

How to add the Open Powershell Here option to the context menu on Windows Picture 2How to add the Open Powershell Here option to the context menu on Windows Picture 2

2. On the Registry Editor window, in the left pane, navigate to the key:

HKEY_CLASSES_ROOTDirectoryshell

3. Next right-click the "shell" key and select New => Key . Name this new key 'powershell' .

How to add the Open Powershell Here option to the context menu on Windows Picture 3How to add the Open Powershell Here option to the context menu on Windows Picture 3

4. Once done, right-click on the value Default in the right pane and select Modify.

How to add the Open Powershell Here option to the context menu on Windows Picture 4How to add the Open Powershell Here option to the context menu on Windows Picture 4

5. This time on the screen displays the Edit String window. Here you enter "Open PowerShell Here" into the Value Data box and then click OK to close the window. This will display the Open PowerShell Here option when you right-click to open the context menu.

How to add the Open Powershell Here option to the context menu on Windows Picture 5How to add the Open Powershell Here option to the context menu on Windows Picture 5

6. Next right-click on the sub key named Powershell , select New => Key to create a new sub key named " command".

How to add the Open Powershell Here option to the context menu on Windows Picture 6How to add the Open Powershell Here option to the context menu on Windows Picture 6

7. Right-click the value Default in the sub-key Command and select Modify.

How to add the Open Powershell Here option to the context menu on Windows Picture 7How to add the Open Powershell Here option to the context menu on Windows Picture 7

8. Now on the screen continue to display the Edit string window. Here you enter the path below into the Value Data box and then click OK to close the window:

C: Windowssystem32WindowsPowerShellv1.0powershell.exe -NoExit -Command Set-Location -LiteralPath '% L'

How to add the Open Powershell Here option to the context menu on Windows Picture 8How to add the Open Powershell Here option to the context menu on Windows Picture 8

Note:

If your Windows installation drive is not a C drive, then you will have to change the drive in the above path. If you are using the Powershell version higher than version 1.0, then you will also have to change the version number (v1.0).

To "confirm" the version of Powershell you are using, navigate to C: WindowsSystem32WindowsPowerShell .

Finally close the Windows Registry Editor window and complete the process.

From now on whenever you want to open the Powershell window on your favorite folder or on the Desktop, just right-click it and select the "Open Powershell here" option from the context menu.

How to add the Open Powershell Here option to the context menu on Windows Picture 9How to add the Open Powershell Here option to the context menu on Windows Picture 9

Work on to open the Powershell window at the location you requested, and you can do whatever you want with Powershell.

How to add the Open Powershell Here option to the context menu on Windows Picture 10How to add the Open Powershell Here option to the context menu on Windows Picture 10

Refer to some of the following articles:

  1. Adjust screen resolution on Windows 10/8/7
  1. 8 "tweak" Windows Group Policy any Admin should know
  1. Cannot create a new user account on Windows 10, 8.1 and 8, this is how to fix it

Good luck!

5 ★ | 1 Vote