Display Credentials

Started by spl, July 17, 2025, 02:56:43 AM

Previous topic - Next topic

spl

One liner:
ShellExecute("rundll32.exe", "keymgr.dll,KRShowKeyMgr", "", @NORMAL, "")
Stan - formerly stanl [ex-Pundit]

td

Of course, you can also use "Control Userpasswords2."
 
Start->Run, then type "Control Userpasswords2" sans double quotes.
After that, click the "Advanced" tab and then click "Manage Passwords".
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

spl

Quote from: td on July 17, 2025, 07:07:23 AMOf course, you can also use "Control Userpasswords2."
 
Start->Run, then type "Control Userpasswords2" sans double quotes.
After that, click the "Advanced" tab and then click "Manage Passwords".

I'm spoiled with mine<grin>
Stan - formerly stanl [ex-Pundit]

td

Yup, it is a little less "clicky" than

ShellExecute("control", "Userpasswords2", "", @NORMAL, "")

My only very minor nit is that the KRShowKeyMgr dialog box appears unappealing on high-DPI monitors. Apparently, MSFT never bothered to update it.

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

spl

Quote from: td on July 17, 2025, 09:23:37 AMMy only very minor nit is that the KRShowKeyMgr dialog box appears unappealing on high-DPI monitors.

Unappealing or not. It still has buttons to store/retrieve creds.
Stan - formerly stanl [ex-Pundit]

td

I did mention that my comment was a minor point. You can also add and view credentials using the "Userpasswords2" UI. Since it is the "new and improved" implementation, it takes more mouse clicks to accomplish the task.

In any case, you can't view any passwords. For my use, I plan to cook a WIL dialog that emulates your dialog with the addition of the ability to view passwords.  Perhaps it will make it into the Tech Database at some point. I need to free myself from the clutches of the Medical Industrial Complex first.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

spl

Quote from: td on July 20, 2025, 07:32:39 AMPerhaps it will make it into the Tech Database at some point. I need to free myself from the clutches of the Medical Industrial Complex first.

Best luck with that. One could develop an entire board section just for credentials. My last pass with them was developing secure string xml used with WinSCP script for web content.
Stan - formerly stanl [ex-Pundit]

SMF spam blocked by CleanTalk