Context "Open in Terminal" disappeared #21309

Closed
opened 2026-01-31 07:39:28 +00:00 by claunia · 5 comments
Owner

Originally created by @Danipulok on GitHub (Feb 25, 2024).

Windows Terminal version

1.18.10301.0

Windows build number

10.0.19045.4046

Other Software

No response

Steps to reproduce

I don't know unfortunately. Maybe I changed something in the registry myself, but I don't know what was the trigger exactly. Maybe some updates or something else.

Expected Behavior

I get "Open in terminal" when clicking on folder background

image

Actual Behavior

I don't see "Open in terminal" when I click on folder background
image

But when I click on folder exactly and not on the background, I see the "Open in terminal".
image

But before it was accessible via background too.
Please tell me how to add it via registry and maybe add this option to the Windows Terminal settings?

Originally created by @Danipulok on GitHub (Feb 25, 2024). ### Windows Terminal version 1.18.10301.0 ### Windows build number 10.0.19045.4046 ### Other Software _No response_ ### Steps to reproduce I don't know unfortunately. Maybe I changed something in the registry myself, but I don't know what was the trigger exactly. Maybe some updates or something else. ### Expected Behavior I get "Open in terminal" when clicking on folder background ![image](https://github.com/microsoft/terminal/assets/45077699/caaae794-4a29-41b7-96e8-671a7b5b3237) ### Actual Behavior I don't see "Open in terminal" when I click on folder background ![image](https://github.com/microsoft/terminal/assets/45077699/3c612292-a1d0-4c62-9cec-431aa363cd38) But when I click on folder exactly and not on the background, I see the "Open in terminal". ![image](https://github.com/microsoft/terminal/assets/45077699/bb7ee002-ab5e-4182-850d-5d7568fb1f8c) But before it was accessible via background too. Please tell me how to add it via registry and maybe add this option to the Windows Terminal settings?
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:39:28 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 25, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Feb 25, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - ['Open in Terminal' not appearing in Windows Explorer context menu (#16236)](https://github.com/microsoft/terminal/issues/16236), similarity score: 0.80 - ["Open in Terminal" context menu item does not open terminal in that location (#13952)](https://github.com/microsoft/terminal/issues/13952), similarity score: 0.79 - ["Open Windows Terminal Here" in the context menu is missing (#9626)](https://github.com/microsoft/terminal/issues/9626), similarity score: 0.79 - ["open in terminal" context menu shows in "This PC" and does nothing (#12717)](https://github.com/microsoft/terminal/issues/12717), similarity score: 0.77 - ["Open with Windows Terminal" context menu option not available (#11638)](https://github.com/microsoft/terminal/issues/11638), similarity score: 0.77 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@Danipulok commented on GitHub (Feb 25, 2024):

Well, I added something via:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Open in terminal"
"Icon"="%LOCALAPPDATA%\\Microsoft\\WindowsApps\\wt.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="%LOCALAPPDATA%\\Microsoft\\WindowsApps\\wt.exe"

Here's the result:
image

But when I try to click on it, I get:
Explorer.exe - Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
image

PS: Icon from: https://raw.githubusercontent.com/microsoft/terminal/master/res/terminal.ico

@Danipulok commented on GitHub (Feb 25, 2024): Well, I added something via: ``` Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\wt] @="Open in terminal" "Icon"="%LOCALAPPDATA%\\Microsoft\\WindowsApps\\wt.ico" [HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command] @="%LOCALAPPDATA%\\Microsoft\\WindowsApps\\wt.exe" ``` Here's the result: ![image](https://github.com/microsoft/terminal/assets/45077699/95591741-c6f5-4fd4-83f0-7accd0b14118) But when I try to click on it, I get: `Explorer.exe - Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.` ![image](https://github.com/microsoft/terminal/assets/45077699/62a7b657-32ea-4b49-83b6-6f8cecb53c2c) PS: Icon from: https://raw.githubusercontent.com/microsoft/terminal/master/res/terminal.ico
Author
Owner

@Danipulok commented on GitHub (Feb 26, 2024):

Well, whatever I put in the

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="wt.exe"

It just doesn't open anything, even though it thinks about something.
But I don't get the previous error anywhere.

@Danipulok commented on GitHub (Feb 26, 2024): Well, whatever I put in the ``` [HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command] @="wt.exe" ``` It just doesn't open anything, even though it thinks about something. But I don't get the previous error anywhere.
Author
Owner

@carlos-zamora commented on GitHub (Feb 28, 2024):

Thanks for filing. We're going to mark this as a /dup of #14185

@carlos-zamora commented on GitHub (Feb 28, 2024): Thanks for filing. We're going to mark this as a /dup of #14185
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Feb 28, 2024):

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!

@microsoft-github-policy-service[bot] commented on GitHub (Feb 28, 2024): 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! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21309