Windows 10: Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items

Discus and support Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items in Windows 10 News to solve the problem; Windows Terminal can let you open multiple Command Prompt, Windows PowerShell, etc., tabs in one window, and you can open it from the right-click... Discussion in 'Windows 10 News' started by WinClub, May 27, 2021.

  1. WinClub New Member

    Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items


    Windows Terminal can let you open multiple Command Prompt, Windows PowerShell, etc., tabs in one window, and you can open it from the right-click context menu. However, as the default option opens the default startup profile, you can add an expandable menu to open any profile according to your requirements.

    Add Open Windows Terminal in Default, Command Prompt, PowerShell profile context menu items


    Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items add-expandable-windows-terminal-context-menu.jpg

    Let’s assume that your default startup profile is set as Command Prompt, but you want to open Windows PowerShell. At such a moment, you can use the context menu option to open Windows PowerShell in Windows Terminal app without administrator privilege. It is possible to get it done using the Registry Editor. Therefore, it is recommended to create a System Restore point before heading to the steps.

    Add expandable Windows Terminal in context menu to open any profile


    To add expandable Windows Terminal in context menu, follow these steps:

    1. Open Notepad on your PC.
    2. Paste the following text.
    3. Click on File > Save As.
    4. Choose a location, enter a name with .reg extension, select All Files from Save as type list.
    5. Click the Save button.
    6. Double-click on the .reg file and confirm the addition.
    7. Right-click on your Desktop to find the options.

    To learn more about these aforementioned steps, continue reading.

    At first, open the Notepad on your computer and paste the following text:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\shell\OpenWTHere] "MUIVerb"="Open in Windows Terminal" "Extended"=- "SubCommands"=""

    [HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHere\shell\001flyout] "MUIVerb"="Open in Windows Terminal Default Profile"

    [HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHere\shell\001flyout\command] @="cmd.exe /c start wt.exe -d \"%1\""

    [HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHere\shell\002flyout] "MUIVerb"="Open in Windows Terminal Command Prompt" "Icon"="imageres.dll,-5323"

    [HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHere\shell\002flyout\command] @="cmd.exe /c start wt.exe -p \"Command Prompt\" -d \"%1\""

    [HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHere\shell\003flyout] "MUIVerb"="Open in Windows Terminal PowerShell" "Icon"="powershell.exe"

    [HKEY_CLASSES_ROOT\Directory\Shell\OpenWTHere\shell\003flyout\command] @="cmd.exe /c start wt.exe -p \"Windows PowerShell\" -d \"%1\""

    [HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere] "MUIVerb"="Open in Windows Terminal" "Extended"=- "SubCommands"=""

    [HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHere\shell\001flyout] "MUIVerb"="Open in Windows Terminal Default Profile"

    [HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHere\shell\001flyout\command] @="cmd.exe /c start wt.exe -d \"%V\""

    [HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHere\shell\002flyout] "MUIVerb"="Open in Windows Terminal Command Prompt" "Icon"="imageres.dll,-5323"

    [HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHere\shell\002flyout\command] @="cmd.exe /c start wt.exe -p \"Command Prompt\" -d \"%V\""

    [HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHere\shell\003flyout] "MUIVerb"="Open in Windows Terminal PowerShell" "Icon"="powershell.exe"

    [HKEY_CLASSES_ROOT\Directory\Background\Shell\OpenWTHere\shell\003flyout\command] @="cmd.exe /c start wt.exe -p \"Windows PowerShell\" -d \"%V\""

    Click on File > Save As option and choose a location where you want to save the file.

    Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items add-expandable-windows-terminal-context-menu-1.png

    Enter a name with .reg extension (for example, TermExpMenu.reg), select All Files from the Save as type drop-down list, and click the Save button.

    Following that, double-click on the .reg file that you created and click on the Yes button.

    If you wish, you could download our ready-to-use Registry file to add this context menu item.

    You can now right-click on your desktop to find out the expandable Windows Terminal option in the context menu to directly open any profile.

    However, if you no longer need this context menu option and want to remove it, follow these steps.

    At first, follow this tutorial to open the Registry Editor on your PC and navigate to these paths one after one:

    HKEY_CLASSES_ROOT\Directory\shell\OpenWTHere

    HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere

    Right-click on the OpenWTHere key and choose the Delete option.

    Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items add-expandable-windows-terminal-context-menu-2.png

    Then, confirm the removal by clicking the OK button.

    After that, you may have to restart your computer or sign out and re-sign into your user account to get the change.

    Next, we will see how to add Open Windows Terminal as an administrator in the Context Menu.

    That’s all! Hope this guide helped you adding an expandable Windows Terminal option in the context menu to open any profile you want.

    Related reads:

    Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items add-expandable-windows-terminal-context-menu.jpg
    This article Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, May 27, 2021
    #1
  2. OldMike65 Win User

    Context menu now has "Powershell" instead of "Command Prompt"

    Read this tutorial and it shows you how, step by step Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items :)
    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10 - Windows 10 Customization Tutorials
     
    OldMike65, May 27, 2021
    #2
  3. H Notneb Win User
    Locked Powershell startup command in context menu

    Since updating to Windows Anniversary Edition, there is an inaccessible Powershell command in my startup context menu.

    There are two keys, one each for 'Directory' and 'Drive'.

    On both the program is listed as "Open Powershell window here",

    and the file command is: powershell.exe -noexit -command Set-Location '%V'



    What is this, and why is it here.

    I have tried to both disable, and to delete it. Both FAIL. Access is denied.



    I have even gone to the registry location and attempted to put a (-) before the default value string.

    This action should disable the item. I have also tried to delete the value string for the entire item.

    With both of these maneuvers I am told that I cannot edit value string.



    I have taken ownership of, and given all users full access to Powershell.exe, and tried all of these step again,

    AND IT STILL WILL NOT DISABLE OR DELETE!!!



    Has anyone else run into this?
     
    H Notneb, May 27, 2021
    #3
  4. cwtech Win User

    Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items

    command prompt will not open in safe mode with command prompt

    I am repairing a laptop for a friend and I need to access windows in safe mode and the owner has forgotten the password to the main user. I tried logging on with the administrator profile in safe mode but it is not showing up so I was going to use command prompt in safe mode with command prompt but command prompt will not open when I boot that option. Does anyone have any hints for me to figure this out?
     
    cwtech, May 27, 2021
    #4
