The way to get this password is to ask the person who set the password.
Failing that you can look over his/her shoulder when (s)he enters the password, or set up a camera to look at the keyboard, use a hardware key logger etc.
You can (or should) not be able to recover the password from a file on the computer. No sensible setup stores passwords in plain text. Instead they run your input though a one way calculation and then store the result. Each time you enter a password the same will be done and the end results will be compared. If they are the same then whatever you typed as password must be the same.
The plain password itself is NOT stored.
The 'calculation' done to the password is intentionally made in a way where it is relative easy to do it one way, but extremely hard or even impossible to do it the other way around.
That leaves you with four options:
- Ask for the password.
- Steal the password. (e.g. find the post-it with the password written on it, keylogger, camera, ...)
- Guess the password. (Educated guess)
- Try every possible combination (via a program).
Ophcrack mentioned by Scott tries the last solution. If someone set a short password this may work. If it is along and complex password it may take thousands of years.
Ophcrack can reveal most passwords if they are not too complex...http://pcsupport.about.com/od/toolsofthetrade/ss/ophcracksbs.htm
– Moab – 2012-10-13T19:25:03.8401Why do you want to do this? Windows goes to great lengths to explicitly prevent this. It's not impossible, but there may be an easier solution to your root problem. – nhinkle – 2012-10-13T20:04:16.227