Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I decrypt user passwords that are encrypted and used in Windows 7 Sysprep unattend.xml file?

What Encryption method is used in this file?

share|improve this question
up vote 1 down vote accepted

It is a base64-encoded string. The way to make the original password visible is to unencode (decode) it. You can do this with a PowerShell script like this:

$encryptedpassword = "SQBKAHMALgBiAGwAbwBlAG0AMwBQAGEAcwBzAHcAbwByAGQA"
Write-Host [system.text.encoding]::Unicode.GetString([system.convert]::Frombase64string($encryptedpassword))

or use online base64 decoder like this:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.