Skip to content

How to remove "Open in Windows Terminal" from context menu? #7008

Closed

Description

@4k3or3et

Hi All

how to remove "Open in Windows Terminal" from context menu?

I was looking into Registry but could not find anything...

What is the implementation of that feature?

Thank you.

Activity

  1. added
    Issue-Feature
    on Jul 22, 2020
  2. ghost added
    Needs-Triage
    on Jul 22, 2020
  3. ghost added
    Needs-Tag-Fix
    on Jul 22, 2020
  4. DHowett commented on Jul 22, 2020

    @DHowett
    Member

    It can't be removed right now. We're tracking a workitem to only show it when SHIFT is held down.

    We're not going to add the ability to delete it entirely. Sorry.

    /dup #6113

  5. ghost closed this as completedon Jul 22, 2020
  6. ghost removed
    Needs-Triage
    on Jul 22, 2020
  7. ghost added
    Resolution-Duplicate
    on Jul 22, 2020
  8. ghost removed
    Needs-Tag-Fix
    on Jul 22, 2020
  9. vitaminj commented on Jul 22, 2020

    @vitaminj

    To remove this manually, open regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal
    Then restart Explorer.

    Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

  10. 4k3or3et commented on Jul 22, 2020

    @4k3or3et
    Author

    To remove this manually, open regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal

    Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

    Cool stuff. Thank you.

  11. ThenTech commented on Aug 18, 2020

    @ThenTech

    To remove this manually, open regedit, go to the folder [...]

    Nice, I already added my own shortcut on shift only, so this removed the duplicate.

  12. patricknelson commented on Mar 19, 2021

    @patricknelson

    I use this registry hack in combination with https://github.com/BroJenuel/Explorer-Context-Menu-Integration-for-windows-terminal to address issues with Windows Terminal not being able to properly retain the CWD when opening new tabs and panes (#8933).

  13. jayagami commented on Apr 6, 2021

    @jayagami

    I use this registry hack in combination with https://github.com/BroJenuel/Explorer-Context-Menu-Integration-for-windows-terminal to address issues with Windows Terminal not being able to properly retain the CWD when opening new tabs and panes (#8933).

    I think this is better than the official solution:

    https://github.com/lextm/windowsterminal-shell

    img

  14. pundoo commented on Aug 29, 2021

    @pundoo

    Stephen Spencer (@vitaminj) Unfortunately that doesn't work for 'Open in Windows Terminal Preview'. Any idea of the correct CLSID for that?

  15. vitaminj commented on Aug 30, 2021

    @vitaminj

    pundoo it seems to be {02DB545A-3E20-46DE-83A5-1329B1E88B6B} for the preview version (you can use any string for the value but WindowsTerminalPreview is probably a good idea so that you remember what it was)

  16. pundoo commented on Aug 30, 2021

    @pundoo

    Stephen Spencer (@vitaminj) Ahh.. its literally just there. I went over the source code atleast twice. How could I possibly overlook that.. smh

  17. ThisOneIsForPosting commented on Sep 9, 2021

    @ThisOneIsForPosting

    Stephen Spencer (@vitaminj)
    Thank you for finding that string! Now Windows Terminal Preview no longer shows up in my Windows 11 context menu 👍

  18. itsmeshibintmz commented on Dec 27, 2021

    @itsmeshibintmz

    To remove this manually, open Regedit, go to the folder \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked (you may have to create the Blocked key) then add a string value on the right with the name {9F156763-7844-4DC4-B2B1-901F640F5155} and the value WindowsTerminal Then restart Explorer.

    Bookmark the folder if you're likely to want to come back and re-enable the menu item when they add the option to only show it on holding shift

    Thank you.

  19. musm commented on Jan 30, 2022

    @musm

    pundoo it seems to be {02DB545A-3E20-46DE-83A5-1329B1E88B6B} for the preview version (you can use any string for the value but WindowsTerminalPreview is probably a good idea so that you remember what it was)

    Thank you. How about how to remove it from the extended context menu on Windows 11, after you click "Show More Options"?

  20. itsmeshibintmz commented on Jan 31, 2022

    @itsmeshibintmz

    pundoo it seems to be {02DB545A-3E20-46DE-83A5-1329B1E88B6B} for the preview version (you can use any string for the value but WindowsTerminalPreview is probably a good idea so that you remember what it was)

    Thank you. How about how to remove it from the extended context menu on Windows 11, after you click "Show More Options"?

    the same registry edit you can apply in Windows 11 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureResolution-Duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions