Not able to type when launching with runas #19372

Closed
opened 2026-01-31 06:41:25 +00:00 by claunia · 2 comments
Owner

Originally created by @bitsadmin on GitHub (Feb 11, 2023).

Windows Terminal version

1.16.10261.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

  1. Launch a regular elevated cmd.exe prompt (Start menu -> search for cmd.exe -> Run as administrator)
  2. Execute the following command: runas.exe /netonly /user:testtest wt.exe (username and password don't need to be valid)

Expected Behavior

When launching Windows Terminal using runas.exe from an elevated cmd.exe prompt I expect a usable Windows Terminal application.

Actual Behavior

Not possible

  • Enter text in the console
  • Press enter to go to a newline
  • Any shortcuts like Ctrl + Shift + 1 to launch a new terminal

Possible

  • Paste text in the console; when pasting multiple commands with newlines like [1], the commands are executed
  • Click on any buttons in the interface, which then work as expected
  • Only once using the mouse the Settings panel has been opened, shortcuts like Ctrl + Shift + [digit] or Ctrl + Alt + [digit] work sometimes (unclear under which conditions)

[1] Example of multiple commands which can be copy/pasted

Get-ChildItem
whoami.exe

Originally created by @bitsadmin on GitHub (Feb 11, 2023). ### Windows Terminal version 1.16.10261.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce 1. Launch a regular elevated cmd.exe prompt (Start menu -> search for `cmd.exe` -> **Run as administrator**) 2. Execute the following command: `runas.exe /netonly /user:testtest wt.exe` (username and password don't need to be valid) ### Expected Behavior When launching Windows Terminal using `runas.exe` from an elevated `cmd.exe` prompt I expect a usable Windows Terminal application. ### Actual Behavior **Not possible** * Enter text in the console * Press enter to go to a newline * Any shortcuts like `Ctrl` + `Shift` + `1` to launch a new terminal **Possible** * Paste text in the console; when pasting multiple commands with newlines like [1], the commands are executed * Click on any buttons in the interface, which then work as expected * Only once using the mouse the *Settings* panel has been opened, shortcuts like `Ctrl` + `Shift` + `[digit]` or `Ctrl` + `Alt` + `[digit]` work sometimes (unclear under which conditions) [1] Example of multiple commands which can be copy/pasted ``` Get-ChildItem whoami.exe ```
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:41:25 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 12, 2023):

This sounds like /dup #9971 to me, thanks!

@zadjii-msft commented on GitHub (Feb 12, 2023): This sounds like /dup #9971 to me, thanks!
Author
Owner

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

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 12, 2023): 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#19372