Cmdkey.exe

creates, lists, and deletes stored user names and passwords or credentials.

Credentials

Get credential information from host

cmdkey /list

List cached credentials — MITRE: T1078 — Privileges: User