Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4k3or3et opened this issue Jul 22, 2020 · 14 comments
Closed

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

4k3or3et opened this issue Jul 22, 2020 · 14 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@4k3or3et
Copy link

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.

@4k3or3et 4k3or3et added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jul 22, 2020
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 22, 2020
@DHowett
Copy link
Member

DHowett commented Jul 22, 2020

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
Copy link

ghost commented Jul 22, 2020

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 ghost closed this as completed Jul 22, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 22, 2020
@vitaminj
Copy link

vitaminj commented Jul 22, 2020

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
Copy link
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
Copy link

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
Copy link

patricknelson commented Mar 19, 2021

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
Copy link

jayagami commented Apr 6, 2021

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
Copy link

pundoo commented Aug 29, 2021

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

@vitaminj
Copy link

@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
Copy link

pundoo commented Aug 30, 2021

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

@ThisOneIsForPosting
Copy link

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

@itsmeshibintmz
Copy link

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
Copy link

musm commented Jan 30, 2022

@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
Copy link

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

10 participants