Retrieve TPM Password
Open the .vmx file as text and copy the encryptedVM.guid value.
Now in powershell admin run
powershell
Install-Module -Name CredentialManager -Force
$cred = Get-StoredCredential -Target "{your_key}" -AsCredentialObject
$passwordBytes = [System.Text.Encoding]::Unicode.GetBytes($cred.Password)
$asciiString = [System.Text.Encoding]::ASCII.GetString($passwordBytes)
Write-Host "Password: $asciiString"