Bug Report - Powershell Get-Credential doesn't work #2684

Closed
opened 2026-01-30 23:02:11 +00:00 by claunia · 3 comments
Owner

Originally created by @kevinteynor on GitHub (Jul 10, 2019).

Environment

Windows build number: 10.0.18362.175
Windows Terminal: built from master af1a4dd068

Steps to reproduce

In a powershell window, execute the command Get-Credential

Expected behavior

The credential dialog should open and be interactive; I should be able to enter inputs and close the dialog.

Actual behavior

The credential dialog appears and can be dragged around, but no buttons or input fields on it are responsive. It also blocks the rest of the terminal, requiring me to kill and restart the entire terminal.

This happens even when launching terminal as admin.

Other GUI dialogs (Show-Command) work as expected, but I haven't tried with any other blocking dialogs.

Originally created by @kevinteynor on GitHub (Jul 10, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> ## Environment Windows build number: 10.0.18362.175 Windows Terminal: built from master af1a4dd068171c7cbbca42c69082fef3ba501efc ## Steps to reproduce <!-- A description of how to trigger this bug. --> In a powershell window, execute the command ```Get-Credential``` ## Expected behavior The credential dialog should open and be interactive; I should be able to enter inputs and close the dialog. ## Actual behavior The credential dialog appears and can be dragged around, but no buttons or input fields on it are responsive. It also blocks the rest of the terminal, requiring me to kill and restart the entire terminal. This happens even when launching terminal as admin. Other GUI dialogs (Show-Command) work as expected, but I haven't tried with any other blocking dialogs.
Author
Owner

@oising commented on GitHub (Jul 10, 2019):

powershell 5.x or pwsh (powershell core)?

@oising commented on GitHub (Jul 10, 2019): powershell 5.x or pwsh (powershell core)?
Author
Owner

@WSLUser commented on GitHub (Jul 12, 2019):

Not sure if this counts but using the Store release, it works in Windows Powershell. I have pwsh installed on Pengwin so this may be where things differ. After launching Pengwin from Terminal, I entered pwsh and executed the same command. Since it was launched in Pengwin, I don't get a dialog box, instead, you enter the credentials inside the Terminal. This works.

So if there's an issue, something changed between Store release and master af1a4dd

@WSLUser commented on GitHub (Jul 12, 2019): Not sure if this counts but using the Store release, it works in Windows Powershell. I have pwsh installed on Pengwin so this may be where things differ. After launching Pengwin from Terminal, I entered pwsh and executed the same command. Since it was launched in Pengwin, I don't get a dialog box, instead, you enter the credentials inside the Terminal. This works. So if there's an issue, something changed between Store release and master af1a4dd
Author
Owner

@ghost commented on GitHub (Jul 19, 2019):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Jul 19, 2019): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2684