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 BrinkCategory: Customization
    13 Aug 2016 Last Updated: 10 Aug 2017 at 21:16

    Published by


    Brink's Avatar
    Administrator

    Posts: 24,410

    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:	230 
Size:	40.8 KB 
ID:	96068
    Name:  Open_PowerShell_window_here.jpg
Views: 1473
Size:  25.2 KB



    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:	194 
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:	136 
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:	219 
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
    Join Date : Aug 2015
    Posts : 130
    Windows 10 x64 Pro

    any help in removing the default "open powershell window here" item from the shift-right click context menu? #myfavoriteforums <3
      My ComputerSystem Spec
  2.    27 May 2017 #2
    Join Date : Oct 2013
    Posts : 24,410
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Hello klepp,

    Using step 14 after doing steps 1-10 will remove it for you.
      My ComputersSystem Spec
  3.    27 May 2017 #3
    Join Date : Aug 2015
    Posts : 130
    Windows 10 x64 Pro

    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.    27 May 2017 #4
    Join Date : Oct 2013
    Posts : 24,410
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Great news.
      My ComputersSystem Spec

 


Similar Threads
Tutorial Category
Apps & Features Open Elevated Windows PowerShell in Windows 10
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...
Tutorials
Customization Open command window here as administrator - Add in Windows 10
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...
Tutorials
Apps & Features Open Windows PowerShell in Windows 10
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...
Tutorials
Customization Open Bash window here as administrator - Add in Windows 10
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...
Tutorials
Active window changes unexpectedly when more than one window open.
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...
General Support
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 22:11.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums