microsoft/Terminal

Run as administrator profiles do not run until terminal is ran as administrator.

Open

#13,675 opened on 2022年8月4日

GitHub で見る
 (6 comments) (2 reactions) (0 assignees)C++ (3,212 forks)batch import
Help WantedIssue-BugNeeds-Tag-FixPriority-2Product-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

Windows Terminal version

1.14.1963.0

Windows build number

10.0.22000.832

Other Software

No response

Steps to reproduce

  1. Log in to windows as a standard user without administrative permissions
  2. Create a new profile and configure it to run as administrator.
  3. Save the settings and try to run the profile

Expected Behavior

When the profile is ran under the standard non-admin account, the system should prompt the user for administrator credentials. Once the credentials are entered, the profile should run in a new windows with administrator permissions.

Actual Behavior

After entering credentials to the user account control prompt, the profile does not run. Instead it's execution (and appearance of its windows) is delayed until a new instance of terminal is ran as administrator.

This issue does not affect administrator accounts, it only occurs for accounts that are not in the administrators group.

コントリビューターガイド