Not able to type when launching with runas #19369

Open
opened 2026-01-31 06:41:17 +00:00 by claunia · 0 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:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19369