HKEY
HKEY
It is a database in Windows that stores user account information, including usernames, password
hashes, and security settings. The SAM database is located at:
C:\Windows\System32\config\SAM
Since it contains sensitive security data, it is locked while Windows is running. Only the Local
Security Authority (LSA) service can access it directly.
Get-LocalUser (PowerShell)