No keyboard input while the Get-Credential dialog is open #15150

Open
opened 2026-01-31 04:29:55 +00:00 by claunia · 0 comments
Owner

Originally created by @jaapvandervelde on GitHub (Sep 9, 2021).

I read issue #4448 and checked that the Touch Keyboard and Handwriting Panel Service is running correctly (restarts, etc.)

However I still have this issue: if I'm running a Terminal (PowerShell) and I start a second one with this command:

Start-Process -FilePath "powershell" -Credential $(Get-Credential -Message 'Domain admin password required.' -UserName <some valid username>) -ArgumentList '-NoExit', '-Command', "cd $(Get-Location)"

A new PowerShell window opens, but the behaviour of it is very odd. Keyboard input doesn't seem to arrive at it, but when I type something (for example whoami to check it worked), it does show up after I switch focus away from the new window. The same behaviour applies to the Terminal Windows I started it from. It now only shows entered input after switching focus away from it.

If I close either window, the other will start working normally again immediately. I do not have this issue when starting a separate PowerShell window from the Start menu, regardless of whether I start it as myself, as local admin or as the same other user.

Note that the user account I'm starting the new PowerShell as is a domain admin account, while the account running the original Terminal window is not. Not sure if it matters, I don't have a spare non-domain admin account on hand to try if the same problem occurs when using a non-admin account.

Originally created by @jaapvandervelde on GitHub (Sep 9, 2021). I read issue #4448 and checked that the `Touch Keyboard and Handwriting Panel Service` is running correctly (restarts, etc.) However I still have this issue: if I'm running a Terminal (PowerShell) and I start a second one with this command: ``` Start-Process -FilePath "powershell" -Credential $(Get-Credential -Message 'Domain admin password required.' -UserName <some valid username>) -ArgumentList '-NoExit', '-Command', "cd $(Get-Location)" ``` A new PowerShell window opens, but the behaviour of it is very odd. Keyboard input doesn't seem to arrive at it, but when I type something (for example `whoami` to check it worked), it does show up *after* I switch focus away from the new window. The same behaviour applies to the Terminal Windows I started it from. It now only shows entered input after switching focus away from it. If I close either window, the other will start working normally again immediately. I do not have this issue when starting a separate PowerShell window from the Start menu, regardless of whether I start it as myself, as local admin or as the same other user. Note that the user account I'm starting the new PowerShell as is a domain admin account, while the account running the original Terminal window is not. Not sure if it matters, I don't have a spare non-domain admin account on hand to try if the same problem occurs when using a non-admin account.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15150