Thema:

Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items

Loading...
  1. Add Open Windows Terminal in Command Prompt, PowerShell profile context menu items - Similar Threads - Add Open Terminal

  2. Open VBS file with admin command prompt context menu

    in Windows 10 Customization
    Open VBS file with admin command prompt context menu: @Brink VBS files have, by default, a context menu to Open with command prompt. I would like to add an additional option to Open with command prompt as admin. The command to open VBS files, standard privileges, is something like Code: cmd.exe...
  3. How to add Open Windows Terminal as administrator in the Context Menu

    in Windows 10 News
    How to add Open Windows Terminal as administrator in the Context Menu: Windows Terminal lets you open Command Prompt, Windows PowerShell, etc., in one window. If you want to add Open Windows Terminal as administrator option in the context menu, here is how you can do that. Although you can find the Open in Windows Terminal option in the context...
  4. Open Elevated Command Prompt via Context Menu ...

    in Windows 10 Support
    Open Elevated Command Prompt via Context Menu ...: ... as the post title. My search here only found a tutorial for a 'standard' command prompt. -thx 167608
  5. How to add PowerShell to Context Menu in Windows 10

    in Windows 10 News
    How to add PowerShell to Context Menu in Windows 10: [ATTACH]In Windows 10, the Context menu is the GUI (Graphical User Interface) menu which appears when you right-click on the mouse. This menu offers a […] This article How to add PowerShell to Context Menu in Windows 10 first appeared on TheWindowsClub.com. read more...
  6. Add or Remove Items in Send To context menu in Windows

    in Windows 10 Tutorials
    Add or Remove Items in Send To context menu in Windows: How to: Add or Remove Items in Send To context menu in Windows How to Add or Remove Items in Send To context menu in Windows 7, Windows 8, and Windows 10 You will see the Send to context menu when you right click on a file or folder in Windows. The Send to context...
  7. Open PowerShell window here context menu - Add in Windows 10

    in Windows 10 Tutorials
    Open PowerShell window here context menu - Add in Windows 10: How to: Open PowerShell window here context menu - Add in Windows 10 How to Add or Remove 'Open PowerShell window here' context menu in Windows 10 Windows 10 comes with Windows PowerShell 5.0 included. Windows PowerShell is a task-based command-line shell and...
  8. PowerShell - Add to Context Menu in Windows 10

    in Windows 10 Tutorials
    PowerShell - Add to Context Menu in Windows 10: How to: PowerShell - Add to Context Menu in Windows 10 How to Add PowerShell to Context Menu in Windows 10 [img] Information Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. This tutorial...
  9. Hidden items - Add to Context Menu in Windows 10

    in Windows 10 Tutorials
    Hidden items - Add to Context Menu in Windows 10: How to: Hidden items - Add to Context Menu in Windows 10 How to Add Hidden items to Context Menu in Windows 10 [img] Information Hidden files, folders, and drives do not show by default in Windows. Windows protected system files (ex: desktop.ini files) are hidden by...
  10. Context menu now has "Powershell" instead of "Command Prompt"

    in Windows 10 Support
    Context menu now has "Powershell" instead of "Command Prompt": So I updated to the CU over a week ago, and I noticed an odd change. The "Open command prompt here" option in the shift+right-click context menu has been replaced by "Open Windows Powershell here" instead. Powershell does not work with the apps I use (for example, an RPA...