Administrator Powershell And CMD Support For Dropdown Menu #9335

Closed
opened 2026-01-31 01:51:59 +00:00 by claunia · 5 comments
Owner

Originally created by @gapedlemur on GitHub (Jun 30, 2020).

Description of the new feature/enhancement

Administrator Powershell And CMD Support For Dropdown Menu

Proposed technical implementation details (optional)

running commands that require admin permissions

Originally created by @gapedlemur on GitHub (Jun 30, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Administrator Powershell And CMD Support For Dropdown Menu <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). It would solve having to open a administrator window from the start menu, shortcuts, ... --> # Proposed technical implementation details (optional) running commands that require admin permissions <!-- A clear and concise description of what you want to happen. An update to the program that implements administrator CMD, and Powershell to the dropdown menu for easy access in case a command requires admin permissions -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:51:59 +00:00
Author
Owner

@marveloo commented on GitHub (Jul 1, 2020):

I think you should be able to make your own profile with something like:

"commandline": "runas /user:administrator powershell"

Or alternatively, open Windows terminal as an administrator and you are good to go.

@marveloo commented on GitHub (Jul 1, 2020): I think you should be able to make your own profile with something like: ``` "commandline": "runas /user:administrator powershell" ``` Or alternatively, open Windows terminal as an administrator and you are good to go.
Author
Owner

@ghost commented on GitHub (Jul 2, 2020):

But lets say you open the windows terminal in the current directory by typing wt -d . in the address bar . It opens the terminal in non-elevated mode and there is no option to enter elevated mode in the current directory that i know of. Is there a way to do that? If not, can we add this feature?

@ghost commented on GitHub (Jul 2, 2020): But lets say you open the windows terminal in the current directory by typing `wt -d .` in the address bar . It opens the terminal in non-elevated mode and there is no option to enter elevated mode in the current directory that i know of. Is there a way to do that? If not, can we add this feature?
Author
Owner

@marveloo commented on GitHub (Jul 2, 2020):

I agree, it would be great to have Windows Terminal integration in Windows Explorer's "File" menu in the same way as we have Windows Powershell now:

image

So here we need an option "File"->"Open Windows Terminal"->"Open Windows Terminal as administrator".

@marveloo commented on GitHub (Jul 2, 2020): I agree, it would be great to have Windows Terminal integration in Windows Explorer's "File" menu in the same way as we have Windows Powershell now: ![image](https://user-images.githubusercontent.com/36376767/86342436-4775b480-bc60-11ea-9836-b87fa3554b5e.png) So here we need an option "File"->"Open Windows Terminal"->"Open Windows Terminal as administrator".
Author
Owner

@DHowett commented on GitHub (Jul 3, 2020):

Thanks for the info! I'm going to fold this into /dup #5000

@DHowett commented on GitHub (Jul 3, 2020): Thanks for the info! I'm going to fold this into /dup #5000
Author
Owner

@ghost commented on GitHub (Jul 3, 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 commented on GitHub (Jul 3, 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9335