[PR #14873] [MERGED] Enable holding ctrl to open the Terminal elevated from File Explorer #30294

Open
opened 2026-01-31 09:39:54 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14873
Author: @jamespack
Created: 2/18/2023
Status: ✅ Merged
Merged: 4/4/2023
Merged by: @zadjii-msft

Base: main ← Head: shell_admin_ctrl_support_14810


📝 Commits (3)

  • 5df1dae Add support for holding control to Open Terminal Here as admin
  • fd63ff9 Passing elevate-shim.exe as part of the command line to create process creates a weird loop. If elevation is request instead pass as application name
  • 59aaff9 runformat

📊 Changes

3 files changed (+26 additions, -2 deletions)

View changed files

📝 src/cascadia/ShellExtension/OpenTerminalHere.cpp (+24 -2)
📝 src/cascadia/ShellExtension/OpenTerminalHere.h (+1 -0)
📝 src/cascadia/WinRTUtils/inc/WtExeUtils.h (+1 -0)

📄 Description

Summary of the Pull Request

This pull request adds support for holding the control key and clicking the Open Terminal Here context menu item to elevate the request.

References and Relevant Issues

14810

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

PR Checklist


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/14873 **Author:** [@jamespack](https://github.com/jamespack) **Created:** 2/18/2023 **Status:** ✅ Merged **Merged:** 4/4/2023 **Merged by:** [@zadjii-msft](https://github.com/zadjii-msft) **Base:** `main` ← **Head:** `shell_admin_ctrl_support_14810` --- ### 📝 Commits (3) - [`5df1dae`](https://github.com/microsoft/terminal/commit/5df1daec00e273160691ac462363ce069939058f) Add support for holding control to Open Terminal Here as admin - [`fd63ff9`](https://github.com/microsoft/terminal/commit/fd63ff9d903d777353e75694a85f6693e9e9ad2d) Passing elevate-shim.exe as part of the command line to create process creates a weird loop. If elevation is request instead pass as application name - [`59aaff9`](https://github.com/microsoft/terminal/commit/59aaff9bb68b99cb647501a7b3d055578489e1ab) runformat ### 📊 Changes **3 files changed** (+26 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/ShellExtension/OpenTerminalHere.cpp` (+24 -2) 📝 `src/cascadia/ShellExtension/OpenTerminalHere.h` (+1 -0) 📝 `src/cascadia/WinRTUtils/inc/WtExeUtils.h` (+1 -0) </details> ### 📄 Description ## Summary of the Pull Request This pull request adds support for holding the control key and clicking the Open Terminal Here context menu item to elevate the request. ## References and Relevant Issues 14810 ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed ## PR Checklist - [ x] Closes #14810 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:39:54 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30294