Breaking old windows pass words

I was giving a few old computers and i need to break the passwords for them. Two of them are win xp and one is win vista. Is there some software i can use or an exploit i can use to break them? I was given this and now own them i just need to break the passes so i can get the product keys so i can reinstall windows and have a clean start with them.

http://moinkhans.blogspot.com/2013/10/removing-windows-os-passwords-with.html

Or better yet just recover the keys from the registry.

http://lifehacker.com/5584762/edit-the-windows-registry-from-a-linux-thumb-drive

http://teamtutorials.com/windows-tutorials/retrieving-xp-cd-key-from-the-registry

kk ty.