Skip to content

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

@4k3or3et

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

added
Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.
on Jul 22, 2020
ghost added
Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
on Jul 22, 2020
ghost added
Needs-Tag-FixDoesn't match tag requirements
on Jul 22, 2020
DHowett

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

ghost

ghost commented on Jul 22, 2020

@ghost

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

ghost closed this as completedon Jul 22, 2020
ghost removed
Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
on Jul 22, 2020
ghost added
Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.
on Jul 22, 2020
ghost removed
Needs-Tag-FixDoesn't match tag requirements
on Jul 22, 2020
vitaminj

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

4k3or3et

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.

ThenTech

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.

patricknelson

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).

jayagami

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

pundoo

pundoo commented on Aug 29, 2021

@pundoo

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

vitaminj

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)

pundoo

pundoo commented on Aug 30, 2021

@pundoo

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

ThisOneIsForPosting

ThisOneIsForPosting commented on Sep 9, 2021

@ThisOneIsForPosting

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

itsmeshibintmz

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.

musm

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"?

itsmeshibintmz

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-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @vitaminj@DHowett@patricknelson@musm@ThenTech

        Issue actions

          How to remove "Open in Windows Terminal" from context menu? · Issue #7008 · microsoft/terminal