Windows 10: Open PowerShell window here context menu - Add in Windows 10  

    Open PowerShell window here context menu - Add in Windows 10

    Open PowerShell window here context menu - Add in Windows 10

    How to Add 'Open PowerShell window here' context menu in Windows 10
    Published by Category: Customization
    13 Jul 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 22,282

    Show Printable Version 


    How to Add 'Open PowerShell window here' context menu in Windows 10

    information   Information
    Windows 10 comes with Windows PowerShell 5.0 included.

    Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

    For more details about Windows PowerShell, see:


    This tutorial will show you how to add or remove the Open PowerShell window here context menu for all users in Windows 10.

    Note   Note
    While you must be signed in as an administrator to add or remove the "Open PowerShell window here" context menu, all users can use the context menu.

    The "Open PowerShell window here" context menu will be available when you right click or shift + right click on a folder or drive, and when you right click or shift + right click on the background of a folder, drive, library, or desktop.

    Starting with Windows 10 build 14986, the Open command window here context menu item has been removed by default and replaced with the Open PowerShell window here context menu item.


    EXAMPLE: "Open PowerShell window here" context menu
    Click image for larger version. 

Name:	Open_PowerShell_window_here_context_menu.png 
Views:	180 
Size:	40.8 KB 
ID:	96068
    Click image for larger version. 

Name:	PowerShell.png 
Views:	122 
Size:	16.1 KB 
ID:	113156



    Here's How:

    1. Press the Win+R keys to open Run, type regedit, and press Enter to open Registry Editor.

    2. In Registry Editor, navigate to the location below. (see screenshot below)

    HKEY_CLASSES_ROOT\Directory\shell\Powershell

    Click image for larger version. 

Name:	Regedit-1.png 
Views:	153 
Size:	94.7 KB 
ID:	113162

    3. Change the owner of the Powershell registry key in the left pane to be the Administrators group. (see screenshot below step 2)

    4. Set permissions of the Powershell registry key in the left pane to "Allow" the Administrators group "Full control". (see screenshot below step 2)

    5. In Registry Editor, navigate to the location below. (see screenshot below)

    HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell

    Click image for larger version. 

Name:	Regedit-2.png 
Views:	100 
Size:	88.9 KB 
ID:	113163

    6. Change the owner of the Powershell registry key in the left pane to be the Administrators group. (see screenshot below step 5)

    7. Set permissions of the Powershell registry key in the left pane to "Allow" the Administrators group "Full control". (see screenshot below step 6)

    8. In Registry Editor, navigate to the location below. (see screenshot below)

    HKEY_CLASSES_ROOT\Drive\shell\Powershell

    Click image for larger version. 

Name:	Regedit_3.png 
Views:	157 
Size:	108.6 KB 
ID:	113164

    9. Change the owner of the Powershell registry key in the left pane to be the Administrators group. (see screenshot below step 8)

    10. Set permissions of the Powershell registry key in the left pane to "Allow" the Administrators group "Full control". (see screenshot below step 9)

    11. Do step 12 (add-right click), step 13 (add-Shift+right click) , or step 14 (remove) below for what you would like to do.


     12. To Add Right Click "Open PowerShell window here" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 15 below.

    Add_Open_PowerShell_window_here_context_menu.reg

    download


     13. To Add Shift + Right Click "Open PowerShell window here" Context Menu

    NOTE: This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 15 below.

    Add_Shift+Open_PowerShell_window_here_context_menu.reg

    download


     14. To Remove "Open PowerShell window here" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 15 below.

    Remove_Open_PowerShell_window_here_context_menu.reg

    download

    15. Save the .reg file to your desktop.

    16. Double click/tap on the downloaded .reg file to merge it.

    17. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

    18. You can now delete the downloaded .reg file if you like.



    That's it,
    Shawn


  1.    27 May 2017 #1

    any help in removing the default "open powershell window here" item from the shift-right click context menu? #myfavoriteforums <3
      My ComputerSystem Spec


  2. Posts : 22,282
    64-bit Windows 10 Pro build 16241
    Thread Starter
       27 May 2017 #2

    Hello klepp,

    Using step 14 after doing steps 1-10 will remove it for you.
      My ComputersSystem Spec

  3.    27 May 2017 #3

    ok, i just went straight to the reg file for removal :P will give the other steps a rip

    ty!

    edit: that did it. thanks a ton s'what i get for being hasty!
      My ComputerSystem Spec


  4. Posts : 22,282
    64-bit Windows 10 Pro build 16241
    Thread Starter
       27 May 2017 #4

    Great news.
      My ComputersSystem Spec


 

Related Threads
How to Add 'Open command window here as administrator' context menu in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on...
Apps & Features Open Windows PowerShell in Windows 10 in Tutorials
How to Open Windows PowerShell in Windows 10 Windows 10 comes with Windows PowerShell 5.0 included. Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET...
How to Open Elevated Windows PowerShell in Windows 10 Windows 10 comes with Windows PowerShell 5.0 included. Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on...
How to Add 'Open Bash window here as administrator' context menu in Windows 10 Microsoft first made investments that improve cmd, PowerShell, and many other command-line tools and developer scenarios. Second Microsoft decided to grow their...
Whenever I have more than one window open the active window seems to change unexpectedly without me even clicking in the window to activate it. For example I'll have one half of my screen streaming a Netflix video and the other half will be another...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:49.
Find Us