Stored Credentials
Commands
Get-CimInstance -Namespace "Root\Microsoft\Windows\Security\*" -ClassName Win32_VaultCredentialGet-ItemProperty -Path "HKCU:\Software\Microsoft\Terminal Server Client\Default"Get-ItemProperty -Path "HKCU:\Software\Microsoft\Terminal Server Client\Servers\ServerName" -Name "UsernameHint"(netsh wlan show profiles) | ForEach-Object { $_; (netsh wlan show profile name="$($_.Trim())" key=clear) }LSA Secrets
Copy SAM and System Hive
Last updated